Datasheet
15. INT - Interrupts
This section describes the specifics of the interrupt handling of the device. For a general explanation of
the AVR interrupt handling, refer to the description of Reset and Interrupt Handling.
In general:
• Each Interrupt Vector occupies two instruction words for
• The Reset Vector is affected by the BOOTRST fuse, and the Interrupt Vector start address is
affected by the IVSEL bit in MCUCR
Related Links
Reset and Interrupt Handling
15.1 Interrupt Vectors in ATmega328PB
Table 15-1. Reset and Interrupt Vectors in ATmega328PB
Vector No
Program Address Source Interrupts definition
1 0x0000 RESET External Pin, Power-on Reset, Brown-out Reset and Watchdog System
Reset
2 0x0002 INT0 External Interrupt Request 0
3 0x0004 INT1 External Interrupt Request 1
4 0x0006 PCINT0 Pin Change Interrupt Request 0
5 0x0008 PCINT1 Pin Change Interrupt Request 1
6 0x000A PCINT2 Pin Change Interrupt Request 2
7 0x000C WDT Watchdog Time-out Interrupt
8 0x000E TIMER2_COMPA Timer/Counter2 Compare Match A
9 0x0010 TIMER2_COMPB Timer/Coutner2 Compare Match B
10 0x0012 TIMER2_OVF Timer/Counter2 Overflow
11 0x0014 TIMER1_CAPT Timer/Counter1 Capture Event
12 0x0016 TIMER1_COMPA Timer/Counter1 Compare Match A
13 0x0018 TIMER1_COMPB Timer/Coutner1 Compare Match B
14 0x001A TIMER1_OVF Timer/Counter1 Overflow
15 0x001C TIMER0_COMPA Timer/Counter0 Compare Match A
16 0x001E TIMER0_COMPB Timer/Coutner0 Compare Match B
17 0x0020 TIMER0_OVF Timer/Counter0 Overflow
18 0x0022 SPI0 STC SPI1 Serial Transfer Complete
19 0x0024 USART0_RX USART0 Rx Complete
20 0x0026 USART0_UDRE USART0, Data Register Empty
21 0x0028 USART0_TX USART0, Tx Complete
ATmega328PB
INT - Interrupts
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 84