Renesas RX100 Series User Manual page 410

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

Advertisement

RX13T Group
(2) Examples of 16-Bit Phase Counting Mode Operation
In phase counting mode, TCNT is incremented or decremented according to the phase difference between two external
clocks. There are five modes according to the count conditions. Each mode operates under the condition PHCKSEL = 1,
which means the phase clock for MTU1 is input from MTCLKA or MTCLKB and that for MTU2 is input from
MTCLKC or MTCLKD.
(a) Phase Counting Mode 1
Figure 19.30 shows an example of operation in phase counting mode 1, and Table 19.51 summarizes the TCNT up-
counting and down-counting conditions.
MTCLKA (MTU1)
MTCLKC (MTU2)
MTCLKB (MTU1)
MTCLKD (MTU2)
TCNT value
Figure 19.30
Example of Operation in Phase Counting Mode 1
Table 19.51
Up-Counting and Down-Counting Conditions in Phase Counting Mode 1
MTCLKA (MTU1)
MTCLKC (MTU2)
High
Low
High
Low
: Rising edge
: Falling edge
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Up-counting
MTCLKB (MTU1)
MTCLKD (MTU2)
Low
High
High
Low
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
Down-counting
Operation
Up-counting
Down-counting
Time
Page 410 of 1041

Advertisement

Table of Contents
loading

Table of Contents