pwm_apply_state(9) 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