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 device
SYNOPSIS¶
int pwm_apply_state(struct pwm_device * pwm, struct pwm_state * state);
ARGUMENTS¶
pwm
PWM 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. |