Renesas H8S/2100 Series Hardware Manual page 283

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

(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

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents