RL78/G13 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 39 of 51
May 28, 2015
5.8.15 Getting Clock Status
Figure 5.16 shows the flowchart for getting clock status.
Figure 5.16 Getting Clock Status
R
CGC
GetClockStatus
R_CGC_Get_X1_Status()
Default
HOCO clock
R_CGC_Get_XT1_Status()
R_CGC_Get_HOCO_Status()
Clock status?
Get X1 oscillation clock status
Get XT1 oscillation clock status
Get HOCO clock status
X1 oscillation clock
X1 oscillation clock
return status
[Argument]
Clock status