HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 632

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 18 Multi-Function Timer Pulse Unit (MTU)
Example of Phase Counting Mode Setting Procedure: Figure 18.24 shows an example of the
phase counting mode setting procedure.
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
Rev. 4.00 Sep. 14, 2005 Page 582 of 982
REJ09B0023-0400
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
Figure 18.25 shows an example of phase counting mode 1 operation, and table 18.33
summarizes the TCNT up/down-count conditions.
TCNT value
Figure 18.24 Example of Phase Counting Mode Setting Procedure
<Phase counting mode>
Select phase counting
Phase counting mode
Figure 18.25 Example of Phase Counting Mode 1 Operation
Start count
mode
Up-count
[1]
[2]
[1]
[2]
Select phase counting mode with bits MD3 to
MD0 in TMDR.
Set the CST bit in TSTR to 1 to start the
count operation.
Down-count
Time

Related parts for HD6417641