Renesas RX100 Series User Manual page 409

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

Advertisement

RX13T Group
(1) Example of 16-Bit Phase Counting Mode Setting Procedure
Figure 19.29 shows an example of the phase counting mode setting procedure.
16-bit phase counting mode
Select A- or B-phase input
<16-bit phase counting mode>
Figure 19.29
Example of 16-Bit Phase Counting Mode Setting Procedure
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
16-bit select phase
[1]
counting mode
[2]
signal
Start count operation
[3]
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
[1] Set the TMDR3.LWA bit of MTU1 to 0.
Set the TMDR1.MD[3:0] bits to select the
phase counting mode.
[2] When the MTU2 is set to phase counting
mode, select the A- or B-phase input
signal with the PHCKSEL bit in TMDR3.
This setting is not necessary for MTU1
because MTCLKA and MTCLKB are
always selected for A-phase and B-
phase, respectively.
[3] Set the CSTn bit in TSTRA to 1 to start
the count operation.
Page 409 of 1041

Advertisement

Table of Contents
loading

Table of Contents