BAT32G1x9 user manual | Chapter 14 Watchdog timer
476 / 1149
Rev.1.02
14.3 Control registers of the watchdog timer
The watchdog timer is controlled by the watchdog timer's Allow Register (WDTE).
14.3.1
The Watchdog Timer's enable Register (WDTE).
By writing "ACH" to the WDTE register, clear the watchdog timer counter and start counting again. The WDTE
register is set via the 8-bit memory operation instruction. After generating a reset signal, the value of this register
changes to the "9AH" or "1AH"
note
.
Figure 14-2 Format of the enable register (WDTE) of the watchdog timer
Address: 0x40021001
after reset: 9AH/1AH
Note
R/W
WDTE
Note: The reset value of the WDTE
register varies depending on the setpoint
of the
WDTON
bit of the option byte
(
000C0H). For the watchdog timer to run, the
WDTON
must be placed at the position
"1".
The setpoint of the WDTON bit
The reset value of the WDTE register
0 (Disables the counting run of the watchdog timer).
1AH
1 (enable count run of watchdog timer).
9AH
Note:
1. When writing a
value other than
"ACH"
to the
WDTE
register, an internal reset signal is generated.
2. When the bit operation instruction is executed on the
WDTE
register, an internal reset signal is generated.
3. The read value of the
WDTE register is
"9AH/1AH"
(different from the write value
("ACH")).