8.2 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 (nameIE) bit in the peripheral's Interrupt Control (peripheral.INTCTRL) register.

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 8-2. Interrupt Vector Mapping
Vector NumberProgram Address (word)Peripheral SourceDescription
00x00RESETRESET
10x02CRCSCAN_NMINMI - Non-Maskable Interrupt from CRC
20x04BOD_VLMVLM - Voltage Level Monitor
30x06PORTA_PORTPORTA - Port A
40x08PORTB_PORTPORTB - Port B
50x0APORTC_PORTPORTC - Port C
60x0CRTC_CNTRTC - Real-Time Counter
70x0ERTC_PITPIT - Periodic Interrupt Timer (in RTC peripheral)
8 0x10TCA0_LUNF/TCA0_OVFTCA0 - Timer Counter Type A, LUNF/OVF
90x12TCA0_HUNFTCA0, HUNF
100x14TCA0_LCMP0/TCA0_CMP0TCA0, LCMP0/CMP0
110x16TCA0_LCMP1/TCA0_CMP1TCA0, LCMP1/CMP1
120x18TCA0_CMP2/TCA0_LCMP2TCA0, LCMP2/CMP2
130x1ATCB0_INTTCB0 - Timer Counter Type B
140x1CTCB1_INTTCB1 - Timer Counter Type B
15 0x1ETCD0_OVFTCD0 - Timer Counter Type D, OVF
160x20TCD0_TRIGTCD0, TRIG
170x22AC0_ACAC0 – Analog Comparator
180x24AC1_ACAC1 – Analog Comparator
190x26AC2_ACAC2 – Analog Comparator
200x28ADC0_RESRDYADC0 – Analog-to-Digital Converter, RESRDY
210x2AADC0_WCOMPADC0, WCOMP
220x2CADC1_RESRDYADC1 – Analog-to-Digital Converter, RESRDY
230x2EADC1_WCOMPADC1, WCOMP
240x30TWI0_TWISTWI0 - Two-Wire Interface/I2C, TWIS
250x32TWI0_TWIMTWI0, TWIM
260x34SPI0_INTSPI0 - Serial Peripheral Interface
270x36USART0_RXCUSART0 - Universal Asynchronous Receiver-Transmitter, RXC
280x38USART0_DREUSART0, DRE
290x3AUSART0_TXCUSART0, TXC
300x3CNVMCTRL_EENVM - Nonvolatile Memory