RX610 Group
8. Low Power Consumption
R01UH0032EJ0120 Rev.1.20
Page 197 of 1006
Feb 20, 2013
8.5.4.2
Canceling Deep Software Standby Mode
Deep software standby mode is canceled by an external interrupt (NMI or IRQ0-A to IRQ3-A pins) or the reset signal
from the RES# pin.
1.
Canceling by an external interrupt
The DPSIFR holds the cancelation cause of deep software standby mode and the bits in this register are set to 1
when the corresponding cancelation requests are generated. When a bit is set to 1 and the corresponding cancelation
cause is enabled in the DPSIER register, deep software standby mode is canceled.
Deep software standby mode is canceled when any of the DNMIF flag in DPSIFR and the DIRQnF flag (n = 3 to 0)
in DPSIFR is set to 1. The DNMIF or DIRQnF flag is set to 1 when an edge is generated on the NMI pin or IRQ0-A
to IRQ3-A pins enabled by the DNMIE bit in DPSIER or the DIRQnE bit (n = 3 to 0) in DPSIER. Rising edge or
falling edge is selectable with DPSIEGR for each pin.
When a deep software standby mode canceling source is generated, clock oscillation starts and the internal power
supply begins at the same time, and then the internal reset signal is generated throughout the LSI. After the time
specified by the WTSTS[5:0] bits in DPSWCR has passed, stable clocks are supplied to the entire LSI and the
internal reset is released. At the same time, deep software standby mode is canceled and the reset exception handling
starts.
When deep software standby mode is canceled by an external interrupt, the DPSRSTF flag in RSTSR is set to 1.
2.
Canceling by the RES# pin
When the RES# pin is driven low, clock oscillation starts and the internal power supply begins at the same time.
Clocks are supplied to the LSI simultaneously with the start of clock oscillation. Be sure to hold the RES# pin low
until the clock oscillation settles. When the RES# pin is driven high, the CPU begins the reset exception handling.
8.5.4.3
Pin States when Deep Software Standby Mode is Canceled
In deep software standby mode, I/O ports retain the same states from software standby mode. The inside of the LSI is
initialized by an internal reset generated when deep software standby mode is canceled. Upon cancellation of deep
software standby mode, the reset exception handling starts. The following shows the states of I/O ports at this time.
Whether to initialize the I/O ports or to keep retaining the I/O port states at the time of software standby mode can be
selected by the IOKEEP bit in DPSBYCR.
•
When IOKEEP = 0
I/O ports are initialized by an internal reset generated when deep software standby mode is canceled.
•
When IOKEEP = 1
Although the inside of the LSI is initialized by an internal reset generated when deep software standby mode is
canceled, I/O ports keep retaining their states from software standby mode regardless of the LSI internal state. At this
time, the I/O port states remain unchanged from software standby mode even if settings of I/O ports or peripheral
modules are made. Then the retained I/O port states are released by clearing the IOKEEP bit to 0, and the LSI operates
according to the internal state.
The IOKEEP bit is not initialized by an internal reset generated when deep software standby mode is canceled.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...