CMS32L051 User Manual |Chapter 10 Watchdog Timer
www.mcu.com.cn 263 / 703
10.4.3 Setting window open period of watchdog timer
Set the watchdog timer window open by option bytes (000C0H) bit6 and bit5 (WINDOW1, WINDOW0).
The window is summarized as follows:
•
If you write ACH to the enable register (WDTE) of the watchdog timer while the window is open, the
watchdog timer is cleared and the count is restarted.
•
During window shutdown, even if ACH is written to the WDTE register, an exception is detected and
an internal reset signal is generated.
Note Only when the WDTE register is written for the first time after the reset is released, regardless of the window
open, as long as the WDTE is written at any time before the overflow time, the watchdog timer is cleared and the
count is restarted.
The window opening period that can be set is shown below.
Table 10-4 Watchdog Timer Settings During Window Open
Note When bit0 (WDSTBYON) of option byte (000C0H) is 0, it is independent of the values of WINDOW1 and
WINDOW0 bits. 100% during window open.
Note When setting the overflow time to 2
9
/f
IL,
the window closing time and the open time are as follows.