Ok ok,
Thanks mukesh. Now i got that why 'x' is given in PWMxCON register. So we have to enable both PWM separately using PWM1CON and PWM2CON registers. Right. Sorry for my lame understanding. This is first time i am using hardware PWM. One more question, is timer 2 used for both PWM. If so, then timer setting used for PWM1 will be same for PWM2 apart from different register names, right? And do we have to clear timer2 interrupt flag? if it is, then for single PWM or both the PWM.