This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple GPIO ISR

Hi,

I am using nRF51822 evaluation kit. I want to develop GPIO isr (GPIOTE_IRQHandler) which can handle multiple GPIO interrupts. I have tried to enable the GPIOTE_IRQHandler as shown in the attached file. How can i make it work for mutiple GPIO. In the attached code only one button is active and the ISR trigger only when the exact Button is pressed. Is the GPIOTE_IRQHandler is Port change sensing ISR? If it is a port change sensing ISR why not its triggering when another button is pressed? How can i make it work for different GPIO pins?

Thanks in advance,
Shijumain.c

Parents Reply Children
No Data
Related