Effects of Reset
Any Reset will force all ports to Input mode and the CCP registers to their Reset states.
Parent topic:
PWM Overview