WDT Operation During Sleep

When the WDT enters Sleep, the WDT is cleared. If the WDT is enabled during Sleep, the WDT resumes counting. When the WDT exits Sleep, the WDT is cleared again.

When a WDT time-out occurs while the device is in Sleep, no Reset is generated. Instead, the device wakes up and resumes operation. The Time-Out (TO) and Power-Down (PD) bits are cleared to indicate the event. Additionally, the Watchdog Timer Reset Flag (RWDT) bit is cleared, indicating a WDT Reset event occurred.