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

COPYRIGHT