Datasheet

Section 13 Timer W
Rev. 3.00 Mar. 15, 2006 Page 198 of 526
REJ09B0060-0300
Figure 13.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.
TCNT value
H'DA91
H'0245
H'0000
GRC
Time
H'0245
FTIOA
GRA
H'5480H'0245
H'FFFF
H'5480
H'5480
H'DA91
Figure 13.8 Buffer Operation Example (Input Capture)