Changing Value Of Cks2 To Cks0; Switching Between Watchdog Timer Mode And Interval Timer Mode; Internal Reset In Watchdog Timer Mode - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

ø
Address
Internal write signal
TCNT input clock
TCNT
Figure 14.5 Contention between TCNT Write and Increment
14.6.3

Changing Value of CKS2 to CKS0

If bits CKS2 to CKS0 in TCSR are written to while the WDT is operating, errors could occur in
the incrementation. Software must stop the watchdog timer (by clearing the TME bit to 0) before
changing the value of bits CKS2 to CKS0.
14.6.4

Switching between Watchdog Timer Mode and Interval Timer Mode

If the mode is switched from watchdog timer to interval timer, while the WDT is operating, errors
could occur in the incrementation. Software must stop the watchdog timer (by clearing the TME
bit to 0) before switching the mode.
14.6.5

Internal Reset in Watchdog Timer Mode

This LSI is not reset internally if TCNT overflows while the RSTE bit is cleared to 0 during
watchdog timer mode operation, but TCNT and TCSR of the WDT are reset.
TCNT, TCSR, and RSTCR cannot be written to while the :'729) signal is low. Also note that
a read of the WOVF flag is not recognized during this period. To clear the WOVF flag, therefore,
read TCSR after the :'729) signal goes high, then write 0 to the WOVF flag.
Rev. 1.0, 09/01, page 622 of 904
TCNT write cycle
T 1
T 2
Next cycle
N
Counter write data
M

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents