(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.
(a)
Example of input capture operation setting procedure
Figure 10.12 shows an example of the input capture operation setting procedure.
Input selection
Select input capture input
<Input capture operation>
Figure 10.12 Example of Input Capture Operation Setting Procedure
[1]
[2]
Start count
Section 10 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.
Rev. 1.00 May 09, 2008 Page 257 of 954
REJ09B0462-0100