Use GPIO for Pulse Measurement

I wish to continuously read the high time of a PWM signal. However, I cannot find out how to configure a GPIO port as an Input Capture.

Is this possible? If so, how?

hello tstandke,

you could monitor the GPIO status, you might also refer to Topic 1029697, and Topic 1052582 for reading GPIO interrupts from user-space.
thanks

you may use libgpiod or ioctl. You may set events for rising and falling edge and then calculate the time delta.