Enhanced PWM - Single Output Mode

The Single Output mode is selected by the PxM<1:0> bits in the CCPxCON register. The module has to also be in the EPWM mode which is any of the Enhanced PWM mode selections in the CCPxCON register.

CCPxCON: CCPx Control Register

R/W-0R/W-0R/W-0R/W-0R/W-0R/W-0R/W-0R/W-0
PxM1PxM0DCxB1DCxB0CCPxM3CCPxM2CCPxM1CCPxM0
bit 7bit 0

bit 7-6

PxM<1:0>: Enhanced PWM Output Configuration Bits

00 = Single output; PxA modulated; PxB, PxC, PxD assigned as port pins
01 = Full-Bridge output forward; PxD modulated; PxA active; PxB, PxC inactive
10 = Half-Bridge output; PxA, PxB modulated with dead-band control; PxC, PxD assigned as port pins
11 = Full-Bridge output reverse; PxB modulated; PxC active; PxA, PxD inactive

bit 3-0

CCPxM<3:0>: ECCP Mode Select bits

1100 = PWM mode: PxA, PxC active-high; PxB, PxD active-high
1101 = PWM mode: PxA, PxC active-high; PxB, PxD active-low
1110 = PWM mode: PxA, PxC active-low; PxB, PxD active-high
1111 = PWM mode: PxA, PxC active-low; PxB, PxD active-low