Input Capture Operation; Figure 13.11 Timing Of Input Capture Operation - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 13 8-Bit Timer (TMR)
13.7

Input Capture Operation

TMR_X has input capture registers (TICR, TICRR and TICRF). A narrow pulse width can be
measured with TICRR and TICRF, using a single capture operation controlled by the ICST bit in
TCONRI of the timer connection. If the falling edge of TMRIX (TMR_X input capture input
signal) is detected after its rising edge has been detected while the ICST bit is set to 1, the value of
TCNT_X at that time is transferred to both TICRR and TICRF, and the ICST bit is cleared to 0.
The TMRIX input signal can be switched by the setting of the other bits in TCONRI.
Input Capture Signal Input Timing: Figure 13.11 shows the timing of the input capture
operation.
φ
TMRIX
Input capture
signal
TCNT_X
TICRR
TICRF
If the input capture signal is input while TICRR and TICRF are being read, the input capture
signal is delayed by one system clock (φ) cycle. Figure 13.12 shows the timing of this operation.
Rev. 3.00 Jan 25, 2006 page 336 of 872
REJ09B0286-0300
n
M
m

Figure 13.11 Timing of Input Capture Operation

n + 1
n
N
n
m
N
N + 1

Advertisement

Table of Contents
loading

Table of Contents