Power-Down State - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

2.5.2

Power-Down State

In addition to the ordinary program execution states, the CPU also has a power-down state in
which CPU operation halts and power consumption is reduced There are two power-down state
modes: sleep mode and standby mode.
Sleep Mode: When the standby bit SBY (in the standby control register, SBYCR) is cleared to 0
and a SLEEP instruction is executed, the CPU switches from program execution state to sleep
mode. In sleep mode, the CPU halts and the contents of its internal registers and the data in on-
chip RAM are stored. The on-chip supporting modules other than the CPU do not halt in sleep
mode.
Sleep mode is cleared by a reset, any interrupt, or a DMA address error; the CPU returns to
ordinary program execution state through the exception handling state.
Software Standby Mode: To enter standby mode, set standby bit SBY (in the standby control
register, SBYCR) to 1 and execute a SLEEP instruction. In standby mode, all CPU, on-chip
supporting module and oscillator functions are halted. CPU internal register contents and on-chip
RAM data are held.
Standby mode is cleared by a reset or an external NMI interrupt. For resets, the CPU returns to the
ordinary program execution state through the exception handling state when placed in a reset state
during the oscillator settling time. For NMI interrupts, the CPU returns to the ordinary program
execution state through the exception handling state after the oscillator settling time has elapsed.
In this mode, power consumption drops markedly, since the oscillator stops.
Table 2.19 Power-Down State
Mode
Conditions
Sleep
Execute SLEEP
mode
instruction with
SBY bit cleared
to 0 in SBYCR
Standby
Execute SLEEP
mode
instruction with
SBY bit set to 1
in SBYCR
Note: * Differs depending on the supporting module and pin.
48
On-Chip
Supporting
Clock CPU
Modules
Run
Halted Run
Halted Halted Halted and
initialized *
State
CPU
Regi-
I/O
sters RAM
Ports
Held
Held
Held
Held
Held
Held or
high-Z *
(select-
able)
Canceling
1. Interrupt
2. DMA address
error
3. Power-on reset
4. Manual reset
1. NMI
2. Power-on reset
3. Manual reset

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents