RL78/I1D
Operation state switching IAR
R01AN3597EJ0100 Rev.1.00
Page 12 of 42
Jan. 31, 2017
switch_flashmode_to_LP
Outline
The flash operation state is switched to the LP mode.
Header
r_cg_intc.h
Declaration
void switch_flashmode_to_LP(void)
Explanation
The flash operation state is switched to the LP mode.
Parameter
None
Return value
None
switch_flashstatemode_to_LV_M
Outline
The flash operation state is switched to the LV mode(MOCO).
Header
r_cg_intc.h
Declaration
void switch_flashmode_to_LV_M(void)
Explanation
The flash operation state is switched to the LV mode. Set the CPU clock to the Middle-speed
on-chip oscillator.
Parameter
None
Return value
None
r_adc_interrupt
Outline
A/D conversion complete interrupt processing
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
Declaration
__interrupt static void r_adc_interrupt(void)
Explanation
A/D function is stopped, and the result of A/D conversion is stored in RAM area.
Parameter
None
Return value
None
R_ADC_Result
Outline
A/D conversion result acquisition process
Header
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
Declaration
None
Explanation
Store the results of A/D conversion in the RAM area.
Parameter
None
Return value
None
r_intc0_interrupt
Outline
External interrupt processing
Header
r_cg_macrodriver.h
、
r_cg_userdefine.h
、
r_cg_intc.h
Declaration
__interrupt static void r_intc0_interrupt(void)
Explanation
Pushing button calls this function where operation state switching is executed.
Parameter
None
Return value
None