105
AT94KAL Series FPSLIC
Rev. 1138G–FPSLI–11/03
Watchdog Timer Control Register – WDTCR
• Bits 7..5 - Res: Reserved Bits
These bits are reserved bits in the FPSLIC and will always read as zero.
• Bit 4 - WDTOE: Watchdog Turn-off Enable
This bit must be set (one) when the WDE bit is cleared. Otherwise, the watchdog will not be
disabled. Once set, the hardware will clear this bit to zero after four clock cycles. Refer to the
description of the WDE bit below for a watchdog disable procedure.
• Bit 3 - WDE: Watchdog Enable
When the WDE is set (one) the Watchdog Timer is enabled, but if the WDE is cleared (zero),
the Watchdog Timer function is disabled. WDE can only be cleared if the WDTOE bit is set
(one). To disable an enabled Watchdog Timer, the following procedure must be followed:
1.
In the same operation, write a logic 1 to WDTOE and WDE. A logic 1 must be writ-
ten to WDE even though it is set to one before the disable operation starts.
2.
Within the next four clock cycles, write a logic 0 to WDE. This disables the
watchdog.
• Bits 2..0 - WDP2, WDP1, WDP0: Watchdog Timer Prescaler 2, 1 and 0
The WDP2, WDP1 and WDP0 bits determine the Watchdog Timer prescaling when the
Watchdog Timer is enabled. The different prescaling values and their corresponding Time-out
periods are shown in Table 33.
Note:
1. The frequency of the watchdog oscillator is voltage dependent as shown in the Electrical
Characteristics section. The WDR (watchdog reset) instruction should always be executed
before the Watchdog Timer is enabled. This ensures that the reset period will be in accor-
dance with the Watchdog Timer prescale settings. If the Watchdog Timer is enabled without
reset, the Watchdog Timer may not start counting from zero.
Bit
7
6
5
4
3
2
1
0
$21 ($41)
-
-
-
WDTOE
WDE
WDP2
WDP1
WDP0
WDTCR
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 33.
Watchdog Timer Prescale Select
WDP2
WDP1
WDP0
Number of WDT
Oscillator Cycles
Typical Time-out
at V
CC
= 3.0V
0
0
0
16K
15 ms
0
0
1
32K
30 ms
0
1
0
64K
60 ms
0
1
1
128K
0.12s
1
0
0
256K
0.24s
1
0
1
512K
0.49s
1
1
0
1,024K
0.97s
1
1
1
2,048K
1.9s