
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
Содержание H8/3660
Страница 4: ......
Страница 26: ...10 ...
Страница 82: ...66 ...
Страница 152: ...136 ...
Страница 154: ...138 ...
Страница 260: ...244 ...
Страница 408: ...392 18 5 Output Load Circuit VCC 2 4 kΩ 12 kΩ 30 pF LSI output pin Figure 18 7 Output Load Condition ...
Страница 457: ...441 DEC VIN CH3 to CH0 A D converter Internal data bus Figure C 17 Port B Block Diagram PB7 to PB0 ...