RL78/G13 Safety Function (Frequency Detection)
R01AN0956EJ0100 Rev. 1.00 Page 15 of 70
Feb. 27, 2012
5.7 Function Specifications
This section describes the specifications for the functions that are used in the sample code.
[Function Name] R_INTC0_Start
Synopsis
Starts INTP0 external interrupt processing.
Header
r_cg_macrodriver.h
r_cg_intc.h
r_cg_userdefine.h
Declaration
void R_INTC0_Start(void)
Explanation
This function unmasks INTP0 external interrupts.
Arguments None
Return value None
Remarks
None
[Function Name] R_TAU0_Channel5_MeasureStart
Synopsis
Discards pulse interval measurement.
Header
r_cg_macrodriver.h
r_cg_timer.h
r_cg_userdefine.h
Declaration
void R_TAU0_Channel5_MeasureStart(void)
Explanation
This function waits until the first pulse interval measurement after the start of the timer (TM05).
Then, it clears the interrupt flag.
Arguments None
Return value None
Remarks
None
[Function Name] R_TAU0_Channel5_Start
Synopsis
Starts channel 5 of TAU0.
Header
r_cg_macrodriver.h
r_cg_timer.h
r_cg_userdefine.h
Declaration
void R_TAU0_Channel5_Start(void)
Explanation
This function unmasks interrupts for channel 5 of TAU0 and starts counting.
Arguments None
Return value None
Remarks
None