SYNOPSIS
- int pwm_config(struct pwm_device * pwm, int duty_ns, int period_ns);
ARGUMENTS
pwm
-
- PWM device
duty_ns
- "on" time (in nanoseconds)
period_ns
- duration (in nanoseconds) of one cycle
RETURNS
0 on success or a negative error code on failure.
COPYRIGHT