Name

pwm_get_state — retrieve the current PWM state

Synopsis

void pwm_get_state (const struct pwm_device * pwm,
 struct pwm_state * state);
 

Arguments

pwm

PWM device

state

state to fill with the current PWM state