English
Language : 

SH7125 Datasheet, PDF (690/782 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer
Section 19 Power-Down Modes
19.5 Software Standby Mode
19.5.1 Transition to Software Standby Mode
This LSI switches from a program execution state to software standby mode by executing the
SLEEP instruction when the STBY bit in STBCR1 and the STBYMD bit in STBCR6 are set to 1.
In software standby mode, not only the CPU but also the clock and on-chip peripheral modules
halt.
The contents of the CPU registers and the data of the on-chip RAM remain unchanged. Some
registers of on-chip peripheral modules are, however, initialized. For details on the states of on-
chip peripheral module registers in software standby mode, refer to section 20.3, Register States in
Each Operating Mode. For details on the pin states in software standby mode, refer to appendix A,
Pin States.
The procedure for switching to software standby mode is as follows:
1. Clear the TME bit in the timer control register (WTCSR) of the WDT to 0 to stop the WDT.
2. Set the timer counter (WTCNT) of the WDT to 0 and bits CKS2 to CKS0 in WTCSR to
appropriate values to secure the specified oscillation settling time.
3. After setting the STBY bit in STBCR1 and the STBYMD bit in STBCR6 to 1, execute the
SLEEP instruction.
4. Software standby mode is entered and the clocks within this LSI are halted.
Rev. 3.00 Sep. 27, 2007 Page 670 of 758
REJ09B0243-0300