10.4.8 Buffering
Buffering operates differently depending on whether a general register is an output compare
register or an input capture register, with further differences in reset-synchronized PWM mode
and complementary PWM mode. Buffering is available only in channels 3 and 4. Buffering
operations under the conditions mentioned above are described next.
•
General register used for output compare
The buffer register value is transferred to the general register at compare match. See
figure 10-46.
Figure 10-46 Compare Match Buffering
•
General register used for input capture
The TCNT value is transferred to the general register at input capture. The previous general
register value is transferred to the buffer register.
See figure 10-47.
Figure 10-47 Input Capture Buffering
Compare match signal
Comparator
TCNT
GR
BR
Input capture signal
BR
GR
TCNT
367
www.DataSheet4U.com