beautypg.com

3 input capture operation – Renesas H8S/2111B User Manual

Page 247

background image

Rev. 1.00, 05/04, page 213 of 544

10.8.3 Input

Capture

Operation

TMR_A has input capture registers (TICRR_A and TICRF_A). A narrow pulse width can be
measured with TICRR and TICRF, using a single capture. If the falling edge of TMRIA (TMR_A
input capture input signal) is detected after its rising edge has been detected, the value of TCNT_A
at that time is transferred to both TICRR and TICRF.

Input Capture Signal Input Timing: Figure 10.12 shows the timing of the input capture
operation.

φ

TMRIX

TMRIA

Input capture

signal

TCNT_X

TCNT_A

n

n

n

m

M

m

N + 1

N

N

n + 1

TICRR

TICRF

Figure 10.12 Timing of Input Capture Operation

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 10.13 shows the timing of this operation.

φ

TMRIX
TMRIA

TICRR, TICRF read cycle

T

1

T

2

Input capture
signal

Figure 10.13 Timing of Input Capture Signal

(Input capture signal is input during TICRR and TICRF read)

This manual is related to the following products: