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.