Can you please provide an example project showing how to operated a pwn, with the following features:
1) Does NOT use pwm-led, pwn-servo, or whatever drivers or whatever these things are..... Just operate a PWM like one would be manipulating it's registers. No drivers with misleading names (what if the PWM is NOT for LEDS or servos?) and thing that are not properly explained in the sample projects like phandle-arrays.
2) Allows setting of period and duty cycle (pulse)
3) Allows inversion to assigned IO
4) Allows PWM to be shutdown (minimum power state) with pin at logic low
None of the provide examples (blinky_pwm, fade_led, servo_motor, etc) meet all of the above criteria.