RL78/G23
ELCL Multiple Parameter Monitoring Function
R01AN5615EJ0200 Rev.2.00
Page 18 of 42
Mar.24.22
Figure 4-6 Channel change process for TAU0 (2/2)
C
D
C
’
D
’
g_timer_mode = 3
g_timer_mode = 4
Initialization of TAU00
R_Config_TAU0_0_Create
Initialization of TAU01
R_Config_TAU0_1_Create
Enable outputs of TAU00,
TAU01 and TAU02
TAU00, TAU01 and TAU02
count start
Initialization of TAU00
R_Config_TAU0_0_Create
Initialization of TAU01
R_Config_TAU0_1_Create
Enable outputs of TAU00,
TAU01, TAU02 and TAU03
TAU00, TAU01, TAU02 and
TAU03 count start
Initialization of TAU02
R_Config_TAU0_2_Create
Initialization of TAU03
R_Config_TAU0_3_Create
Initialization of TAU02
R_Config_TAU0_2_Create
TOE0L = 07H
TS0 = 07H
TOE0L = 0FH
TS0 = 0FH
4.8.3 TAU0 reset process
Figure 4-7 shows flowchart of TAU0 reset process.
Figure 4-7 TAU0 reset process
r_timer_reset()
STOP TAU0 Clock
R_TAU0_Set_PowreOff()
Reset TAU0
R_TAU0_Set_Reset()
Release Reset
R_TAU0_Release_Reset()
START TAU0 Clock
R_TAU0_Set_PowerOn()
RETI