This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to handle GPIO interrupt in linux user space application?



Hi

Is it possible to handle GPIO interrupts in a linux application in user space?

I am debugging a video grabber cape board for BeagleBone Black and need to ( if possible ) intercept an interrupt from a GPIO pin ( GPIO2-5 pin ) from my program test to be able to synchronize video fields ( odd/even ) . There is a field signal coming from video decoder chip that is connected to GPIO2-5 pin. At rising edge the interrupt must be fired and my application, in some way, must capture this event.

Any help would be appreciated.

Sergio