EasyManua.ls Logo

Renesas RL78/G13 - Changing Count Clock

Renesas RL78/G13
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 Safety Function (Frequency Detection)
5.8.19 Changing Count Clock
Figure 5.22 shows the flowchart for changing the count clock.
Stop channel 5 of TAU0
R_TAU0_Channel5_Stop()
Ye s
No
HOCO clock =
TAU0_COUNT_C
LOCK_1?
clock
TAU0_COUNT_CLOCK_2
clock
TAU0_COUNT_CLOCK_1
clock: Variable which contains HOCODIV register
settings
Change HOCO clock
R_Main_HOCO_
Change(clock)
Check HOCODIV register settings.
Ye s
No
HOCO clock =
TAU0_COUNT_C
LOCK_1?
Turn LED2 off
Turn LED2 on
return
R_Main_fCLK_Change()
Figure 5.22 Changing Count Clock
R01AN0956EJ0100 Rev. 1.00 Page 50 of 70
Feb. 27, 2012

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals