Datasheet

Section 9 16-Bit Timer Pulse Unit (TPU)
Rev.7.00 Dec. 24, 2008 Page 321 of 698
REJ09B0074-0700
4. Phase counting mode 4
Figure 9.29 shows an example of phase counting mode 4 operation, and table 9.23 summarizes
the TCNT up/down-count conditions.
Tim
e
Up-count
Down-count
TCNT value
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
Figure 9.29 Example of Phase Counting Mode 4 Operation
Table 9.23 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