I am using dspic33ev family microchip controller. I have one doubt in pwm module. Suppose in the initialization routine i configure each pin to be controlled by pwm instead of IO and then i enabled the pwm module. In my main application i will be controlling the legs using pdc registers. Suppose in one of the conditions if i make pwm disabled using PTCON register. Will the legs be immediately become IO or still they remain under the control of PWM? Please advice.