Figure 12.29 Example Of Phase Counting Mode 1 Operation; Table 12.21 Up/Down-Count Conditions In Phase Counting Mode 1 - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

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 12.29 shows an example of phase counting mode 1 operation, and table 12.21
summarizes the TCNT up/down-count conditions.
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
TCNT value

Figure 12.29 Example of Phase Counting Mode 1 Operation

Table 12.21 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
Rev. 1.00, 09/03, page 344 of 704
Up-count
TCLKB (Channel 1)
TCLKD (Channel 2)
Low level
High level
High level
Low level
Down-count
Operation
Up-count
Down-count
Time

Advertisement

Table of Contents
loading

Table of Contents