RL78/G13
Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00
Page 38 of 51
May 28, 2015
5.8.14
Switching from XT1 Oscillation Clock to HOCO Clock
Figure 5.15 shows the flowchart for switching from XT1 oscillation clock to HOCO clock.
Figure 5.15 Switching from XT1 Oscillation Clock to HOCO Clock
return
R_CGC_XT1ToHOCO
CKC register
CSS
0
HIOSTOP
0
Set up HOCO
Select main system clock (f
MAIN
)
as CPU/peripheral hardware
clock (f
CLK
)