H'FFFF
H'F000
H'AA55
H'55AA
H'1000
H'0000
FTIOA
GRA
FTIOB
GRB
Figure 12.8 shows an example of buffer operation when the GRA is set as an input-capture
register and GRC is set as the buffer register for GRA. TCNT operates as a free-running counter,
and FTIOA captures both rising and falling edge of the input signal. Due to the buffer operation,
the GRA value is transferred to GRC by input-capture A and the TCNT value is stored in GRA.
Downloaded from
Elcodis.com
electronic components distributor
TCNT value
H'1000
Figure 12.7 Input Capture Operating Example
TCNT value
H'FFFF
H'DA91
H'5480
H'0245
H'0000
FTIOA
H'0245
GRA
GRC
Figure 12.8 Buffer Operation Example (Input Capture)
H'F000
H'AA55
H'5480
H'DA91
H'0245
H'5480
Rev. 1.00, 11/03, page 167 of 376
Time
H'55AA
Time