How to Configure GPIO interrupt using C/C++ in Jetson Nano ??

Hello All,

I want to implement GPIO interrupt to read sensor status (High or Low). I have found some library and example for python.

But i want implement through C/C++ programming . Is there any documentation available for guiding GPIO interrupt implementation ?? or Any one have example code ??

Please suggest how to do this .

If you are using a user space application (not working in the kernel) then you could use epoll, poll, or select calls to wait for a state change on one or more file descriptors. Linux exposes GPIO as files through sysfs.

1 Like