RL78/G13
Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00
Page 44 of 51
May 28, 2015
5.8.20
Getting Parameters of Channel 0 of TAU0
Figure 5.21 shows the flowchart for getting parameters of channel 0 of TAU0.
Figure 5.21 Getting Parameters of Channel of TAU0
return
R_TAU0_Channel0_GetParameter
HOCO
default
X1 oscillation
XT1 oscillation
Current clock status?
Set parameters for X1 oscillation
Set up X1 oscillation time (20 MHz) parameters as the
frequency division ratio and count
Set parameters for XT1 oscillation
Set up XT1 oscillation time (32.768 kHz) parameters as the
frequency division ratio and count
Set parameters for HOCO
Set up HOCO (32 MHz) parameters as the frequency
division ratio and count
[Argument]
Clock
status
Frequency division ratio and count of channel 0
operation clock of TAU0