RL78/G23
ELCL Multiple Parameter Monitoring Function
R01AN5615EJ0200 Rev.2.00
Page 15 of 42
Mar.24.22
[Function name] r_Config_INTC_intp0_interrupt
Outline
INTP0 interrupt process
Header
r_cg_macrodriver.h, r_cg_userdefine.h, Config_INTC.h, Config_TAU0_7.h
Declaration
#pragma interrupt r_Config_INTC_intp0_interrupt (vect=INTP0)
Description
Sets g_timer_mode to indicate the state of the timer.
Sets the INTP0 interrupt generation flag g_timer_flag to 1.
Execute the wait process to prevent chattering when pressing SW1.
Arguments
None
Return value
None
Remarks
None
[Function name] r_ms_delay
Outline
Wait process
Header
r_cg_macrodriver.h, r_cg_userdefine.h, Config_TAU0_7.h
Declaration
void r_ms_delay (uint16_t msec);
Description
This function waits for the time (ms) specified by the argument msec.
This function counts using channel 7.
Polls if g_ms_timer is less than CHATTA_WAIT, completes wait process if more than
CHATTA_WAIT.
Arguments
msec
Return value
None
Remarks
None
[Function name] r_Config_TAU0_7_interrupt
Outline
TAU0 channel 7 interrupt process
Header
r_cg_macrodriver.h, r_cg_userdefine.h, Config_TAU0_7.h
Declaration
#pragma interrupt r_Config_TAU0_7_interrupt (vect=INTTM07)
Description
This function is an interrupt process by INTTM07 on TAU0 channel 7.
Counts up g_ms_timer.
Arguments
None
Return value
None
Remarks
None