Hitachi HD6433690G TV Mount User Manual


 
Rev. 1.0, 07/01, page 165 of 372
TCNT value
H'FFFF
H'1000
H'0000
FTIOA
GRA
Time
H'AA55
H'55AA
H'F000
H'1000 H'F000 H'55AA
GRB
H'AA55
FTIOB
Figure 12-7 Input Capture Operating Example
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.
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 12-8 Buffer Operation Example (Input Capture)