Return From Power-Down States; Return From Sleep Mode Or Deep Sleep Mode; Return From Software Standby Mode - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
14.6

Return from Power-Down States

The interrupt sources that can be used to return operation from sleep mode, deep sleep mode, or software standby mode
are listed in Table 14.3, Interrupt Vector Table .
For details, refer to section 11, Low Power Consumption . The following describes how to use an interrupt to return
operation from each low power consumption mode.
14.6.1

Return from Sleep Mode or Deep Sleep Mode

If the interrupt controller is to return operation from sleep mode in response to an interrupt or non-maskable interrupt,
make the following settings for the interrupt.
 Interrupts
1. Select the CPU as the interrupt request destination.
2. Use the IENj bit in IERm (m = 02h to 1Fh, j = 0 to 7) to enable the given interrupt request.
3. Set a priority level higher than that set by the IPL[3:0] bits in the PSW of CPU.
 Non-maskable interrupts
Use the NMIER register to enable the given interrupt request.
14.6.2

Return from Software Standby Mode

The interrupt controller can return operation from a non-maskable interrupt or an interrupt that enables the return from
the software standby mode.
The conditions for the return are listed below.
 Interrupts
1. Select the interrupt source that enables the return from the software standby mode.
2. Select the CPU as the interrupt request destination.
3. Use the IENj bit in IERm (m = 02h to 1Fh, j = 0 to 7) to enable the given interrupt request.
4. Set a priority level higher than that set by the IPL[3:0] bits in the PSW of CPU.
(For the interrupt source specified as a fast interrupt, as well as setting the fast interrupt set register (FIR), the
interrupt priority level (IPRn (n = interrupt vector number)) should be set above the level set by IPL in the PSW of
the CPU.)
Interrupt requests through the IRQ pins that do not satisfy the above conditions are not detected while the clock is
stopped in software standby mode.
 Non-maskable interrupts
Use the NMIER register to enable the given interrupt request.
 Procedure to make a transition to/from software standby mode
1. Before software standby mode is entered, disable the digital filter for the interrupt source as a return target
(IRQFLTE0.FLTENi = 0, NMIFLTE.NFLTEN = 0).
2. To use the digital filter again after return from software standby mode, enable the digital filter (IRQFLTE0.FLTENi
= 1, NMIFLTE.NFLTEN = 1).
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
14. Interrupt Controller (ICUb)
Page 230 of 1041

Advertisement

Table of Contents
loading

Table of Contents