RL78/I1D
Operation state switching IAR
R01AN3597EJ0100 Rev.1.00
Page 10 of 42
Jan. 31, 2017
4.6. Function specification
Below shows the function specification of the sample code.
R_MAIN_UserInit
Outline
The main user initialization.
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_intc.h, r_cg_it.h, r_cg_pclbuz.h
Declaration
void R_MAIN_UserInit(void)
Explanation
Performs initialization necessary to the operation of the application.
Parameter
None
Return value
None
R_INTC0_Start
Outline
INTP0 interrupt enable processing.
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_intc.h
Declaration
void R_INTC0_Start(void)
Explanation
After clearing the INTP0 interrupt request flag of, it will allow the interrupt.
Parameter
None
Return value
None
R_IT_Start
Outline
12-bit interval timer start processing.
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_it.h
Declaration
void R_IT_Start(void)
Explanation
Start the count operation of the 12-bit interval timer.
Parameter
None
Return value
None
R_PCLBUZ1_Start
Outline
Clock output start processing.
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_pclbuz.h
Declaration
void R_PCLBUZ1_Start(void)
Explanation
Start the clock count operation.
Parameter
None
Return value
None
R_ADC_Start
Outline
A/D conversion operation start processing.
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
Declaration
void R_ADC_Start(void)
Explanation
Start the A/D conversion operation.
Parameter
None
Return value
None