RL78/G1A CHAPTER 5 CLOCK GENERATOR
R01UH0305EJ0200 Rev.2.00 155
Jul 04, 2013
5.3.7 Subsystem clock supply mode control register (OSMC)
This register is used to reduce power consumption by stopping unnecessary clock functions.
If the RTCLPC bit is set to 1, power consumption can be reduced, because clock supply to the peripheral functions,
except the real-time clock and 12-bit interval timer, is stopped in STOP mode or HALT mode while subsystem clock is
selected as CPU clock.
In addition, the OSMC register can be used to select the count clock of the real-time clock and 12-bit interval timer.
The OSMC register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 5-8. Format of Subsystem Clock Supply Mode Control Register (OSMC)
Address: F00F3H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
OSMC RTCLPC 0 0
WUTMMCK0
0 0 0 0
RTCLPC Setting in STOP mode or HALT mode while subsystem clock is selected as CPU clock
0 Enables supply of subsystem clock to peripheral functions
(See Tables 18-1, 18-2, and 18-3 for peripheral functions whose operations are enabled.)
1
Stops supply of subsystem clock to peripheral functions other than real-time clock and 12-bit
interval timer.
WUTMMCK0
Selection of count clock for real-time clock and 12-bit interval timer.
0 Subsystem clock (fSUB)
1 Low-speed on-chip oscillator clock (fIL)
<R>
<R>
<R>
<R>
<R>