
RL78/G13
Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00
Page 23 of 51
May 28, 2015
5.8.2 System
Function
Figure 5.3 shows the flowchart for the system function.
Figure 5.3 System Function
r_ s ysteminit
return
Set up I/O ports
R_PORT_Create()
Set up CPU clock
R_CGC_Create()
Disuse peripheral I/O
redirection function
PIOR
register
00000000B
Set up TAU0
R_TAU0_Create()
Set up interval timer
R_IT_Create()
Set up external interrupt input
R_INTC_Create()