Figure 12.12 Example Of Input Capture Operation Setting Procedure - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S 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.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents