Name
pwm_capture —
capture and report a PWM signal
Synopsis
int pwm_capture ( | struct pwm_device * pwm, |
| struct pwm_capture * result, |
| unsigned long timeout) ; |
Arguments
pwm
PWM device
result
structure to fill with capture result
timeout
time to wait, in milliseconds, before giving up on capture
Return
0 on success or a negative error code on failure.