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 ‘Interrupts’ 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 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 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. 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.

Note: Interrupts must be enabled globally for interrupt requests to be generated.
Table 8-2. Interrupt Vector Mapping

Vector
Number

Program
Address
(word)

Peripheral
Source
(name)

Description

28-
Pin

32-
Pin

48-
Pin

00x00RESETXXX
10x02CRCSCAN_NMINon-Maskable Interrupt available for CRCSCANXXX
20x04BOD_VLMVoltage Level Monitor interruptXXX
30x06RTC_CNTReal Time Counter - Overflow or compare match interruptXXX
40x08RTC_PITReal Time Counter - Periodic Interrupt Timer interruptXXX
50x0ACCL_CCLConfigurable Custom Logic interruptXXX
60x0CPORTA_PORTPort A - External interruptXXX
70x0E

TCA0_OVF
TCA0_LUNF

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

XXX
80x10TCA0_HUNF Split: Timer/Counter Type A High Underflow interruptXXX
90x12

TCA0_CMP0
TCA0_LCMP0

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

XXX
100x14

TCA0_CMP1
TCA0_LCMP1

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

XXX
110x16

TCA0_CMP2
TCA0_LCMP2

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

XXX
120x18TCB0_INTTimer/Counter Type B Capture interruptXXX
130x1ATCB1_INTTimer/Counter Type B Capture interruptXXX
140x1CTWI0_TWISTwo Wire Interface - Client interruptXXX
150x1ETWI0_TWIMTwo Wire Interface - Host interruptXXX
160x20SPI0_INTSerial Peripheral Interface interruptXXX
170x22USART0_RCXUniversal Synchronous Asynchronous Receiver Transmitter - Receive Complete interruptXXX
180x24USART0_DREUniversal Synchronous Asynchronous Receiver Transmitter - Data Register Empty interruptXXX
190x26USART0_TCXUniversal Synchronous Asynchronous Receiver Transmitter - Transmit Complete interruptXXX
200x28PORTD_PORTPort D - External interruptXXX
210x2AAC0_ACAnalog Comparator - Compare interruptXXX
220x2CADC0_RESRDYAnalog-to-Digital Converter - Result Ready interruptXXX
230x2EADC0_WCOMPAnalog-to-Digital Converter - Window Compare interruptXXX
240x30PORTC_PORTPort C - External interruptXXX
250x32TCB2_INTTimer/Counter Type B Capture interruptXXX
260x34USART1_RCXUniversal Synchronous Asynchronous Receiver Transmitter - Receive Complete interruptXXX
270x36USART1_DREUniversal Synchronous Asynchronous Receiver Transmitter - Data Register Empty interruptXXX
280x38USART1_TCXUniversal Synchronous Asynchronous Receiver Transmitter - Transmit Complete interruptXXX
290x3APORTF_PORTPort F - External interruptXXX
300x3CNVMCTRL_EENon-Volatile Memory Controller - Ready interruptXXX
310x3EUSART2_RCXUniversal Synchronous Asynchronous Receiver Transmitter - Receive Complete interruptXXX
320x40USART2_DREUniversal Synchronous Asynchronous Receiver Transmitter - Data Register Empty interruptXXX
330x42USART2_TCXUniversal Synchronous Asynchronous Receiver Transmitter - Transmit Complete interruptXXX
340x44PORTBPort B - External interruptX
350x46PORTEPort E - External interruptX
360x48TCB3_INTTimer/Counter Type B Capture interruptX
370x4AUSART3_RCXUniversal Synchronous Asynchronous Receiver Transmitter - Receive Complete interruptX
380x4CUSART3_DREUniversal Synchronous Asynchronous Receiver Transmitter - Data Register Empty interruptX
390x4EUSART3_TCXUniversal Synchronous Asynchronous Receiver Transmitter - Transmit Complete interruptX