RL78/G13 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 28 of 51
May 28, 2015
Controlling clock operation
Clock operation status control register (CSC)
: Control operation of high-speed system clock,
Subsystem clock, and
high-speed on-chip oscillator clock.
Symbol: CSC
7 6 54321 0
MSTOPXTSTOP00000HIOSTOP
When HOCO clock is used 1 0 0
0
When X1 oscillation clock is used 0 1
When XT1 oscillation clock is used 1 1
Bit 7
MSTOP
High-speed system clock operation control
X1 oscillation mode External clock input mode Input port mode
0 X1 oscillator operating
External clock from EXCLK pin is
valid.
Input mode
1 X1 oscillator stopped
External clock from EXCLK pin is
invalid.
Bit 6
XTSTOP
Subsystem clock operation control
XT1 oscillation mode time External clock input mode Input port mode
0 XT1 oscillator operating
External clock from EXCLKS pin is
valid.
Input mode
1 XT1 oscillator stopped
External clock from EXCLKS pin is
invalid.
Bit 0
HIOSTOP High-speed on-chip oscillator clock operation control
0 High-speed on-chip oscillator operating.
1 High-speed on-chip oscillator stopped.
Caution: For details on the register setup procedures, refer to RL78/G13 User's Manual: Hardware.