Figure 9.26 Example Of Phase Counting Mode 1 Operation; Table 9.35 Up/Down-Count Conditions In Phase Counting Mode 1 - Renesas H8SX/1520 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

Section 9 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 9.26 shows an example of phase counting mode 1 operation, and table 9.35 summarizes the
TCNT up/down-count conditions.
TCLKA (channels 1 and 5)
TCLKC (channels 2 and 4)
TCLKB (channels 1 and 5)
TCLKD (channels 2 and 4)
TCNT value

Table 9.35 Up/Down-Count Conditions in Phase Counting Mode 1

TCLKA (Channels 1 and 5)
TCLKC (Channels 2 and 4)
High level
Low level
High level
Low level
[Legend]
: Rising edge
: Falling edge
Rev. 3.00 Mar. 14, 2006 Page 320 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
Up-count

Figure 9.26 Example of Phase Counting Mode 1 Operation

TCLKB (Channels 1 and 5)
TCLKD (Channels 2 and 4)
Low level
High level
High level
Low level
Down-count
Time
Operation
Up-count
Down-count

Advertisement

Table of Contents
loading

Table of Contents