pwm_set_polarity — configure the polarity of a PWM signal
int pwm_set_polarity (
)
pwm
PWM device
polarity
new polarity of the PWM signal
Note that the polarity cannot be configured while the PWM device is enabled.
0 on success or a negative error code on failure.