English
Language : 

SH7641 Datasheet, PDF (617/1036 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family / SH7641 Series
Section 18 Multi-Function Timer Pulse Unit (MTU)
Example of Input Capture Operation Setting Procedure: Figure 18.9 shows an example of the
input capture operation setting procedure.
Input selection
Select input capture input
[1]
Start count
[2]
[1] Designate TGR as an input capture register
by means of TIOR, and select rising edge,
falling edge, or both edges as the input
capture source and input signal edge.
[2] Set the CST bit in TSTR to 1 to start the
count operation.
<Input capture operation>
Figure 18.9 Example of Input Capture Operation Setting Procedure
Example of Input Capture Operation: Figure 18.10 shows an example of input capture
operation.
In this example both rising and falling edges have been selected as the TIOCA pin input capture
input edge, the falling edge has been selected as the TIOCB pin input capture input edge, and
counter clearing by TGRB input capture has been designated for TCNT.
Rev. 4.00 Sep. 14, 2005 Page 567 of 982
REJ09B0023-0400