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
GRA3
GRB3
H'0000
TIOCA
3
TIOCB
3
TCNT3 and
TCNT4 values
GRA3
GRB3
H'0000
TIOCA
3
TIOCB
3
Figure 8-36 Operation in Complementary PWM Mode (Example 2)
0% duty cycle
a. 0% duty cycle
100% duty cycle
b. 100% duty cycle
(when OLS3 = OLS4 = 1)
Time
Time
249