Datasheet

Section 9 16-Bit Timer Pulse Unit (TPU)
Rev.7.00 Dec. 24, 2008 Page 319 of 698
REJ09B0074-0700
2. Phase counting mode 2
Figure 9.27 shows an example of phase counting mode 2 operation, and table 9.21 summarizes
the TCNT up/down-count conditions.
Time
Down-countUp-count
TCNT value
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
Figure 9.27 Example of Phase Counting Mode 2 Operation
Table 9.21 Up/Down-Count Conditions in Phase Counting Mode 2
TCLKA (Channel 1)
TCLKC (Channel 2)
TCLKB (Channel 1)
TCLKD (Channel 2) Operation
High level
Don't care
Low level Don't care
Low level Don't care
High level Up-count
High level Don't care
Low level Don't care
High level Don't care
Low level Down-count
Legend:
: Rising edge
: Falling edge