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 1. Interrupt Vector Mapping

Vector
Number

Program
Address
(word)

Peripheral
Source
(name)

Description
0 0x00 RESET  
1 0x01 CRCSCAN_NMI Non-Maskable Interrupt available for CRCSCAN
2 0x02 BOD_VLM Voltage Level Monitor interrupt
3 0x03 PORTA_PORT Port A interrupt
4 0x04 PORTB_PORT Port B interrupt(1)
5 0x05 PORTC_PORT Port C interrupt(1)
6 0x06 RTC_CNT Real-Time Counter interrupt
7 0x07 RTC_PIT Periodic Interrupt Timer interrupt (in RTC peripheral)
8 0x08

TCA0_OVF
TCA0_LUNF

Normal: Timer Counter Type A Overflow interrupt.
Split: Timer Counter Type A Low Underflow interrupt.

9 0x09


TCA0_HUNF

Normal: Unused.
Split: Timer/Counter Type A High Underflow.

10 0x0A

TCA0_CMP0
TCA0_LCMP0

Normal: Timer/Counter Type A Compare Channel 0 interrupt.
Split: Timer/Counter Type A Low byte Compare Channel 0 interrupt.

11 0x0B

TCA0_CMP1
TCA0_LCMP1

Normal: Timer/Counter Type A Compare Channel 1 interrupt.
Split: Timer/Counter Type A Low byte Compare Channel 1 interrupt.

12 0x0C

TCA0_CMP2
TCA0_LCMP2

Normal: Timer/Counter Type A Compare Channel 2 interrupt.
Split: Timer/Counter Type A Low byte Compare Channel 2 interrupt.

13 0x0D TCB0_INT Timer Counter Type B Capture interrupt
17 0x10 AC0_AC Analog Comparator interrupt
20 0x11 ADC0_RESRDY Analog-to-Digital Converter Result Ready interrupt
21 0x12 ADC0_WCOMP Analog-to-Digital Converter Window Compare interrupt
24 0x13 TWI0_TWIS Two-Wire Interface/I2C Client interrupt
25 0x14 TWI0_TWIM Two-Wire Interface/I2C Host interrupt
26 0x15 SPI0_INT Serial Peripheral Interface interrupt
27 0x16 USART0_RXC Universal Synchronous and Asynchronous Receiver and Transmitter Receive Complete interrupt
28 0x17 USART0_DRE Universal Synchronous and Asynchronous Receiver and Transmitter Data Ready interrupt
29 0x18 USART0_TXC Universal Synchronous and Asynchronous Receiver and Transmitter Transmit Complete interrupt
30 0x19 NVMCTRL_EE Nonvolatile Memory EEPROM Ready interrupt
Note:
  1. 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.