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.

am335x gpio interrupt

Hi everybody. I need to write a program in user space to detect a gpio change status.
According with the datasheet I know I have to set up the following registers:
GPIO_IRQSTATUS_SET_0
GPIO_RISINGDETECT
But now? Can someone show an example about to detect when a particular gpio pin changes its status?

Regards