• Phase Counting Mode 4
Figure 12.32 shows an example of phase counting mode 4 operation, and table 12.24
summarizes the TCNT up/down-count conditions.
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
TCNT value
Figure 12.32 Example of Phase Counting Mode 4 Operation
Table 12.24 Up/Down-Count Conditions in Phase Counting Mode 4
TCLKA (Channel 1)
TCLKC (Channel 2)
High level
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge
Up-count
TCLKB (Channel 1)
TCLKD (Channel 2)
Low level
High level
High level
Low level
Down-count
Operation
Up-count
Don't care
Down-count
Don't care
Rev. 1.00, 09/03, page 347 of 704
Time