|
PebbleOS v4.43.0-108-gde23235b2
|
PWM controller driver operations. More...
#include <pwm.h>
Data Fields | |
| int(* | apply )(const struct pbl_pwm_controller *ctrl, uint8_t channel, const struct pbl_pwm_state *state) |
| Apply a validated state to a channel, rounding times down. | |
PWM controller driver operations.
| int(* pbl_pwm_controller_ops::apply) (const struct pbl_pwm_controller *ctrl, uint8_t channel, const struct pbl_pwm_state *state) |
Apply a validated state to a channel, rounding times down.
Returns 0, -EINVAL for a state the controller cannot generate, or another negative errno.