Looking for C-codes of Timer interrupt for AVR

Status
Not open for further replies.

somf0872

Member level 5
Joined
Oct 14, 2003
Messages
92
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
917
C-codes for AVR

Hi everybody,

I want some C-codes (example) in order to get the concept of Timer, interrupt and working of counter for AVR ATmega.

I have STK300 and WINAVR C-compiler .................... I wrote some of the routines (but those are very basics) ............ I really need some professional stuff to learn.

Any clue??

--X--
 

Re: C-codes for AVR

If you like this book review :
**broken link removed**

go and get it from:


If you can afford it:
https://www.amazon.com/gp/product/1401812066/104-7782102-6466300?v=glance&n=283155&v=glance

buy it since has not been scanned yet. Only the CD contents is available:


The first one is for WinAVR compiler. The second one is for CodeVision AVR C Compiler.

For tight loops it's a must do not let the C compiler working on his own.
Using assembler in statement could be a wise choice.
Get use with the assembler codes and more familiar with AVR reading this book as well:
 

    somf0872

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…