RX610 Group
8. Low Power Consumption
R01UH0032EJ0120 Rev.1.20
Page 199 of 1006
Feb 20, 2013
8.5.4.5
Example of Deep Software Standby Mode Application
Figure 8.3 shows an example where a transition to deep software standby mode is made at the falling edge on the IRQ
pin, and deep software standby mode is canceled at the rising edge on the IRQ pin.
In this example, an IRQ interrupt is accepted with the IRQMD[1:0] bits in IRQCRi of the ICU set to 01 (falling edge),
and then the DIRQnEG bit in DPSIEGR is set to 1 (rising edge). After that, the SSBY bit in SBYCR and the DPSBY bit
in DPSBYCR are set to 1, and then the WAIT instruction is executed. Thus a transition to deep software standby mode is
made.
After that, deep software standby mode is canceled at the rising edge on the IRQ pin.
Disabled by an internal reset
IRQ exception handling
DIRQEG = 1
SSBY = 1
DPSBY = 1
When IOKEEP = L
When IOKEEP = H
Oscillator
ICLK
IRQ
IRQ interrupt
DIRQnF set request
DIRQnEG bit
DPSBY bit
Cleared
IOKEEP bit
Cleared
L
L
I/O ports
IOKEEP bit
I/O ports
DPSRSTF flag
Internal reset
L
H
Set
Set
Set
Set
Set
Active
Active
Retained
Retained
Active
Active
Cleared
WAIT instruction
Deep software standby mode
(power-down state)
Oscillation
settling time
Reset exception
handling
Figure 8.3 Example of Deep Software Standby Mode Application