Operation In Software Standby Mode; Operation In Interval Timer Mode - Hitachi H8/500 Series Hardware Manual

Table of Contents

Advertisement

H'FF
TCNT
count
H'00
WT/IT = 0
TME = 1

13.3.3 Operation in Software Standby Mode

The watchdog timer has a special function in the software standby mode. Specific watchdog timer
settings are required when the software standby mode is used.
1. Before Transition to the Software Standby Mode: The TME bit must be cleared to 0 to stop
the watchdog timer counter before a transition to the software standby mode. The chip cannot
enter the software standby mode while the TME bit is set to 1. Before entering the software
standby mode, software should also set the clock select bits (CKS2 to CKS0) to a value that
makes the timer overflow interval equal to or greater than the settling time of the clock
oscillator.
2. Recovery from the Software Standby Mode: Recovery from the software standby mode can
be triggered by an NMI request. In this case the recovery proceeds as follows:
When an NMI request signal is received, the clock oscillator starts running and the watchdog
timer starts counting at the rate selected by the clock select bits before the software standby
mode was entered. When the count overflows (H'FF
stable and usable, clock signals are supplied to all modules on the chip, and the NMI interrupt-
handling routine starts executing. This timer overflow does not set the OVF flag, and the TME
bit remains cleared to 0.
Downloaded from
Elcodis.com
electronic components distributor
IRQ
0
request
Figure 13-4 Operation in Interval Timer Mode
IRQ
IRQ
0
0
request
request
→ H'00), the ø clock is presumed to be
242
Time t
IRQ
IRQ
0
0
request
request

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/532

Table of Contents