English
Language : 

H8S2189R Datasheet, PDF (343/812 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
Section 11 16-Bit Timer Pulse Unit (TPU)
(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 11.12 shows an example of the input capture operation setting procedure.
Input selection
Select input capture input
[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
[1]
operation.
Start count
[2]
<Input capture operation>
Figure 11.12 Example of Input Capture Operation Setting Procedure
Rev. 2.00 Aug. 03, 2005 Page 301 of 766
REJ09B0223-0200