English
Language : 

SH7101 Datasheet, PDF (191/486 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
8. Multi-Function Timer Pulse Unit (MTU)
Example of Phase Counting Mode Setting Procedure: Figure 8.24 shows an example of the
phase counting mode setting procedure.
Phase counting mode
Select phase counting [1]
mode
[1] Select phase counting mode with bits
MD3 to MD0 in TMDR.
[2] Set the CST bit in TSTR to 1 to start
the count operation.
Start count
[2]
<Phase counting mode>
Figure 8.24 Example of 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
Figure 8.25 shows an example of phase counting mode 1 operation, and table 8.33 summarizes
the TCNT up/down-count conditions.
TCLKA (channel 1)
TCLKC (channel 2)
TCLKB (channel 1)
TCLKD (channel 2)
TCNT value
Up-count
Down-count
Time
Figure 8.25 Example of Phase Counting Mode 1 Operation
Rev.2.00 Sep. 27, 2007 Page 157 of 448
REJ09B0394-0200