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

Vector
Number

Program
Address
(Word)

Peripheral
Source
(Name)

Description
00x00RESET
10x02NMINon-Maskable Interrupt available for CRCSCAN
20x04BOD_VLMVoltage Level Monitor interrupt
30x06RTC_CNTReal Time Counter Overflow or compare match interrupt
40x08RTC_PITReal Time Counter Periodic Interrupt
50x0ACCL_CCLConfigurable Custom Logic interrupt
60x0CPORTA_PORTPORT A External interrupt
70x0EPORT_PORTBPORT B External interrupt
80x10

TCA0_OVF
TCA_LUNF

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

90x12


TCA0_HUNF

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

100x14

TCA0_CMP0
TCA0_LCMP0

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

110x16

TCA0_CMP1
TCA0_LCMP1

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

120x18

TCA0_CMP2
TCA0_LCMP2

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

130x1ATCB0_INTTimer/Counter Type B Capture interrupt
140x1CTWI0_TWISTwo Wire Interface Client interrupt
150x1ETWI0_TWIMTwo Wire Interface Host interrupt
160x20SPI0_INTSerial Peripheral Interface 0 interrupt
170x22USART0_RCXUniversal Synchronous and Asynchronous Receiver and Transmitter 0 Receive Complete interrupt
180x24USART0_DREUniversal Synchronous and Asynchronous Receiver and Transmitter 0 Data Register Empty interrupt
190x26USART0_TXCUniversal Synchronous and Asynchronous Receiver and Transmitter 0 Transmit Complete interrupt
200x28AC0_ACAnalog Comparator Compare interrupt
210x2AADC0_ERRORAnalog-to-Digital Converter Error interrupt
220x2CADC0_RESRDYAnalog-to-Digital Converter Result interrupt
230x2EADC0_SAMPRDYAnalog-to-Digital Converter Sample interrupt
240x30PORTC_PORTPORT C External interrupt
250x32TCB1_INTTimer/Counter Type B Capture interrupt
260x34USART1_RCXUniversal Synchronous and Asynchronous Receiver and Transmitter 1 Receive Complete interrupt
270x36USART1_DREUniversal Synchronous and Asynchronous Receiver and Transmitter 1 Data Register Empty interrupt
280x38USART1_TXCUniversal Synchronous and Asynchronous Receiver and Transmitter 1 Transmit Complete interrupt
290x3ANVMCTRL_EENon-Volatile Memory Controller Ready interupt