4.2.2 Interrupt Line Mapping

Each of the interrupt lines is connected to one peripheral instance, as shown in the table below. Each peripheral can have one or more interrupt flags, which are 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 by the peripheral when the interrupt flag is set and the corresponding interrupt is enabled.

The interrupt requests for one peripheral are ORed together at the 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 4-3. Interrupt Line Mapping
Vector NumberInterrupt VectorInterrupt SourceDescription
NMINMINMINon-Maskable Interrupt from the EIC
0SYSTEMCKRDYClock Ready interrupt from MCLK
OSCHFRDYOSCHF is ready interrupt from OSCCTRL
XOSC32KRDYXOSC32K ready interrupt from OSCCTRL
CLKFAILXOSC32K has failed interrupt from OSCCTRL
OSC32KRDYOSC32K ready interrupt from OSCCTRL
VDDIO2LPMPORVDDIO2 Low-Power Mode POR interrupt from SUPC
VDDIO2OKVDDIO2 OK interrupt from SUPC
VLMVoltage Level Monitor interrupt from SUPC
BODVDDRDYVDD Brown-Out interrupt Detector Ready interrupt from SUPC
FLASHAccess Error is detected by client Flash
HSRAMCM0PAccess Error is detected by client SRAMCM0P
HSRAMDSUAccess Error is detected by client SRAMDSU
APBBAccess Error is detected by client APBB
APBAAccess Error is detected by client APBA
APBCAccess Error is detected by client APBC
SRAMDMACAccess Error is detected by client SRAMDMAC
BROMAccess Error is detected by client BROM
PACPeripheral Access Error occurs while accessing PAC
PMPeripheral Access Error occurs while accessing PM
MCLKPeripheral Access Error occurs while accessing MCLK
RSTCPeripheral Access Error occurs while accessing RSTC
OSCCTRLPeripheral Access Error occurs while accessing OSCCTRL
SUPCPeripheral Access Error occurs while accessing SUPC
GCLKPeripheral Access Error occurs while accessing GCLK
WDTPeripheral Access Error occurs while accessing WDT
RTCPeripheral Access Error occurs while accessing RTC
EICPeripheral Access Error occurs while accessing EIC
PORTPeripheral Access Error occurs while accessing PORT
DSUPeripheral Access Error occurs while accessing DSU
NVMCTRLPeripheral Access Error occurs while accessing NVMCTRL
DMACPeripheral Access Error occurs while accessing DMAC
MTBPeripheral Access Error occurs while accessing MTB
HMATRIXHSPeripheral Access Error occurs while accessing HMATRIXHS
EVSYSPeripheral Access Error occurs while accessing EVSYS
SERCOMnPeripheral Access Error occurs while accessing SERCOMn
TCnPeripheral Access Error occurs while accessing TCn
TCCnPeripheral Access Error occurs while accessing TCCn
ADC0Peripheral Access Error occurs while accessing ADC0
ACPeripheral Access Error occurs while accessing AC
CCLPeripheral Access Error occurs while accessing CCL
PTCPeripheral Access Error occurs while accessing PTC
SYSCTRLPeripheral Access Error occurs while accessing SYSCTRL
1WDTEWEarly Warning interrupt from WDT
2RTCOVFOverflow interrupt from RTC
CMPn/ALARMnCompare n interrupt (Mode 0 and 1)/Alarm n interrupt (Mode 2) from RTC
PERnPeriodic Interval n interrupt from RTC
3EICEXTINTnExternal Interrupt n from the EIC
4NVMCTRLERRORError interrupt from NVMCTRL
READYFlash ready interrupt from NVMCTRL
5DMACTERRTransfer error interrupt from DMAC
TCMPLTransfer complete interrupt from DMAC
SUSPSuspend interrupt from DMAC
6EVSYSOVRnOverrun Channel n interrupt from EVSYS
EVDnEvent Detected Channel n interrupt from EVSYS
7SERCOM0DREData Register Empty from SERCOM0
RXCReceive Complete from SERCOM0
TXCTransmit Complete from SERCOM0
RXSReceive Start from SERCOM0
CTSICClear to Send Input Change from SERCOM0
RXBRKReceived Break from SERCOM0
SSLSPI Select Low from SERCOM0
DRDYData Ready from SERCOM0
AMATCHAddress Match from SERCOM0
PRECStop Received from SERCOM0
ERRORError from SERCOM0
8SERCOM1DREData Register Empty from SERCOM1
RXCReceive Complete from SERCOM1
TXCTransmit Complete from SERCOM1
RXSReceive Start from SERCOM1
CTSICClear to Send Input Change from SERCOM1
RXBRKReceived Break from SERCOM1
SSLSPI Select Low from SERCOM1
DRDYData Ready from SERCOM1
AMATCHAddress Match from SERCOM1
PRECStop Received from SERCOM1
ERRORError from SERCOM1
9TC0OVFOverflow interrupt from TC0
ERRError interrupt from TC0
MCnMatch or Capture Channel n=(0,1) interrupt from TC0
10TC1OVFOverflow interrupt from TC1
ERRError interrupt from TC1
MCnMatch or Capture Channel n=(0,1) interrupt from TC1
11TC2OVFOverflow interrupt from TC2
ERRError interrupt from TC2
MCnMatch or Capture Channel n=(0,1) interrupt from TC2
12TCC0OVFOverflow interrupt from TCC0
TRGRetrigger interrupt from TCC0
CNTCounter interrupt from TCC0
ERRError interrupt from TCC0
UFSNon-Recoverable Update Fault interrupt from TCC0
DFSNon-Recoverable Debug Fault interrupt from TCC0
FAULTxRecoverable Fault x interrupt from TCC0
FAULTnNon-Recoverable Fault n interrupt from TCC0
MCnMatch or Capture Channel n interrupt from TCC0
13ADC0TRIGOVRTrigger Overrun interrupt from ADC0
SAMPOVRSample Overwrite interrupt from ADC0
RESOVRResult Overwrite interrupt from ADC0
RESRDYResult Ready interrupt from ADC0
WCMPWindow Comparator interrupt from ADC0
SAMPRDYSample Ready interrupt from ADC0
14ACCOMPnComparator n interrupt from AC
WINnWindow n interrupt from AC
15-31--Reserved