[Top][All Lists]

[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
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:

The result was only this cumbersome macro code for only one microcontroller:

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)
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?
Then the needed basic register setting statements could be produced in this
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: 
Sent from the AVR - gcc mailing list archive at Nabble.com.

reply via email to

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