avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Solving the timer problem with the avr-gcc


From: lsmod
Subject: [avr-gcc-list] Solving the timer problem with the avr-gcc
Date: Fri, 20 Nov 2015 06:54:52 -0700 (MST)

Hello gcc experts,

i am learning C using the avr-gcc.
There are so many microcontroller specific problems solved within the
avr-gcc.
But up to now i couldn't find any solution for the elegant use of timers?

About 2 years ago i discussed the problem here in this german forum:
https://www.mikrocontroller.net/topic/318025#3446454

The result was only this cumbersome macro code for only one microcontroller:
https://www.mikrocontroller.net/attachment/highlight/201074

Is there really no better solution outside?


My idea is to create a SQLite database to store for each AVR the
corresponding timer interrupts, modes, register and bits.
A relational database could be a way to get the timer information (and more)
mastered.
But i am not skilled enough if there is a way to get the information
automated back into the source code?

Or would the only way to use this like the fuse calculator?
http://www.engbedded.com/fusecalc/
Then the needed basic register setting statements could be produced in this
way.
It would be much more better than every programmer has to study and
interprete the datasheets everytime himself.

Is there a place to collect such informations in a database?




--
View this message in context: 
http://avr.2057.n7.nabble.com/Solving-the-timer-problem-with-the-avr-gcc-tp21922.html
Sent from the AVR - gcc mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]