RL78/G13 Safety Function (Frequency Detection)
5.8.2 System Function
Figure 5.3 shows the flowchart for the system function.
R_Systeminit()
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 external interrupt input
R_INTC_Create()
Set up interval timer
R_IT_Create()
Set up real-time clock
R_RTC_Create()
Figure 5.3 System Function
R01AN0956EJ0100 Rev. 1.00 Page 26 of 70
Feb. 27, 2012