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
nn
m
M
m
N + 1N
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)