Re: dsPIC33CK256MP506 PWM UPDATE with MCC Generated Code:
Re code for PIC16F18456:
As can be seen from the code, this PWM requires bit shifting and the right sequence during update. This is not quite trivial, thus they may have decided to create an interface function. But it's still up to you to provide the appropriate DC value to be written.
PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)