18.7.4
Software Standby Mode Application Example
Figure 18.2 shows an example in which a transition is made to software standby mode at the
falling edge on the NMI pin, and software standby mode is cleared at the rising edge on the NMI
pin.
In this example, an NMI interrupt is accepted with the NMIEG bit in INTCR cleared to 0 (falling
edge specification), then the NMIEG bit is set to 1 (rising edge specification), the SSBY bit is set
to 1, and a SLEEP instruction is executed, causing a transition to software standby mode.
Software standby mode is then cleared at the rising edge on the NMI pin.
Oscillator
Iφ
NMI
NMIEG
SSBY
Figure 18.2 Software Standby Mode Application Example
NMI exception
Software standby mode
handling
(power-down mode)
NMIEG = 1
SSBY = 1
SLEEP instruction
Section 18 Power-Down States
NMI exception
Oscillation
handling
settling time
t
OSC2
Rev.2.00 Jun. 28, 2007 Page 579 of 666
REJ09B0311-0200