20.4.3.2 Always-On Mode
The Always-On mode is enabled by setting
the Always-On bit in the Control A register (CTRLA.ALWAYSON = 1). When the
Always-On mode is enabled, the WDT runs continuously, regardless of the state of
CTRLA.ENABLE. Once written, the Always-On bit can only be cleared by a Reset. The
Configuration (CONFIG) and Early Warning Control (EWCTRL) registers are read-only while the
CTRLA.ALWAYSON bit is set. Thus, the time period configuration bits (CONFIG.PER,
CONFIG.WINDOW, EWCTRL.EWOFFSET) of the WDT cannot be changed.
Enabling or disabling Window mode operation by writing the Window Enable bit (CTRLA.WEN) is allowed while in Always-On mode, but note that CONFIG.PER cannot be changed.
The Interrupt Clear and Interrupt Set registers are accessible in the Always-On mode. The early warning interrupt can still be enabled or disabled while in Always-On mode, but note that EWCTRL.EWOFFSET cannot be changed.
Table 20-2 shows
the operation of the WDT when CTRLA.ALWAYSON = 1.
| WEN | Interrupt Enable | Mode |
|---|---|---|
0 | 0 | Always-on and Normal mode |
0 | 1 | Always-on and Normal mode with early warning interrupt |
1 | 0 | Always-on and Window mode |
1 | 1 | Always-on and Window mode with early warning interrupt |
