Datasheet
Vector No Program Address
(2)
Source Interrupts definition
8 0x0007 TIMER2_COMPA Timer/Counter2 Compare Match A
9 0x0008 TIMER2_COMPB Timer/Coutner2 Compare Match B
10 0x0009 TIMER2_OVF Timer/Counter2 Overflow
11 0x000A TIMER1_CAPT Timer/Counter1 Capture Event
12 0x000B TIMER1_COMPA Timer/Counter1 Compare Match A
13 0x000C TIMER1_COMPB Timer/Coutner1 Compare Match B
14 0x000D TIMER1_OVF Timer/Counter1 Overflow
15 0x000E TIMER0_COMPA Timer/Counter0 Compare Match A
16 0x000F TIMER0_COMPB Timer/Coutner0 Compare Match B
17 0x0010 TIMER0_OVF Timer/Counter0 Overflow
18 0x0011 SPI STC SPI Serial Transfer Complete
19 0x0012 USART_RX USART Rx Complete
20 0x0013 USART_UDRE USART Data Register Empty
21 0x0014 USART_TX USART Tx Complete
22 0x0015 ADC ADC Conversion Complete
23 0x0016 EE READY EEPROM Ready
24 0x0017 ANALOG COMP Analog Comparator
25 0x0018 TWI 2-wire Serial Interface (I
2
C)
26 0x0019 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 the address in this table added to the
start address of the Boot Flash Section.
The table below 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-3. Reset and Interrupt Vectors Placement
BOOTRST
(1)
IVSEL Reset Address Interrupt Vectors Start Address
1 0 0x000 0x001
1 1 0x000 Boot Reset Address + 0x0001
0 0 Boot Reset Address 0x001
0 1 Boot Reset Address Boot Reset Address + 0x0001
ATmega48PA/88PA/168PA
Interrupts
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40002011A-page 90