Renesas RX100 Series User Manual page 400

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(1) Example of Cascaded Operation Setting Procedure
Figure 19.20 shows an example of the cascaded operation setting procedure.
Cascaded operation
Set cascading
<Cascaded operation>
Figure 19.20
Cascaded Operation Setting Procedure
(2) Cascaded Operation Example (a)
Figure 19.21 shows the operation when MTU1.TCNT is set for counting at MTU2.TCNT overflow/underflow and
MTU2 is set for phase counting mode 1 while MTU1.TCNT and MTU2.TCNT are cascaded.
MTU1.TCNT is incremented by MTU2.TCNT overflow and decremented by MTU2.TCNT underflow.
MTCLKC
MTCLKD
MTU2.TCNT
MTU1.TCNT
Figure 19.21
Cascaded Operation Example (a)
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
[1]
Start count
[2]
FFFEh
FFFDh
FFFFh
0000h
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
[1] Set bits TPSC[2:0] in TCR to 111b in MTU1 to
select MTU2.TCNT overflow/underflow counting.
[2] Set the CSTn bit in TSTRA for the upper and lower
channels to 1 to start the count operation.
0000h 0001h
0002h
0001h
0001h 0000h FFFFh
0000h
Page 400 of 1041

Advertisement

Table of Contents
loading

Table of Contents