RL78/G23
ELCL Multiple Parameter Monitoring Function
R01AN5615EJ0200 Rev.2.00
Page 17 of 42
Mar.24.22
4.8.2 Channel change process for TAU0
Figure 4-5 shows flowchart of the channel change process for TAU0.
Figure 4-5 Channel change process for TAU0 (1/2)
r_timer_update()
Disable outputs of TAU00,
TAU01, TAU02 and TAU03
RETI
g_timer_mode = 0
g_timer_mode = 1
g_timer_mode = 2
g_timer_mode = 3
g_timer_mode = 4
A
B
C
D
A
’
B
’
C
’
D
’
TOE0L = 00H
LED1 = OFF
STOP & Reset TAU0
R_TAU0_Set_PowreOff()
Initialization of TAU00
R_Config_TAU0_0_Create
Enable outputs of TAU00
A
B
A
’
B
’
g_timer_mode = 1
g_timer_mode = 2
TAU00 count start
Initialization of TAU00
R_Config_TAU0_0_Create
Initialization of TAU01
R_Config_TAU0_1_Create
Enable outputs of TAU00 and
TAU01
TAU00 and TAU01 count start
TOE0L = 01H
TS0 = 01H
TOE0L = 03H
TS0 = 03H