245
Figure 8-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 8.4.8, Buffering.
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
Figure 8-36 Operation in Complementary PWM Mode (Example 2)
(when OLS3 = OLS4 = 1)