PIC16F886 has 4 PWM channels. However, HPWM statement works only for first 2 - Ones at PortC. HPWM 0 outputs at PortC.2 and HPWM 1 outputs at PortC.1. However, HPWM 2 or HPWM 3 which are expected to output on the corresponding pins of PortB, do nothing. As I read from datasheet, CCP1CON register controls configuration of PortB PWM registers, but it gives no clue how it should be configured, so HPWM statement will work with these ports?