RL78/G13 Safety Function (Frequency Detection)
R01AN0956EJ0100 Rev. 1.00 Page 10 of 70
Feb. 27, 2012
5.2 File Configuration
Table 5.1 lists the files that are used in this sample code. This table excludes files which are automatically generated by
the integrated development environment.
Table 5.1 File Configuration
File name Overview Remarks
r_main.c Main module Additional functions:
R_Main_Get_PulseWidthMeasureResult,
R_Main_fCLK_Change,
R_Main_HOCO_Change,
R_Main_Start_LedBlink,
R_Main_Stop_LedBlink
r_cg_intc_user.c External interrupt input module
INTP0 external interrupt
Additional functions:
R_INTC0_Get_INTP0_Flag,
R_INTC0_Clear_INTP0_Flag
r_cg_timer_user.c TAU module
Capture end timer interrupt (INTTM05)
Additional functions:
R_TAU0_Channel5_MeasureStart,
R_TAU0_Channel5_Get_MeasureStatus,
R_TAU0_Channel5_Clear_MeasureStatus
r_cg_it_user.c Interval timer module
Interval timer interrupt
Additional functions:
R_IT_Get_fCLK_ChangeFlag,
R_IT_Clear_fCLK_ChangeFlag,
R_IT_Get_INTIT_Flag
R_IT_Clear_INTIT_Flag