19.3.3 Interrupts

Table 19-7. Available Interrupt Vectors and Sources
Interrupt Vector NameInterrupt Source NameDescription Conditions
SLPCTRLVOVVMON overvoltage detectedVMON detects voltage level above high threshold
VUVVMON undervoltage detectedVMON detects voltage level below low threshold
VDENTERVMON has entered diagnostic (fault injection) modeCTRLB.DMODE = ‘UNDER’ or CTRLB.DMODE = ‘OVER’
VDEXITVMON has exited diagnostic (fault injection) modeDiagnostic mode exited due to timeout or because CTRLB.DMODE = ‘NO’
VERRVMON has an internal errorVMON is in an illegal state
VSLPVMON is in sleep modeThe device has entered sleep mode and VMON thresholds are adjusted to sleep mode voltage levels. This flag will be permanently set when selecting OSC32K as main clock source.
VDISVMON is disabledEither of these:
  • A hardware error has occurred erroneously disabling the VMON
  • VREGCTRL.VMONSEN = ‘DISABLE’ and Standby or Power-Down sleep mode is entered
SERRSleep errorSLEEP instruction was attempted with CTRLA.SEN = ‘0’ or CPU.SREG.I = ‘0

When an interrupt condition occurs, the corresponding interrupt flag is set in the peripheral’s Interrupt Flags (peripheral.INTFLAGS) register.

An interrupt source is enabled or disabled by writing to the corresponding enable bit in the peripheral’s Interrupt Control (peripheral.INTCTRL) register.

An interrupt request is generated when the corresponding interrupt source 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.