tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 85

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
Watchdog Timer Control Register 1
7.2.2
Watchdog Timer Control Register 2
WDTCR1
WDTCR2
(0034H)
(0035H)
Note 1: After clearing WDTCR1<WDTOUT> to “0”, the program cannot set it to “1”.
Note 2: fc: High-frequency clock [Hz], *: Don’t care
Note 3: WDTCR1 is a write-only register and must not be used with any of read-modify-write instructions. If WDTCR1 is read, a
Note 4: To activate the STOP mode, disable the watchdog timer or clear the counter immediately before entering the STOP mode.
Note 5: To clear WDTCR1<WDTEN>, set the register in accordance with the procedures shown in “7.2.3 Watchdog Timer Dis-
Note 6: If the watchdog timer is disabled during watchdog timer interrupt processing, the watchdog timer interrupt will never be
Note 7: The watchdog timer consists of an internal divider and a two-stage binary counter. When clear code (4EH) is written, only
Note 1: The disable code is valid only when WDTCR1<WDTEN> = 0.
Note 2: *: Don’t care
Note 3: The binary counter of the watchdog timer must not be cleared by the interrupt task.
Note 4: Write the clear code (4EH) using a cycle shorter than 3/4 of the time set in WDTCR1<WDTT>.
Note 5: WDTCR2 is a write-only register and must not be used with any of read-modify-write instructions. If WDTCR2 is read, a
“1” during reset, the watchdog timer is enabled automatically after the reset release.
Watchdog Timer Enable
Setting WDTCR1<WDTEN> to “1” enables the watchdog timer. Since WDTCR1<WDTEN> is initialized to
WDTCR2
unknown data is read.
After clearing the counter, clear the counter again immediately after the STOP mode is inactivated.
able”.
cleared. Therefore, clear the watchdog timer ( set the clear code (4EH) to WDTCR2 ) before disabling it, or disable the
watchdog timer a sufficient time before it overflows.
the binary counter is cleared, not the internal divider.
Depending on the timing at which clear code (4EH) is written on the WDTCR2 register, the overflow time of the binary
counter may be at minimum 3/4 of the time set in WDTCR1<WDTT>. Thus, write the clear code using a shorter cycle
than 3/4 of the time set in WDTCR1<WDTT>.
unknown data is read.
7
7
WDTOUT
WDTEN
WDTT
6
Write
Watchdog timer control code
6
Watchdog timer enable/disable
Watchdog timer detection time [s]
Watchdog timer output select
5
5
4
4
4EH: Clear the watchdog timer binary counter (Clear code)
B1H: Disable the watchdog timer (Disable code)
Others: Invalid
3
WDTEN
Page 71
3
0: Disable (Writing the disable code to WDTCR2 is required.)
1: Enable
0: Interrupt request
1: Reset request
00
01
10
11
2
2
WDTT
1
DV1CK = 0
2
2
2
2
25
23
19
21
1
/fc
/fc
/fc
fc
0
WDTOUT
NORMAL mode
(Initial value: **** ****)
0
(Initial value: **** 1001)
DV1CK = 1
TMP88FW45AFG
2
2
2
2
26
24
20
22
/fc
/fc
/fc
fc
Write
Write
Write
Write
only
only
only
only

Related parts for tmp88fw45afg