Figure 18.9 Example Of Input Capture Operation Setting Procedure - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

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
Start count
<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.
Section 18 Multi-Function Timer Pulse Unit (MTU)
[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.
[1]
[2]
Set the CST bit in TSTR to 1 to start the
count operation.
[2]
Rev. 4.00 Sep. 14, 2005 Page 567 of 982
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents