Datasheet
Section 10 16-Bit Timer Pulse Unit (TPU) 
Rev.6.00 Sep. 27, 2007 Page 505 of 1268 
REJ09B0220-0600 
Examples of Phase Counting Mode Operation: In phase counting mode, TCNT counts up or 
down according to the phase difference between two external clocks. There are four modes, 
according to the count conditions. 
•  Phase counting mode 1 
Figure 10.29 shows an example of phase counting mode 1 operation, and table 10.9 
summarizes the TCNT up/down-count conditions. 
TCNT value 
Time
Down-countUp-count
TCLKA (channels 1 and 5)
TCLKC (channels 2 and 4)
TCLKB (channels 1 and 5)
TCLKD (channels 2 and 4)
Figure 10.29 Example of Phase Counting Mode 1 Operation 
Table 10.9  Up/Down-Count Conditions in Phase Counting Mode 1 
TCLKA (Channels 1 and 5) 
TCLKC (Channels 2 and 4) 
TCLKB (Channels 1 and 5) 
TCLKD (Channels 2 and 4) 
Operation 
High level 
 Up-count 
Low level   
 Low level  
 High level  
High level   Down-count 
Low level   
 High level  
 Low level  
Legend: 
: Rising edge 
: Falling edge 










