struct pwm_capture — PWM capture data
struct pwm_capture { unsigned int period; unsigned int duty_cycle; };
period of the PWM signal (in nanoseconds)
duty cycle of the PWM signal (in nanoseconds)