Datasheet

Section 10 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Sep. 28, 2009 Page 287 of 994
REJ09B0452-0200
(d) Phase counting mode 4
Figure 10.29 shows an example of phase counting mode 4 operation, and table 10.24 summarizes
the TCNT up/down-count conditions.
Time
Up-count
Down-count
TCNT value
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
Figure 10.29 Example of Phase Counting Mode 4 Operation
Table 10.24 Up/Down-Count Conditions in Phase Counting Mode 4
TCLKA (Channel 1)
TCLKC (Channel 2)
TCLKB (Channel 1)
TCLKD (Channel 2) Operation
High level
Low level
Up-count
Low level
High level
Don't care
High level
Low level
Down-count
High level
Don't care
Low level
[Legend]
: Rising edge
: Falling edge