EasyManua.ls Logo

Renesas RL78/G13 - Changing Interval of Channel 0 of TAU0

Renesas RL78/G13
54 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 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 46 of 51
May 28, 2015
5.8.22 Changing Interval of Channel 0 of TAU0
Figure 5.23 shows the flowchart for changing the interval of channel 0 of TAU0.
Figure 5.23 Changing Interval of Channel 0 of TAU0
R_TAU0_Channel0
_
ChangeInterval
return
NO
YES
Division ratio of
operation clock < 15?
Division ratio of operation clock = 15
Set up operation clock of channel 0
of TAU0
Set count value of channel 0 of TAU0
PS0 register
PRS003 to PRS000 = Division ratio of operation clock
TDR00 register
Count value
[Arguments]
: Frequency division ratio of operation clock (0 to 15)
: Count value (0 to 65535)

Other manuals for Renesas RL78/G13

Related product manuals