Pwm pins switching

Can any one tell me to enable and disable the pwm pins while flying

What are you trying to achieve?