Scroll to navigation

PWM_CAPTURE(9) Pulse-Width Modulation (PWM) PWM_CAPTURE(9)

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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.