EasyManua.ls Logo

Hitachi SH7032 - Usage Notes; Changing CKS2-CKS0 Bit Values; Changing Watchdog Timer;Interval Timer Modes; TCNT Write and Increment Contention

Hitachi SH7032
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
346
12.4 Usage Notes
12.4.1 TCNT Write and Increment Contention
If a timer counter clock pulse is generated during the T3 state of a write cycle to TCNT, the write
takes priority and the timer counter is not incremented (figure 12.8).
CK
Address
Internal
write signal
TCNT
input clock
TCNT
NM
TCNT address
Counter write data
T1T2T3
TCNT write cycle
Figure 12.8 Contention between TCNT Write and Increment
12.4.2 Changing CKS2–CKS0 Bit Values
If the values of bits CKS2–CKS0 are altered while the WDT is running, the count may increment
incorrectly. Always stop the watchdog timer (by clearing the TME bit to 0) before changing the
values of bits CKS2–CKS0.
12.4.3 Changing Watchdog Timer/Interval Timer Modes
To prevent incorrect operation, always stop the watchdog timer (by clearing the TME bit to 0)
before switching between interval timer mode and watchdog timer mode.

Table of Contents

Related product manuals