The Flash Operation State Is Switched To The Lp Mode; A/D Conversion Complete Interrupt Processing; External Interrupt Processing - Renesas RL78/I1D Application Note

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

Advertisement

RL78/I1D
switch_flashmode_to_LP
Outline
Header
Declaration
Explanation
Parameter
Return value
switch_flashstatemode_to_LV_M
Outline
Header
Declaration
Explanation
Parameter
Return value
r_adc_interrupt
Outline
Header
Declaration
Explanation
Parameter
Return value
R_ADC_Result
Outline
Header
Declaration
Explanation
Parameter
Return value
r_intc0_interrupt
Outline
Header
Declaration
Explanation
Parameter
Return value
R01AN3597EJ0100 Rev.1.00
Jan. 31, 2017

The flash operation state is switched to the LP mode.

r_cg_intc.h
void switch_flashmode_to_LP(void)
The flash operation state is switched to the LP mode.
None
None
The flash operation state is switched to the LV mode(MOCO).
r_cg_intc.h
void switch_flashmode_to_LV_M(void)
The flash operation state is switched to the LV mode. Set the CPU clock to the Middle-speed
on-chip oscillator.
None
None

A/D conversion complete interrupt processing

r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
__interrupt static void r_adc_interrupt(void)
A/D function is stopped, and the result of A/D conversion is stored in RAM area.
None
None
A/D conversion result acquisition process
r_cg_macrodriver.h, r_cg_userdefine.h, r_cg_adc.h
None
Store the results of A/D conversion in the RAM area.
None
None

External interrupt processing

r_cg_macrodriver.h、r_cg_userdefine.h、r_cg_intc.h
__interrupt static void r_intc0_interrupt(void)
Pushing button calls this function where operation state switching is executed.
None
None
Operation state switching IAR
Page 12 of 42

Advertisement

Table of Contents
loading

Table of Contents