hero0765
Member level 2
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.
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.