8.2 Interrupt Vector Mapping

Each interrupt vector 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 Interrupt Flags register of the peripheral (peripheral.INTFLAGS) when the interrupt condition occurs, even if the interrupt is not enabled.

By writing to the corresponding Interrupt Enable bit in the peripheral's Interrupt Control register (peripheral.INTCTRL), an interrupt is enabled or disabled..

When the corresponding interrupt is enabled, an interrupt request is generated, and the interrupt flag is set. Interrupts must be enabled globally to generate interrupt requests. The interrupt request remains active until clearing the interrupt flag. See the peripheral's INTFLAGS register for details on clearing interrupt flags.

Table 8-3. Interrupt Vector Mapping

Vector

Number

Program

Address

(word)

Peripheral

Source

Description

14-

Pin

20-

Pin

28-

Pin

32-

Pin

0 0x00 RESET X X X X
1 0x02 NMI Non-Maskable Interrupt available for:
  • CRCSCAN
  • CLKCTRL
X X X X
2 0x04 BOD_VLM Voltage Level Monitor Interrupt X X X X
3 0x06 CLKCTRL_CFD External crystal oscillator or clock source failure X X X X
4 0x08 RTC_RTC Real-Time Counter Overflow or Compare Match Interrupt X X X X
5 0x0A RTC_PIT Real-Time Counter Periodic Interrupt X X X X
6 0x0C CCL_CCL Configurable Custom Logic Interrupt X X X X
7 0X0E USB_BUS USB Bus Event Interrupt X X X X
8 0x10 USB_TAC USB Transaction Complete Interrupt X X X X
9 0x12 PORTA_PORT PORTA External Interrupt X X X X
10 0x14

TCA0 _OVF

TCA0_LUNF

Normal: Timer/Counter Type A Overflow Interrupt

Split: Timer/Counter Type A Low Underflow Interrupt

X X X X
11 0x16 TCA0_HUNF

Normal: Unused

Split: Timer/Counter Type A High Underflow Interrupt

X X X X
12 0x18

TCA0_CMP0

TCA0_LCMP0

Normal: Timer/Counter Type A Compare 0 Interrupt

Split: Timer/Counter Type A Low Compare 0 Interrupt

X X X X
13 0x1A

TCA0_CMP1

TCA0_LCMP1

Normal: Timer/Counter Type A Compare 1 Interrupt

Split: Timer/Counter Type A Low Compare 1 Interrupt

X X X X
14 0x1C

TCA0_CMP2

TCA0_LCMP2

Normal: Timer/Counter Type A Compare 2 Interrupt

Split: Timer/Counter Type A Low Compare 2 Interrupt

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