Section 11 Multi-Function Timer Pulse Unit 2
Page 530 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
(2) Examples of Phase Counting Mode Operation
In phase counting mode, TCNT counts up or down according to the phase difference between two
external clocks. There are four modes, according to the count conditions.
(a) Phase counting mode 1
Figure 11.30 shows an example of phase counting mode 1 operation, and table 11.46 summarizes
the TCNT up/down-count conditions.
TCNT value
Time
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
Up-count
Down-count
Figure 11.30 Example of Phase Counting Mode 1 Operation
Table 11.46 Up/Down-Count Conditions in Phase Counting Mode 1
TCLKA (Channel 1)
TCLKC (Channel 2)
TCLKB (Channel 1)
TCLKD (Channel 2)
Operation
High level
Up-count
Low level
Low level
High level
High level Down-count
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge