Rev.6.00 Oct.28.2004 page 675
of 1016
REJ09B0138-0600H
21.6
Software Standby Mode
21.6.1
Software Standby Mode
If a SLEEP instruction is executed when the SSBY bit in SBYCR is set to 1, software standby mode is entered. In this
mode, the CPU, on-chip supporting modules, and oscillator all stop. However, the contents of the CPU’s internal registers,
RAM data, and the states of on-chip supporting modules other than the SCI and A/D converter, and I/O ports, are retained.
Whether the address bus and bus control signals are placed in the high-impedance state or retain the output state can be
specified by the OPE bit in SBYCR.
In this mode the oscillator stops, and therefore power dissipation is significantly reduced.
21.6.2
Clearing Software Standby Mode
Software standby mode is cleared by an external interrupt (NMI pin, or pins
IRQ0
to
IRQ2
), or by means of the
RES
pin
or
STBY
pin.
•
Clearing with an interrupt
When an NMI or IRQ0 to IRQ2 interrupt request signal is input, clock oscillation starts, and after the elapse of the time
set in bits STS2 to STS0 in SYSCR, stable clocks are supplied to the entire H8S/2357 Group chip, software standby
mode is cleared, and interrupt exception handling is started.
When clearing software standby mode with an IRQ0 to IRQ2 interrupt, set the corresponding enable bit to 1 and
ensure that no interrupt with a higher priority than interrupts IRQ0 to IRQ2 is generated. Software standby mode
cannot be cleared if the interrupt has been masked on the CPU side or has been designated as a DTC activation source.
•
Clearing with the
RES
pin
When the
RES
pin is driven low, clock oscillation is started. At the same time as clock oscillation starts, clocks are
supplied to the entire H8S/2357 Group chip. Note that the
RES
pin must be held low until clock oscillation stabilizes.
When the
RES
pin goes high, the CPU begins reset exception handling.
•
Clearing with the
STBY
pin
When the
STBY
pin is driven low, a transition is made to hardware standby mode.
21.6.3
Setting Oscillation Stabilization Time after Clearing Software Standby Mode
Bits STS2 to STS0 in SBYCR should be set as described below.
Using a Crystal Oscillator: Set bits STS2 to STS0 so that the standby time is at least 8 ms (the oscillation stabilization
time).
Содержание ZTAT H8S/2357F
Страница 4: ......
Страница 28: ...Rev 6 00 Oct 28 2004 page xxiv of xxiv REJ09B0138 0600H...
Страница 82: ...Rev 6 00 Oct 28 2004 page 54 of 1016 REJ09B0138 0600H...
Страница 108: ...Rev 6 00 Oct 28 2004 page 80 of 1016 REJ09B0138 0600H...
Страница 364: ...Rev 6 00 Oct 28 2004 page 336 of 1016 REJ09B0138 0600H...
Страница 438: ...Rev 6 00 Oct 28 2004 page 410 of 1016 REJ09B0138 0600H...
Страница 566: ...Rev 6 00 Oct 28 2004 page 538 of 1016 REJ09B0138 0600H...
Страница 588: ...Rev 6 00 Oct 28 2004 page 560 of 1016 REJ09B0138 0600H...
Страница 688: ...Rev 6 00 Oct 28 2004 page 660 of 1016 REJ09B0138 0600H...
Страница 694: ...Rev 6 00 Oct 28 2004 page 666 of 1016 REJ09B0138 0600H...
Страница 708: ...Rev 6 00 Oct 28 2004 page 680 of 1016 REJ09B0138 0600H...
Страница 1044: ...Rev 6 00 Oct 28 2004 page 1016 of 1016 REJ09B0138 0600H...
Страница 1047: ...H8S 2357 Group H8S 2357F ZTATTM H8S 2398F ZTATTM Hardware Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...