• Input capture operation
Figure 10.24 illustrates input capture. The falling edge of TIOCB and both edges of TIOCA are
selected as input capture edges. In the example, TCNT is set to clear at GRB input capture.
TCNT
value
H'0180
H'0160
H'0005
H'0000
TIOCB
TIOCA
GRA
GRB
260
H'0005
Figure 10.24 Input Capture Operation
Counter cleared
by TIOCB input
(falling edge)
H'0160
H'0180
Time