R01UH0823EJ0100 Rev.1.00
Page 231 of 1823
Jul 31, 2019
RX23W Group
11. Low Power Consumption
11.2.6
Operating Power Control Register (OPCCR)
Note:
Set the PRCR.PRC1 bit to 1 (write enabled) before rewriting this register.
The OPCCR register is used to reduce power consumption in normal operating mode, sleep mode, and deep sleep mode.
Power consumption can be reduced according to the operating frequency and operating voltage to be used by the OPCCR
setting.
The OPCCR register cannot be rewritten under the following conditions:
When the OPCCR.OPCMTSF flag is 1 (during transition)
Time period from WAIT instruction execution for a sleep mode transition, until exit from sleep mode to normal
operation
Time period from WAIT instruction execution for a deep sleep mode transition, until exit from deep sleep mode to
normal operation
When the SOPCCR.SOPCM bit is 1 (low-speed operating mode)
The OPCCR register cannot be rewritten while the flash memory is being programmed or erased (P/E).
For the procedures of changing operating power control modes, refer to Function in
section 11.5, Function for Lower
During sleep mode or mode transitions, do not write to the registers related to system control (indicated by ‘SYSTEM’ in
the Module Symbol column in
Table 5.1, List of I/O Registers (Address Order)
).
OPCM[2:0] Bits (Operating Power Control Mode Select)
The OPCM[2:0] bits select operating power control mode in normal operating mode, sleep mode, and deep sleep mode.
shows the relationship between operating power control modes, the OPCM[2:0] and SOPCM bit settings,
and the operating frequency and voltage ranges.
OPCMTSF Flag (Operating Power Control Mode Transition Status Flag)
This flag indicates the switching control state during and after operating power mode transition.
This flag becomes 1 when the value of the OPCM[2:0] bits is rewritten, and 0 when mode transition is completed. Read
this flag and confirm that it is 0 before proceeding to the next processing. Only rewrite the OPCM[2:0] bits when this
flag is 0.
Address(es): 0008 00A0h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
OPCM
TSF
—
OPCM[2:0]
Value after reset:
0
0
0
0
0
0
1
0
Bit
Symbol
Bit Name
Description
R/W
b2 to b0
Operating Power Control
Mode Select
b2 b0
0 0 0: High-speed operating mode
0 1 0: Middle-speed operating mode
Settings other than above are prohibited.
R/W
b3
—
Reserved
This bit is read as 0. The write value should be 0.
R/W
b4
Operating Power Control
Mode Transition Status
Flag
0: Transition completed
1: During transition
R
b7 to b5
—
Reserved
These bits are read as 0. The write value should be 0.
R/W