This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

getting an interrupt when any of multiple GPIO pins change

I am trying to setup an interrupt to fire whenever any of 6 GPIO pins change value using an nRF51822 with soft device. I found the example that uses GPIOTE to get an interrupt call when a single pin changes and that works fine (the pin change int example). I'm having a hard time extending that example so that my interrupt handler gets called whenever any of multiple pins (6 to be precise) change values. Are there any other examples out there that would show this? Any pointers here would be greatly appreciated. I'm using v12 of the SDK.

Related