Continue to Site

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.

why the interrupt address of the TIMER0 OVF is 0x12 in the IAR but not 0x009

Status
Not open for further replies.

hero0765

Member level 2
Joined
Sep 15, 2008
Messages
52
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
China
Activity points
1,605
hi:
I am going to use the interrupt of TIMER0 overflow with Atmega8 . I use the IAR to complie my code. but I find I have to define TIMER0 overflow's interrupt address at the 0x12 or use the macro TIMER0_OVF_vect which is defined in the headfile <iom8.h>. I search the IC's datasheet , I find TIMER0 overflow's interrupt address is 0x009 which is not 0x12. I want to know the reason of the difference.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top