Datasheet

61
2490R–AVR–02/2013
ATmega64(L)
Interrupts This section describes the specifics of the interrupt handling as performed in ATmega64. For a
general explanation of the AVR interrupt handling, refer to “Reset and Interrupt Handling” on
page 15.
Interrupt Vectors
in ATmega64
Table 23. Reset and Interrupt Vectors
Vector
No.
Program
Address
(2)
Source Interrupt Definition
1 0x0000
(1)
RESET External Pin, Power-on Reset, Brown-out Reset,
Watchdog Reset, and JTAG AVR Reset
2 0x0002 INT0 External Interrupt Request 0
3 0x0004 INT1 External Interrupt Request 1
4 0x0006 INT2 External Interrupt Request 2
5 0x0008 INT3 External Interrupt Request 3
6 0x000A INT4 External Interrupt Request 4
7 0x000C INT5 External Interrupt Request 5
8 0x000E INT6 External Interrupt Request 6
9 0x0010 INT7 External Interrupt Request 7
10 0x0012 TIMER2 COMP Timer/Counter2 Compare Match
11 0x0014 TIMER2 OVF Timer/Counter2 Overflow
12 0x0016 TIMER1 CAPT Timer/Counter1 Capture Event
13 0x0018 TIMER1 COMPA Timer/Counter1 Compare Match A
14 0x001A TIMER1 COMPB Timer/Counter1 Compare Match B
15 0x001C TIMER1 OVF Timer/Counter1 Overflow
16 0x001E TIMER0 COMP Timer/Counter0 Compare Match
17 0x0020 TIMER0 OVF Timer/Counter0 Overflow
18 0x0022 SPI, STC SPI Serial Transfer Complete
19 0x0024 USART0, RX USART0, Rx Complete
20 0x0026 USART0, UDRE USART0 Data Register Empty
21 0x0028 USART0, TX USART0, Tx Complete
22 0x002A ADC ADC Conversion Complete
23 0x002C EE READY EEPROM Ready
24 0x002E ANALOG COMP Analog Comparator
25 0x0030
(3)
TIMER1 COMPC Timer/Countre1 Compare Match C
26 0x0032
(3)
TIMER3 CAPT Timer/Counter3 Capture Event
27 0x0034
(3)
TIMER3 COMPA Timer/Counter3 Compare Match A
28 0x0036
(3)
TIMER3 COMPB Timer/Counter3 Compare Match B
29 0x0038
(3)
TIMER3 COMPC Timer/Counter3 Compare Match C
30 0x003A
(3)
TIMER3 OVF Timer/Counter3 Overflow
31 0x003C
(3)
USART1, RX USART1, Rx Complete