19.4.4.1 Watchdog Timer Programmable Window
The window size is determined by the Configuration bits, DEVCFG2.WINSZ and WDTPS. In the Programmable Windowed mode (WDTCON.WDTWINEN = 1
), the WDT must be cleared based on the setting of the Window Size Configuration bits (DEVCFG2.WINSZ[1:0]), see the following figure. These bit settings are:
11
= WDT window is 25% of the WDT period10
= WDT window is 37.5% of the WDT period01
= WDT window is 50% of the WDT period00
= WDT window is 75% of the WDT period
If the WDT is cleared before the allowed window, a system Reset is immediately generated. See Clock and Reset Unit (CRU) from Related Links for more information on which type of Reset occurs.
The Windowed mode is useful for resetting the device during unexpected quick or slow execution of a critical portion of the code.