Figure 10-36 shows examples of waveforms with 0% and 100% duty cycles (in one phase) in
complementary PWM mode. In this example the outputs change at compare match with GRB3, so
waveforms with duty cycles of 0% or 100% can be output by setting GRB3 to a value larger than
GRA3. The duty cycle can be changed easily during operation by use of the buffer registers. For
further information see section 10.4.8, Buffering.
Figure 10-36 Operation in Complementary PWM Mode (Example 2, OLS3 = OLS4 = 1)
TCNT3 and
TCNT4 values
Time
GRA3
GRB3
TIOCA
3
TIOCB
3
0% duty cycle
a. 0% duty cycle
TCNT3 and
TCNT4 values
Time
GRA3
GRB3
TIOCA
3
TIOCB
3
100% duty cycle
b. 100% duty cycle
H'0000
H'0000
359
www.DataSheet4U.com