English
Language : 

SH7720 Datasheet, PDF (603/1524 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 15 16-Bit Timer Pulse Unit (TPU)
(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 15.15 shows an example of phase counting mode 1 operation, and table 15.8 summarizes
the TCNT up/down-count conditions.
TPU_TI2A (channel 2)
TPU_TI3A (channel 3)
TPU_TI2B (channels 2)
TPU_TI3B (channels 3)
TCNT value
Up-count
Down-count
Time
Figure 15.15 Example of Phase Counting Mode 1 Operation
Table 15.8 Up/Down-Count Conditions in Phase Counting Mode 1
TPU_TI2A (Channel 2)
TPU_TI3A (Channel 3)
High level
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge
TPU_TI2B (Channel 2)
TPU_TI3B (Channel 3)
Low level
High level
High level
Low level
Operation
Up-count
Down-count
Rev. 3.00 Jan. 18, 2008 Page 541 of 1458
REJ09B0033-0300