English
Language : 

SH7050 Datasheet, PDF (670/841 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/
Section 21 Power-Down State
21.4.3 Software Standby Mode Application Example
This example describes a transition to standby mode on the falling edge of an NMI signal, and a
cancellation on the rising edge of the NMI signal. The timing is shown in figure 21.2.
When the NMI pin is changed from high to low level while the NMI edge select bit (NMIE) of the
ICR is set to 0 (falling edge detection), the NMI interrupt is accepted. When the NMIE bit is set to
1 (rising edge detection) by an NMI exception service routine, the standby bit (SBY) of the
SBYCR is set to 1, and a SLEEP instruction is executed, standby mode is entered. Thereafter,
standby mode is canceled when the NMI pin is changed from low to high level.
Oscillator
CK
NMI pin
NMIE bit
SSBY bit
Chip state
Program
execution
NMI
exception
handling
Exception
service routine
Software
standby mode
Oscillation WDT
start time set time
NMI exception
handling
Oscillation settling time
Figure 21.2 Standby Mode NMI Timing (Application Example)
Rev. 5.00 Jan 06, 2006 page 650 of 818
REJ09B0273-0500