215
Buffer Operation: GRC and GRD can be used as buffer registers for GRA and GRB,
respectively. The buffer operation differs depending on whether the GR is set as an input capture
register or as an output compare register.
Table 12.4 shows the register combination for buffer operation.
Table 12.4
Register Combination for Buffer Operation
General Register
Buffer Register
GRA
GRC
GRB
GRD
•
When GR Operates as an Output Compare Register
When a compare match occurs, the buffer register value is transferred to the corresponding
general register. Figure 12.13 shows the compare buffer operation.
Buffer
register
General
register
TCNT
Comparator
Compare match signal
Figure 12.13 Compare Buffer Operation
•
When GR Operates as an Input Capture Register
When an input capture occurs, the general register value is transferred to the corresponding
buffer register, and the TCNT value is transferred to the general register. Figure 12.14 shows
the input capture buffer operation.
Buffer
register
General
register
TCNT
Input capture
signal
Figure 12.14 Input Capture Buffer Operation
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...