PBP support this mode or do I have to do an assembly routine that gets called from PBP?
its not supported, no need to resort to asm though
simply set the required sfr registers yourself
eg
Code:
   CCP2CON   =  %10001100                      ;enh pwm complementary output
   CCPTMRS   =  CCPTMRS  & %11110011   ;tmr2 for ccp2
   T2CON       =  %00000101 
   PWM2CON  = 10                                     ;dead time
   ccpr2l        = 128