61
8272E–AVR–04/2013
ATmega164A/PA/324A/PA/644A/PA/1284/P
12. Interrupts
12.1
Overview
This section describes the specifics of the interrupt handling as performed in Atmel
ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P. For a general explanation of the
12.2
Interrupt Vectors in ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P
Table 12-1.
Reset and Interrupt Vectors.
Vector
no.
Program
Source
Interrupt definition
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
two-wire Serial Interface