pwm_set_polarity(9) - phpMan
PWM_SET_POLARITY(9) Pulse-Width Modulation (PWM) PWM_SET_POLARITY(9)
NAME
pwm_set_polarity - configure the polarity of a PWM signal
SYNOPSIS
int pwm_set_polarity(struct pwm_device * pwm, enum pwm_polarity polarity);
ARGUMENTS
pwm
PWM device
polarity
new polarity of the PWM signal
DESCRIPTION
Note that the polarity cannot be configured while the PWM device is enabled.
RETURN
0 on success or a negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 PWM_SET_POLARITY(9)
|