(3)
Input Capture Function
The TCNT value can be transferred to TGR on detection of the TIOC pin input edge. Rising edge,
falling edge, or both edges can be selected as the detected edge.
1. Example of input capture operation setting procedure
Figure 12.12 shows an example of the input capture operation setting procedure.
Select input capture input
<Input capture operation>
Figure 12.12 Example of Input Capture Operation Setting Procedure
Input selection
Start count
Section 12 16-Bit Timer Pulse Unit (TPU)
[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.
[1]
[2]
Rev. 3.00 Jul. 14, 2005 Page 339 of 986
REJ09B0098-0300