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. For more details on the available interrupt sources, see the Interrupt section in the Functional Description of the respective peripheral.

An interrupt flag is set in the peripheral’s Interrupt Flags (peripheral.INTFLAGS) register when the interrupt condition occurs, even if the interrupt is not enabled.

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

An interrupt request is generated when the corresponding interrupt is enabled, and the interrupt flag is set. Interrupts must be enabled globally for an interrupt request to be generated. 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.

Table 1. Interrupt Vector Mapping
Vector Number Program Address (word) Peripheral Source (name) Description 14-Pin 20-Pin
0 0x00 RESET   X X
1 0x02 NMI Non-Maskable Interrupt available for:
  • CRCSCAN
  • CFD (Clock Failure Detection)
X X
2 0x04 BOD_VLM Voltage Level Monitor Interrupt X X
3 0x06 CLKCTRL External Crystal Oscillator/Clock Source Failure Interrupt (CFD) X X
4 0x08 MVIO_MVIO Multi Voltage I/O Interrupt X X
5 0x0A RTC_CNT Real-Time Counter Overflow or Compare Match Interrupt X X
6 0x0C RTC_PIT Real-Time Counter Periodic Interrupt X X
7 0x0E CCL_CCL Configurable Custom Logic Interrupt X X
8 0x10 PORTA_PORT PORTA External interrupt X X
9 0x12

TCA0 _OVF

TCA0_LUNF

Normal: Timer/Counter Type A Overflow Interrupt

Split: Timer/Counter Type A Low Underflow Interrupt

X X
10 0x14 TCA0_HUNF

Normal: Unused

Split: Timer/Counter Type A High Underflow Interrupt

X X
11 0x16

TCA0_CMP0

TCA0_LCMP0

Normal: Timer/Counter Type A Compare 0 Interrupt

Split: Timer/Counter Type A Low Compare 0 Interrupt

X X
12 0x18

TCA0_CMP1

TCA0_LCMP1

Normal: Timer/Counter Type A Compare 1 Interrupt

Split: Timer/Counter Type A Low Compare 1 Interrupt

X X
13 0x1A

TCA0_CMP2

TCA0_LCMP2

Normal: Timer/Counter Type A Compare 2 Interrupt

Split: Timer/Counter Type A Low Compare 2 Interrupt

X X
14 0x1C TCB0_INT Timer Counter Type B Capture/Overflow Interrupt X X
15 0x1E TCB1_INT Timer Counter Type B Capture/Overflow Interrupt X X
16 0x20 TCD0_OVF Timer Counter Type D Overflow Interrupt X X
17 0x22 TCD0_TRIG Timer Counter Type D Trigger Interrupt X X
18 0x24 TWI0_TWIS Two-Wire Interface Client Interrupt X X
19 0x26 TWI0_TWIM Two-Wire Interface Host Interrupt X X
20 0x28 SPI0_INT Serial Peripheral Interface Interrupt X X
21 0x2A USART0_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt X X
22 0x2C USART0_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt X X
23 0x2E USART0_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt X X
24 0x30 PORTD_PORT PORTD External Interrupt X X
25 0x32 AC0_AC Analog Comparator Interrupt X X
26 0x34 ADC0_RESRDY Analog-to-Digital Converter Result Ready Interrupt X X
27 0x36 ADC0_WCMP Analog-to-Digital Converter Window Compare Interrupt X X
28 0x38 ZCD3_ZCD Zero-Cross Interrupt X X
29 0x3A PORTC_PORT PORTC External Interrupt    
30 0x3C Reserved Reserved X X
31 0x3E USART1_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt X X
32 0x40 USART1_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt X X
33 0x42 USART1_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt X X
34 0x44 PORTF_PORT PORTF External Interrupt X X
35 0x46 NVMCTRL_EE Nonvolatile Memory Controller EEPROM Ready Interrupt X X