Forum Discussion

Shubham_P_Intel's avatar
Shubham_P_Intel
Icon for New Contributor rankNew Contributor
6 years ago

Hi, I am trying to write a simple ISR for handling button presses. I am trying to print "Interrupt!" on every interrupt on the falling edge of a press. The following code is printing nothing:

I have configured the PIO module by checking the Synchronously Capture, Enable bit clearing for edge-capture register and Generate IRQ options. IRQ type is set to EDGE, and EDGE type is set to fallin...