Interrupt Vector Mapping

Each of the interrupt vectors is connected to one peripheral instance, as shown in the table below. A peripheral can have one or more interrupt sources, see the Interrupt section in the Functional description of the respective peripheral for more details on the available interrupt sources.

When the interrupt condition occurs, an Interrupt Flag (nameIF) is set in the Interrupt Flags register of the peripheral (peripheral.INTFLAGS).

An interrupt is enabled or disabled by writing to the corresponding Interrupt Enable bit (nameIE) in the peripheral's Interrupt Control register (peripheral.INTCTRL).

The naming of the registers may vary slightly in some peripherals.

An interrupt request is generated when the corresponding interrupt is enabled and the interrupt flag is set. The interrupt request remains active until the interrupt flag is cleared. See the peripheral's INTFLAGS register for details on how to clear interrupt flags.

Interrupts must be enabled globally for interrupt requests to be generated.

Table 1. Interrupt Vector Mapping
Vector Number Peripheral Source Definition
0 RESET RESET
1 CRCSCAN_NMI NMI - Non-Maskable Interrupt from CRC
2 BOD_VLM VLM - Voltage Level Monitor
3 PORTA_PORT PORTA - Port A
6 RTC_CNT RTC - Real-Time Counter
7 RTC_PIT PIT - Periodic Interrupt Timer (in RTC peripheral)
8 TCA0_LUNF/TCA0_OVF TCA0 - Timer Counter Type A, LUNF/OVF
9 TCA0_HUNF TCA0, HUNF
10 TCA0_LCMP0/TCA0_CMP0 TCA0, LCMP0/CMP0
11 TCA0_LCMP1/TCA0_CMP1 TCA0, LCMP1/CMP1
12 TCA0_CMP2/TCA0_LCMP2 TCA0, LCMP2/CMP2
13 TCB0_INT TCB0 - Timer Counter Type B
16 - -
17 AC0_AC AC0 – Analog Comparator
18 - -
19 - -
20 ADC0_RESRDY ADC0 – Analog-to-Digital Converter, RESRDY
21 ADC0_WCOMP ADC0, WCOMP
22 - -
23 - -
24 TWI0_TWIS TWI0 - Two-Wire Interface/I2C, TWIS
25 TWI0_TWIM TWI0, TWIM
26 SPI0_INT SPI0 - Serial Peripheral Interface
27 USART0_RXC USART0 - Universal Asynchronous Receiver-Transmitter, RXC
28 USART0_DRE USART0, DRE
29 USART0_TXC USART0, TXC
30 NVMCTRL_EE NVM - Nonvolatile Memory