11.2.2 Interrupt Line Mapping

Each of the 29 interrupt lines is connected to one peripheral instance, as shown in the table below. Each peripheral can have one or more interrupt flags, located in the peripheral’s Interrupt Flag Status and Clear (INTFLAG) register. The Interrupt flag is set when the Interrupt condition occurs. Each interrupt in the peripheral can be individually enabled by writing a one to the corresponding bit in the peripheral’s Interrupt Enable Set (INTENSET) register, and disabled by writing a one to the corresponding bit in the peripheral’s Interrupt Enable Clear (INTENCLR) register. An interrupt request is generated from the peripheral when the Interrupt flag is set and the corresponding interrupt is enabled. The interrupt requests for one peripheral are ORed together on system level, generating one interrupt request for each peripheral. An interrupt request will set the corresponding Interrupt Pending bit in the NVIC Interrupt Pending registers (SETPEND/CLRPEND bits in ISPR/ICPR). For the NVIC to activate the interrupt, it must be enabled in the NVIC interrupt enable register (SETENA/CLRENA bits in ISER/ICER). The NVIC Interrupt Priority registers IPR0-IPR7 provide a priority field for each interrupt.

Table 11-3. Interrupt Line Mapping
Peripheral SourceNVIC Line
EIC NMI – External Interrupt ControllerNMI
PM – Power Manager0
SYSCTRL – System Control1
WDT – Watchdog Timer2
RTC – Real-Time Counter3
EIC – External Interrupt Controller4
NVMCTRL – Nonvolatile Memory Controller5
DMAC - Direct Memory Access Controller6
USB - Universal Serial Bus7
EVSYS – Event System8
SERCOM0 – Serial Communication Interface 09
SERCOM1 – Serial Communication Interface 110
SERCOM2 – Serial Communication Interface 211
SERCOM3 – Serial Communication Interface 312
SERCOM4 – Serial Communication Interface 413
SERCOM5 – Serial Communication Interface 514
TCC0 – Timer Counter for Control 015
TCC1 – Timer Counter for Control 116
TCC2 – Timer Counter for Control 217
TC3 – Timer Counter 318
TC4 – Timer Counter 419
TC5 – Timer Counter 520
TC6 – Timer Counter 621
TC7 – Timer Counter 722
ADC – Analog-to-Digital Converter23
AC – Analog Comparator24
DAC – Digital-to-Analog Converter25
PTC – Peripheral Touch Controller26
I2S - Inter IC Sound27
AC1 - Analog Comparator 128
TCC3 - Timer Counter for Control 3 29