Table of Contents
Downloaded from
Elcodis.com
electronic components distributor
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
TCNT3
H'1FFF
GRA3
TCNT4
H'0999
H'0000
BRB3
H'0999
GRB3
H'0999
H'0999
TIOCA3
TIOCB3
Figure 8-53 Register Buffering (Example 4: Buffering in Complementary PWM Mode)
H'1FFF
H'0999
H'1FFF
H'1FFF
247
GRB3
Time
H'0999
Table of Contents
loading

Table of Contents