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 Interrupt Flags register of the peripheral (peripheral.INTFLAGS) 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 register (peripheral.INTCTRL).

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

Description

28-

Pin

32-

Pin

48-

Pin

0 0x00 RESET   X X X
1 0x02 NMI Non-Maskable Interrupt available for CRCSCAN X X X
2 0x04 BOD_VLM Voltage Level Monitor Interrupt X X X
3 0x06 RTC_CNT Real-Time Counter Overflow or Compare Match Interrupt X X X
4 0x08 RTC_PIT Real-Time Counter Periodic Interrupt X X X
5 0x0A CCL_CCL Configurable Custom Logic Interrupt X X X
6 0x0C PORTA_PORT PORTA External interrupt X X X
7 0x0E

TCA0 _OVF

TCA0_LUNF

Normal: Timer/Counter Type A Overflow Interrupt

Split: Timer/Counter Type A Low Underflow Interrupt

X X X
8 0x10 TCA0_HUNF

Normal: Unused

Split: Timer/Counter Type A High Underflow Interrupt

X X X
9 0x12

TCA0_CMP0

TCA0_LCMP0

Normal: Timer/Counter Type A Compare 0 Interrupt

Split: Timer/Counter Type A Low Compare 0 Interrupt

X X X
10 0x14

TCA0_CMP1

TCA0_LCMP1

Normal: Timer/Counter Type A Compare 1 Interrupt

Split: Timer/Counter Type A Low Compare 1 Interrupt

X X X
11 0x16

TCA0_CMP2

TCA0_LCMP2

Normal: Timer/Counter Type A Compare 2 Interrupt

Split: Timer/Counter Type A Low Compare 2 Interrupt

X X X
12 0x18 TCB0_INT Timer Counter Type B Capture/Overflow Interrupt X X X
13 0x1A TCB1_INT Timer Counter Type B Capture/Overflow Interrupt X X X
14 0x1C TCD0_OVF Timer Counter Type D Overflow Interrupt X X X
15 0x1E TCD0_TRIG Timer Counter Type D Trigger Interrupt X X X
16 0x20 TWI0_TWIS Two-Wire Interface Client Interrupt X X X
17 0x22 TWI0_TWIM Two-Wire Interface Host Interrupt X X X
18 0x24 SPI0_INT Serial Peripheral Interface Interrupt X X X
19 0x26 USART0_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt X X X
20 0x28 USART0_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt X X X
21 0x2A USART0_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt X X X
22 0x2C PORTD_PORT PORTD External Interrupt X X X
23 0x2E AC0_AC Analog Comparator Interrupt X X X
24 0x30 ADC0_RESRDY Analog-to-Digital Converter Result Ready Interrupt X X X
25 0x32 ADC0_WCMP Analog-to-Digital Converter Window Compare Interrupt X X X
26 0x34 ZCD0_ZCD Zero-Cross Interrupt X X X
27 0x36 PTC_PTC Peripheral Touch Controller Interrupt X X X
28 0x38 AC1_AC Analog Comparator Interrupt X X X
29 0x3A PORTC_PORT PORTC External Interrupt X X X
30 0x3C TCB2_INT Timer Counter Type B Capture/Overflow Interrupt X X X
31 0x3E USART1_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt X X X
32 0x40 USART1_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt X X X
33 0x42 USART1_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt X X X
34 0x44 PORTF_PORT PORTF External Interrupt X X X
35 0x46 NVMCTRL_EE Nonvolatile Memory Controller EEPROM Ready Interrupt X X X
36 0x48 SPI1_INT Serial Peripheral Interface Interrupt X X X
37 0x4A USART2_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt X X X
38 0x4C USART2_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt X X X
39 0x4E USART2_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt X X X
40 0x50 AC2_AC Analog Comparator Interrupt X X X
41 0x52 TCB3_INT Timer Counter Type B Capture/Overflow Interrupt     X
42 0x54 TWI1_TWIS Two-Wire Interface Client Interrupt   X X
43 0x56 TWI1_TWIM Two-Wire Interface Host Interrupt   X X
44 0x58 PORTB_PORT PORTB External Interrupt     X
45 0x5A PORTE_PORT PORTE External Interrupt     X
46 0x5C

TCA1 _OVF

TCA1_LUNF

Normal: Timer/Counter Type A Overflow Interrupt

Split: Timer/Counter Type A Low Underflow Interrupt

    X
47 0x5E TCA1_HUNF

Normal: Unused

Split: Timer/Counter Type A High Underflow Interrupt

    X
48 0x60

TCA1_CMP0

TCA1_LCMP0

Normal: Timer/Counter Type A Compare 0 Interrupt

Split: Timer/Counter Type A Low Compare 0 Interrupt

    X
49 0x62

TCA1_CMP1

TCA1_LCMP1

Normal: Timer/Counter Type A Compare 1 Interrupt

Split: Timer/Counter Type A Low Compare 1 Interrupt

    X
50 0x64

TCA1_CMP2

TCA1_LCMP2

Normal: Timer/Counter Type A Compare 2 Interrupt

Split: Timer/Counter Type A Low Compare 2 Interrupt

    X
51 0x66 ZCD1_ZCD Zero-Cross Interrupt     X
52 0x68 USART3_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt     X
53 0x6A USART3_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt     X
54 0x6C USART3_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt     X
55 0x6E USART4_RXC Universal Synchronous Asynchronous Receiver and Transmitter Receive Complete Interrupt     X
56 0x70 USART4_DRE Universal Synchronous Asynchronous Receiver and Transmitter Data Register Empty Interrupt     X
57 0x72 USART4_TXC Universal Synchronous Asynchronous Receiver and Transmitter Transmit Complete Interrupt     X