(d) Phase counting mode 4
Figure 9.29 shows an example of phase counting mode 4 operation, and table 9.38 summarizes the
TCNT up/down-count conditions.
TCLKA (channels 1 and 5)
TCLKC (channels 2 and 4)
TCLKB (channels 1 and 5)
TCLKD (channels 2 and 4)
TCNT value
Figure 9.29 Example of Phase Counting Mode 4 Operation
Table 9.38 Up/Down-Count Conditions in Phase Counting Mode 4
TCLKA (Channels 1 and 5)
TCLKC (Channels 2 and 4)
High level
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge
Up-count
TCLKB (Channels 1 and 5)
TCLKD (Channels 2 and 4)
Low level
High level
High level
Low level
Section 9 16-Bit Timer Pulse Unit (TPU)
Down-count
Operation
Up-count
Don't care
Down-count
Don't care
Rev. 3.00 Mar. 14, 2006 Page 323 of 804
REJ09B0104-0300
Time