Hello! I am newbie, I am using nordic nrf51822a board. Can anyone give me hardware interrupt example code and tell me how to enable it?
Hi,
Interrupts are essentially enabled by using two steps:
I'm attaching a small example on how to setup the ADC w/ISR.
Best regards Håkon