Datasheet
61
8011Q–AVR–02/2013
ATmega164P/324P/644P
9. Interrupts
9.1 Overview
This section describes the specifics of the interrupt handling as performed in
ATmega164P/324P/644P. For a general explanation of the AVR interrupt handling, refer to
”Reset and Interrupt Handling” on page 15.
9.2 Interrupt Vectors in ATmega164P/324P/644P
Table 9-1. Reset and Interrupt Vectors
Vector
No.
Program
Address
(2)
Source Interrupt Definition
1 $0000
(1)
RESET
External Pin, Power-on Reset, Brown-out Reset,
Watchdog Reset, and JTAG AVR Reset
2 $0002 INT0 External Interrupt Request 0
3 $0004 INT1 External Interrupt Request 1
4 $0006 INT2 External Interrupt Request 2
5 $0008 PCINT0 Pin Change Interrupt Request 0
6 $000A PCINT1 Pin Change Interrupt Request 1
7 $000C PCINT2 Pin Change Interrupt Request 2
8 $000E PCINT3 Pin Change Interrupt Request 3
9 $0010 WDT Watchdog Time-out Interrupt
10 $0012 TIMER2_COMPA Timer/Counter2 Compare Match A
11 $0014 TIMER2_COMPB Timer/Counter2 Compare Match B
12 $0016 TIMER2_OVF Timer/Counter2 Overflow
13 $0018 TIMER1_CAPT Timer/Counter1 Capture Event
14 $001A TIMER1_COMPA Timer/Counter1 Compare Match A
15 $001C TIMER1_COMPB Timer/Counter1 Compare Match B
16 $001E TIMER1_OVF Timer/Counter1 Overflow
17 $0020 TIMER0_COMPA Timer/Counter0 Compare Match A
18 $0022 TIMER0_COMPB Timer/Counter0 Compare match B
19 $0024 TIMER0_OVF Timer/Counter0 Overflow
20 $0026 SPI_STC SPI Serial Transfer Complete
21 $0028 USART0_RX USART0 Rx Complete
22 $002A USART0_UDRE USART0 Data Register Empty
23 $002C USART0_TX USART0 Tx Complete
24 $002E ANALOG_COMP Analog Comparator
25 $0030 ADC ADC Conversion Complete
26 $0032 EE_READY EEPROM Ready
27 $0034 TWI 2-wire Serial Interface