Datasheet

12. 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 .
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 on page 29
12.1. Interrupt Vectors in ATmega16M1/32M1/64M1
Table 12-1. Reset and Interrupt Vectors in ATmega16M1/32M1/64M1
Vector No
Program Address Source Interrupts definition
1 0x0000 RESET External Pin, Power-on Reset, Brown-out Reset, Watchdog System Reset,
and emulation AVR reset
2 0x0002 ANACOMP 0 Analog Comparator 0
3 0x0004 ANACOMP 1 Analog Comparator 1
4 0x0006 ANACOMP 2 Analog Comparator 2
5 0x0008 ANACOMP 3 Analog Comparator 3
6 0x000A PSC FAULT PSC fault
7 0x000C PSC EC PSC end of cycle
8 0x000E INT0 External Interrupt Request 0
9 0x0010 INT1 External Interrupt Request 1
10 0x0012 INT2 External Interrupt Request 2
11 0x0014 INT3 External Interrupt Request 3
12 0x0016 TIMER1 CAPT Timer/Counter1 capture event
13 0x0018 TIMER1 COMPA Timer/Counter1 compare match A
14 0x001A TIMER1 COMPB Timer/Counter1 compare match B
15 0x001C TIMER1 OVF Timer/Counter1 overflow
16 0x001E TIMER0 COMPA Timer/Counter0 compare match A
17 0x0020 TIMER0 COMPB Timer/Counter0 compare match B
18 0x0022 TIMER0 OVF Timer/Counter0 overflow
19 0x0024 CAN INT CAN MOB, burst, general errors
20 0x0026 CAN TOVF CAN timer overflow
21 0x0028 LIN TC LIN transfer complete
22 0x002A LIN ERR LIN error
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
76