Datasheet
Vector No. Program
Address
(2)
Source Interrupt Definition
24 0x002E ANALOG COMP Analog Comparator
25 0x0030
(3)
TIMER1 COMPC Timer/Counter1 Compare Match C
26 0x0032
(3)
TIMER3 CAPT Timer/Counter3 Capture Even
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
32 0x003E
(3)
USART1, UDRE USART1 Data Register Empty
33 0x0040
(3)
USART1, TX USART1, Tx Complete
34 0x0042
(3)
TWI Two-wire Serial Interface
35 0x0044
(3)
SPM READY Store Program Memory Ready
Note:
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.
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 address in this table added to the start
address of the boot Flash section.
3. The Interrupts on address 0x0030 - 0x0044 do not exist in ATmega103 compatibility mode.
The next table 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 vectors are not used,
and regular program code can be placed at these locations. This is also the case if the Reset Vector is in
the Application section while the interrupt vectors are in the Boot section or vice versa.
Table 16-2 Reset and Interrupt Vectors Placement
BOOTRST
(1)
IVSEL Reset Address Interrupt Vectors Start Address
1 0 0x0000 0x0002
1 1 0x0000 Boot Reset Address + 0x0002
0 0 Boot Reset Address 0x0002
0 1 Boot Reset Address Boot Reset Address + 0x0002
Note: 1. The Boot Reset Address is shown in table Boot Size Configuration in the Boot Loader
Parameters section. For the BOOTRST Fuse “1” means unprogrammed while “0” means programmed.
The most typical and general program setup for the Reset and Interrupt Vector Addresses in ATmega64A
is:
Atmel ATmega64A [DATASHEET]
Atmel-8160E-ATmega64A_Datasheet_Complete-09/2015
78