English
Language : 

ATMEGA406_14 Datasheet, PDF (51/263 Pages) ATMEL Corporation – High Performance, Low Power AVR
ATmega406
11. Interrupts
This section describes the specifics of the interrupt handling as performed in ATmega406. For a
general explanation of the AVR interrupt handling, refer to ”Reset and Interrupt Handling” on
page 14.
11.1 Interrupt Vectors in ATmega406
Table 11-1. Reset and Interrupt Vectors
Vector Program
No.
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
BPINT
Battery Protection Interrupt
3
0x0004
INT0
External Interrupt Request 0
4
0x0006
INT1
External Interrupt Request 1
5
0x0008
INT2
External Interrupt Request 2
6
0x000A
INT3
External Interrupt Request 3
7
0x000C
PCINT0
Pin Change Interrupt 0
8
0x000E
PCINT1
Pin Change Interrupt 1
9
0x0010
WDT
Watchdog Time-out Interrupt
10 0x0012
WAKE_UP
Wake-up Timer Overflow
11
0x0014
TIMER1 COMP
Timer 1 Compare Match
12 0x0016
TIMER1 OVF
Timer 1 Overflow
13 0x0018
TIMER0 COMPA
Timer 0 Compare Match A
14 0x001A
TIMER0 COMPB
Timer 0 Compare Match B
15 0x001C
TIMER0 OVF
Timer 0 Overflow
16 0x001E
TWI BUS C/D
Two-wire Bus Connect/Disconnect
17 0x0020
TWI
Two-wire Serial Interface
18 0x0022
VADC
Voltage ADC Conversion Complete
19 0x0024
CCADC CONV
CC-ADC Instantaneous Current Conversion
Complete
20 0x0026
CCADC REG CUR CC-ADC Regular Current
21 0x0028
CCADC ACC
CC-ADC Accumulate Current Conversion Complete
22 0x002A
EE READY
EEPROM Ready
23 0x002C
SPM READY
Store Program Memory Ready
Notes: 1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at
reset, see ”Boot Loader Support – Read-While-Write Self-Programming” on page 178.
2. 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.
Table 11-2 shows reset and Interrupt Vectors placement for the various combinations of
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
51
2548F–AVR–03/2013