Datasheet
Section 12 Timer Z
Rev. 2.00 Sep. 23, 2005 Page 208 of 444
REJ09B0068-0200
12.4.8 Buffer Operation
Buffer operation differs depending on whether GR has been designated for an input capture
register or an output compare register, or in reset synchronous PWM mode or complementary
PWM mode.
Table 12.8 shows the register combinations used in buffer operation.
Table 12.8 Register Combinations in Buffer Operation
General Register Buffer Register
GRA GRC
GRB GRD
1. When GR is an output compare register
When a compare match occurs, the value in the buffer register of the corresponding channel is
transferred to the general register.
This operation is illustrated in figure 12.35.
Buffer register Comparator TCNT
General
register
Compare match signal
Figure 12.35 Compare Match Buffer Operation
2. When GR is an input capture register
When an input capture occurs, the value in TCNT is transferred to the general register and the
value previously stored in the general register is transferred to the buffer register.
This operation is illustrated in figure 12.36.
TCNT
Buffer register
General
register
Input capture
signal
Figure 12.36 Input Capture Buffer Operation










