5.9 Interrupts
This section describes the specifics of the interrupt handling as performed in Atmel® ATA6612C/ATA6613C. For a general
explanation of the AVR® interrupt handling, refer to Section 5.4.8 “Reset and Interrupt Handling” on page 36.
The interrupt vectors in Atmel ATA6612C and ATA6613C are generally the same, with the following differences:
● Each interrupt vector occupies two instruction words in ATA6613C, and one instruction word in Atmel ATA6612C.
● In Atmel ATA6612C and ATA6613C, the reset vector is affected by the BOOTRST fuse, and the Interrupt vector start
address is affected by the IVSEL bit in MCUCR.
5.9.1 Interrupt Vectors in Atmel ATA6612C
Table 5-26. Reset and Interrupt Vectors in Atmel ATA6612C
Vector No. Program Address(2) Source
Interrupt Definition
1
0x000(1)
RESET
External pin, power-on reset, brown-out reset and watchdog
system reset
2
0x001
INT0
External interrupt request 0
3
0x002
INT1
External interrupt request 1
4
0x003
PCINT0
Pin change interrupt request 0
5
0x004
PCINT1
Pin change interrupt request 1
6
0x005
PCINT2
Pin change interrupt request 2
7
0x006
WDT
Watchdog time-out interrupt
8
0x007
TIMER2 COMPA Timer/Counter2 compare match A
9
0x008
TIMER2 COMPB Timer/Counter2 compare match B
10
0x009
TIMER2 OVF
Timer/Counter2 overflow
11
0x00A
TIMER1 CAPT
Timer/Counter1 capture event
12
0x00B
TIMER1 COMPA Timer/Counter1 compare match A
13
0x00C
TIMER1 COMPB Timer/coutner1 compare match B
14
0x00D
TIMER1 OVF
Timer/Counter1 overflow
15
0x00E
TIMER0 COMPA Timer/Counter0 compare match A
16
0x00F
TIMER0 COMPB Timer/Counter0 compare match B
17
0x010
TIMER0 OVF
Timer/Counter0 overflow
18
0x011
SPI, STC
SPI serial transfer complete
19
0x012
USART, RX
USART Rx complete
20
0x013
USART, UDRE
USART, data register empty
21
0x014
USART, TX
USART, Tx complete
22
0x015
ADC
ADC conversion complete
23
0x016
EE READY
EEPROM ready
24
0x017
ANALOG COMP
Analog comparator
25
0x018
TWI
2-wire serial interface
26
Notes: 1.
2.
0x019
SPM READY
Store program memory ready
When the BOOTRST fuse is programmed, the device will jump to the boot loader address at reset (see
Section 5.23 “Boot Loader Support – Read-While-Write Self-Programming, Atmel ATA6612C and ATA6613C”
on page 240).
When the IVSEL bit in MCUCR is set, Interrupt vectors will be moved to the start of the boot flash section. The
address of each interrupt vector will then be the address in this table added to the start address of the boot
flash section.
70 ATA6612C/ATA6613C [DATASHEET]
9111L–AUTO–11/14