English
Language : 

SH7201 Datasheet, PDF (1033/1196 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 25 Power-Down Modes
25.3.3 Software Standby Mode Application Example
This example describes a transition to software standby mode on the falling edge of the NMI
signal, and cancellation on the rising edge of the NMI signal. The timing is shown in figure 25.1.
When the NMI pin is changed from high to low level while the NMI edge select bit (NMIE) in
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 the NMI exception service routine, the STBY and DEEP bits in
STBCR are set to 1 and 0 respectively, and a SLEEP instruction is executed, software standby
mode is entered. Thereafter, software standby mode is canceled when the NMI pin is changed
from low to high level.
Oscillator
CK
NMI pin
NMIE bit
STBY bit
LSI state
Program
execution
NMI
Exception
exception
handling
service routine
Software
standby mode
Oscillation
settling time
NMI exception
handling
Figure 25.1 NMI Timing in Software Standby Mode (Application Example)
Rev. 2.00 Sep. 07, 2007 Page 1005 of 1164
REJ09B0321-0200