Datasheet

Table Of Contents
Figure 20-3. Window-Mode Operation
5 10 15 20 25 30 35
WDT Timeout
Early Warning Interrupt
Timely WDT Clear
t[ms]
TO
WDT
System Reset
WDT Count
PER[3:0] = 0
WINDOW[3:0] = 0
TO
WDTW
Early WDT Clear
Closed Open
20.6.3 DMA Operation
Not applicable.
20.6.4 Interrupts
The WDT has the following interrupt source:
Early Warning (EW): Indicates that the counter is approaching the time-out condition.
This interrupt is an asynchronous wake-up source.
Each interrupt source has an interrupt flag associated with it. The interrupt flag in the Interrupt Flag Status
and Clear (INTFLAG) register is set when the interrupt condition occurs.
Each interrupt can be individually enabled by writing a '1' to the corresponding bit in the Interrupt Enable
Set (INTENSET) register, and disabled by writing a '1' to the corresponding bit in the Interrupt Enable
Clear (INTENCLR) register.
An interrupt request is generated when the interrupt flag is set and the corresponding interrupt is enabled.
The interrupt request remains active until the interrupt flag is cleared, the interrupt is disabled, or the
WDT is reset. See the 20.8.6 INTFLAG register description for details on how to clear interrupt flags. All
interrupt requests from the peripheral are ORed together on system level to generate one combined
interrupt request to the NVIC. The user must read the INTFLAG register to determine which interrupt
condition is present.
Note:  Interrupts must be globally enabled for interrupt requests to be generated.
Related Links
10.2 Nested Vector Interrupt Controller
18. PM – Power Manager
20.6.5 Events
Not applicable.
20.6.6 Sleep Mode Operation
The WDT will continue to operate in any sleep mode where the source clock is active except backup
mode. The WDT interrupts can be used to wake up the device from a sleep mode. An interrupt request
will be generated after the wake-up if the Interrupt Controller is configured accordingly. Otherwise the
CPU will wake up directly, without triggering an interrupt. In this case, the CPU will continue executing
from the instruction following the entry into sleep.
Related Links
20.8.1 CTRLA
SAM D5x/E5x Family Data Sheet
WDT – Watchdog Timer
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 270