11.2.2 Interrupt Line Mapping

Each interrupt line 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.

An interrupt flag is set when the interrupt condition occurs. Each interrupt in the peripheral can be individually enabled by writing a 1 to the corresponding bit in the peripheral’s Interrupt Enable Set (INTENSET) register, and disabled by writing 1 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-IPR11 provide a priority field for each interrupt.

Table 11-3. Interrupt Line Mapping
ModuleSourceNVIC line
EIC NMI – External Interrupt ControllerNMINMI

PM – Power Manager

PLRDY0
MCLK - Main ClockCKRDY
OSCCTRL - Oscillators ControllerXOSCRDY
CLKFAIL
OSC16MRDY
DFLLULPRDY
DFLLULPLOCK
DFLLULPNOLOCK
DPLLLCKR
DPLLLCKF
DPLLLTO
DPLLLDRTO
OSC32KCTRL - 32KHz Oscillators ControllerXOSC32KRDY
CLKFAIL
SUPC - Supply ControllerBOD33RDY
BOD33DET
B33SRDY
VREGRDY
VCORERDY
ULPVREFRDY
WDT – Watchdog TimerEW1
RTC – Real Time CounterCMP02
CMP1
OVF
PER0
PER1
PER2
PER3
PER4
PER5
PER6
PER7
TAMPER
EIC – External Interrupt ControllerEXTINT 03
EXTINT 14
EXTINT 25
EXTINT 36
EXTINT 4..77
NSCHK(1)
FREQM - Frequency MeterDONE8
NVMCTRL – Non-Volatile Memory ControllerDONE9
PROGE
LOCKE
NVME
KEYE
NSCHK(1)
PORT - I/O Pin ControllerNSCHK(1)10
DMAC - Direct Memory Access ControllerSUSP 011
TERR 0
TCMPL 0
SUSP 112
TERR 1
TCMPL 1
SUSP 213
TERR 2
TCMPL 2
SUSP 314
TERR 3
TCMPL 3
SUSP 4..715
TERR 4..7
TCMPL 4..7
EVSYS – Event SystemEVD 016
OVR 0
EVD 117
OVR 1
EVD 218
OVR 2
EVD 319
OVR 3
NSCHK(1)20
PAC - Peripheral Access ControllerERR21
SERCOM0 – Serial Communication Interface 0 (Interrupt Sources vary depending on SERCOM mode)Interrupt Bit 022
Interrupt Bit 123
Interrupt Bit 224
Interrupt Bits 3..625
SERCOM1 – Serial Communication Interface 1 (Interrupt Sources vary depending on SERCOM mode)Interrupt Bit 026
Interrupt Bit 127
Interrupt Bit 228
Interrupt Bit 3..629
SERCOM2 – Serial Communication Interface 2 (Interrupt Sources vary depending on SERCOM mode)Interrupt Bit 030
Interrupt Bit 131
Interrupt Bit 232
Interrupt Bits 3..633
TC0 – Timer Counter 0ERR A34
MC 0
MC 1
OVF
TC1 – Timer Counter 1ERR A35
MC 0
MC 1
OVF
TC2 – Timer Counter 2ERR A36
MC 0
MC 1
OVF
ADC – Analog-to-Digital ConverterOVERRUN37
WINMON
RESRDY38
AC – Analog ComparatorCOMP 039
COMP 1
WIN 0
DAC – Digital-to-Analog ConverterUNDERRUN40
EMPTY41
PTC – Peripheral Touch ControllerEOC42
WCOMP
TRNG - True Random Number GeneratorDATARDY43
TRAM - TrustRAMDRP44
ERR
Note:
  1. NSCHK interrupt sources will not generate any interrupts for SAM L10 devices.