Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for C-codes of Timer interrupt for AVR

Status
Not open for further replies.

somf0872

Member level 5
Joined
Oct 14, 2003
Messages
93
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
929
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--
 

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
716
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,470
Re: C-codes for AVR

If you like this book review :
https://smileymicros.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=7

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top