English
Language : 

SH7211 Datasheet, PDF (487/1228 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2)
(2) 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.
(a) Phase counting mode 1
Figure 10.30 shows an example of phase counting mode 1 operation, and table 10.48 summarizes
the TCNT up/down-count conditions.
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
TCNT value
Up-count
Down-count
Time
Figure 10.30 Example of Phase Counting Mode 1 Operation
Table 10.48 Up/Down-Count Conditions in Phase Counting Mode 1
TCLKA (Channel 1)
TCLKC (Channel 2)
High level
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge
TCLKB (Channel 1)
TCLKD (Channel 2)
Low level
High level
High level
Low level
Operation
Up-count
Down-count
Rev. 2.00 May. 08, 2008 Page 463 of 1200
REJ09B0344-0200