Effects of Reset
Any Reset will force all ports to Input mode and the PWM registers to their Reset states.
Parent topic:
PWM - Pulse-Width Modulation