12.7.3
Input Capture Operation
TMR_X has input capture registers (TICRR and TICRF). A narrow pulse width can be measured
with TICRR and TICRF, using a single capture. If the falling edge of TMRIX (TMR_X input
capture input signal) is detected after its rising edge has been detected, the value of TCNT_X at
that time is transferred to both TICRR and TICRF.
(1)
Input Capture Signal Input Timing
Figure 12.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 12.12 shows the timing of this operation.
φ
TMRIX
Input capture
signal
(Input capture signal is input during TICRR and TICRF read)
n
M
m
Figure 12.11 Timing of Input Capture Operation
Figure 12.12 Timing of Input Capture Signal
n + 1
n
n
m
TICRR, TICRF read cycle
T
1
Rev. 1.00 May 09, 2008 Page 341 of 954
Section 12 8-Bit Timer (TMR)
N
N + 1
N
T
2
REJ09B0462-0100