259
Figure 8-53 shows an example in which GRB3 is buffered by BRB3 in complementary PWM
mode. Buffering is used to set GRB3 to a higher value than GRA3, generating a PWM waveform
with 0% duty cycle. The BRB3 value is transferred to GRB3 when TCNT3 matches GRA3, and
when TCNT4 underflows.
TCNT3 and
TCNT4 values
Time
GRA3
H'0999
H'0000
TCNT3
TCNT4
GRB3
H'1FFF
BRB3
GRB3
TIOCA
3
TIOCB
3
H'0999
H'0999
H'0999
H'1FFF
H'0999
H'1FFF
H'1FFF
H'0999
Figure 8-53 Register Buffering (Example 4: Buffering in Complementary PWM Mode)