English
Language : 

SH7763 Datasheet, PDF (808/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 20 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 20.15 shows an example of phase counting mode 1 operation, and table 20.10 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 20.15 Example of Phase Counting Mode 1 Operation
Table 20.10 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. 1.00 Oct. 01, 2007 Page 742 of 1956
REJ09B0256-0100