Clearing Complementary PWM Mode: Figure 8-34 shows a sample procedure for clearing
complementary PWM mode.
Complementary PWM mode
Clear complementary mode
Stop counting
Normal operation
Figure 8-34 Clearing Procedure for Complementary PWM Mode (Example)
1.
Clear bit CMD1 in TFCR to 0, and set
channels 3 and 4 to normal operating
1
mode.
2.
After setting channels 3 and 4 to normal
operating mode, wait at least one clock
count before clearing bits STR3 and
2
STR4 of TSTR to 0 to stop the counter
operation of TCNT3 and TCNT4.
247