Sleep - Hitachi SH7750 Programming Manual

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

10.91

SLEEP

Transition to Power-Down Mode
Format
SLEEP
Description
This instruction places the CPU in the power-down state.
In power-down mode, the CPU retains its internal state, but immediately stops executing
instructions and waits for an interrupt request. When it receives an interrupt request, the CPU exits
the power-down state.
SLEEP is a privileged instruction, and can only be used in privileged mode. Use of this instruction
in user mode will cause an illegal instruction exception.
Notes
SLEEP performance depends on the standby control register (STBCR). See section 9, Power-
Down Modes, for details.
Operation
SLEEP( )
/* SLEEP */
{
Sleep_standby();
}
Example
SLEEP
SLEEP
Summary of Operation
Sleep
;Transition to power-down mode
System Control Instruction
(Privileged Instruction)
Instruction Code
0000000000011011 4
Rev. 2.0, 03/99, page 367 of 396
Execution
States
T Bit

Advertisement

Table of Contents
loading

Table of Contents