20.4.2 Operation

The WDT is a continuously running counter configured to a predefined time-out period. Before the end of the time-out period, the WDT must be cleared, otherwise, a system Reset request is issued.

The WDT can be configured in Normal mode or Window mode, both offering the option of early warning interrupt generation. The settings in the Control A (CTRLA) register and the Interrupt Enable register (handled by INTENCLR/INTENSET) determine the mode of operation. The description for each of the modes is given in the following sections.

Table 20-1. WDT Operating Modes
ModeCTRLA.ENABLECTRLA.WENInterrupt Enable
Stopped0xx
Normal mode100
Normal mode with early warning interrupt101
Window mode110
Window mode with early warning interrupt111

When enabled, the WDT will run in active mode and all sleep modes. It is asynchronous and runs from a CPU-independent clock source. The WDT will continue operation and issue a system Reset request or interrupt even if the main clocks fail.