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
10x01CRCSCAN_NMINMI - Non-Maskable Interrupt from CRC
20x02BOD_VLMVLM - Voltage Level Monitor
30x03PORTA_PORTPORTA - Port A
40x04PORTB_PORTPORTB - Port B(1)
50x05PORTC_PORTPORTC - Port C(1)
60x06RTC_CNTRTC - Real-Time Counter
70x07RTC_PITPIT - Periodic Interrupt Timer (in RTC peripheral)
8 0x08TCA0_LUNF/TCA0_OVFTCA0 - Timer Counter Type A, LUNF/OVF
90x09TCA0_HUNFTCA0, HUNF
100x0ATCA0_LCMP0/TCA0_CMP0TCA0, LCMP0/CMP0
110x0BTCA0_LCMP1/TCA0_CMP1TCA0, LCMP1/CMP1
120x0CTCA0_CMP2/TCA0_LCMP2TCA0, LCMP2/CMP2
130x0DTCB0_INTTCB0 - Timer Counter Type B
14 0x0ETCD0_OVFTCD0 - Timer Counter Type D, OVF
150x0FTCD0_TRIGTCD0, TRIG
160x10AC0_ACAC0 – Analog Comparator
170x11ADC0_RESRDYADC0 – Analog-to-Digital Converter, RESRDY
180x12ADC0_WCOMPADC0, WCOMP
19 0x13TWI0_TWISTWI0 - Two-Wire Interface/I2C, TWIS
200x14TWI0_TWIMTWI0, TWIM
210x15SPI0_INTSPI0 - Serial Peripheral Interface
220x16USART0_RXCUSART0 - Universal Asynchronous Receiver-Transmitter, RXC
230x17USART0_DREUSART0, DRE
240x18USART0_TXCUSART0, TXC
250x19NVMCTRL_EENVM - Nonvolatile Memory
Note:
  1. The availability of the port pins depends on the device pin count. PORTB is available for devices with 14 pins or more. PORTC is available for devices with 20 pins or more.