English
Language : 

W77LE58_07 Datasheet, PDF (57/82 Pages) Winbond – 8-BIT MICROCONTROLLER
W77LE58/W77L058A
Table 9. Time-out values for the Watchdog timer
WD1
0
0
1
1
WD0
0
1
0
1
WATCHDOG
INTERVAL
217
220
223
226
NUMBER OF
CLOCKS
131072
1048576
8388608
67108864
TIME
@ 1.8432 MHZ
71.11 mS
568.89 mS
4551.11 mS
36408.88 mS
TIME
@ 10 MHZ
13.11 mS
104.86 mS
838.86 mS
6710.89 mS
TIME
@ 25 MHZ
5.24 mS
41.94 mS
335.54 mS
2684.35 mS
The Watchdog timer will de disabled by a power-on/fail reset. The Watchdog timer reset does not
disable the watchdog timer, but will restart it. In general, software should restart the timer to put it into
a known state.
The control bits that support the Watchdog timer are discussed below.
7.1.8 Watchdog Control
WDIF: WDCON.3 - Watchdog Timer Interrupt flag. This bit is set whenever the time-out occurs in the
watchdog timer. If the Watchdog interrupt is enabled (EIE.4), then an interrupt will occur (if the
global interrupt enable is set and other interrupt requirements are met). Software or any reset
can clear this bit.
WTRF: WDCON.2 - Watchdog Timer Reset flag. This bit is set whenever a watchdog reset occurs.
This bit is useful for determined the cause of a reset. Software must read it, and clear it
manually. A Power-fail reset will clear this bit. If EWT = 0, then this bit will not be affected by
the watchdog timer.
EWT: WDCON.1 - Enable Watchdog timer Reset. This bit when set to 1 will enable the Watchdog
timer reset function. Setting this bit to 0 will disable the Watchdog timer reset function, but will
leave the timer running.
RWT:
WDCON.0 - Reset Watchdog Timer. This bit is used to clear the Watchdog timer and to
restart it. This bit is self-clearing, so after the software writes 1 to it the hardware will
automatically clear it. If the Watchdog timer reset is enabled, then the RWT has to be set by
the user within 512 clocks of the time-out. If this is not done then a Watchdog timer reset will
occur.
- 57 -
Publication Release Date: February 1, 2007
Revision A7