Clearing Procedure for Complementary PWM Mode: Figure 10-34 shows the steps to clear
complementary PWM mode.
Figure 10-34 Clearing Procedure for Complementary PWM Mode
Complementary PWM mode
1. Clear the CMD1 bit of TFCR to 0 to
set channels 3 and 4 to normal
operating mode.
Normal operating mode
Clear complementary PWM mode
1
Stop counter operation
2
2. After setting channels 3 and 4 to
normal operating mode, wait at least
one counter clock period, then clear
bits STR3 and STR4 of TSTR to 0 to
stop counter operation of TCNT3 and
TCNT4.
357
www.DataSheet4U.com