The Main User Initialization; Intp0 Interrupt Enable Processing; 12-Bit Interval Timer Start Processing; Clock Output Start Processing - Renesas RL78/I1D Application Note

Hide thumbs Also See for RL78/I1D:
Table of Contents

Advertisement

RL78/I1D
4.6. Function specification
Below shows the function specification of the sample code.
R_MAIN_UserInit
Outline
Header
Declaration
Explanation
Parameter
Return value
R_INTC0_Start
Outline
Header
Declaration
Explanation
Parameter
Return value
R_IT_Start
Outline
Header
Declaration
Explanation
Parameter
Return value
R_PCLBUZ1_Start
Outline
Header
Declaration
Explanation
Parameter
Return value
R_ADC_Start
Outline
Header
Declaration
Explanation
Parameter
Return value
R01AN3597EJ0100 Rev.1.00
Jan. 31, 2017

The main user initialization.

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_intc.h, r_cg_it.h, r_cg_pclbuz.h
void R_MAIN_UserInit(void)
Performs initialization necessary to the operation of the application.
None
None

INTP0 interrupt enable processing.

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_intc.h
void R_INTC0_Start(void)
After clearing the INTP0 interrupt request flag of, it will allow the interrupt.
None
None

12-bit interval timer start processing.

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_it.h
void R_IT_Start(void)
Start the count operation of the 12-bit interval timer.
None
None

Clock output start processing.

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_pclbuz.h
void R_PCLBUZ1_Start(void)
Start the clock count operation.
None
None

A/D conversion operation start processing.

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
void R_ADC_Start(void)
Start the A/D conversion operation.
None
None
Operation state switching IAR
Page 10 of 42

Advertisement

Table of Contents
loading

Table of Contents