other versions
PWM_APPLY_STATE(9) | Pulse-Width Modulation (PWM) | PWM_APPLY_STATE(9) |
NAME¶
pwm_apply_state - atomically apply a new state to a PWM deviceSYNOPSIS¶
int
pwm_apply_state(struct pwm_device * pwm,
struct pwm_state * state);
ARGUMENTS¶
pwmPWM device
state
new state to apply. This can be adjusted by the PWM
driver if the requested config is not achievable, for example, ->duty_cycle
and ->period might be approximated.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |