I'm trying to write a simple program that will call an ISR upon detecting a gpio interrupt (I tried both edge and level). I wrote my code using a CSL example but it doesn't call the callback function. I was wondering whether you can help me figure out what's wrong or if I'm missing a step in configuring the interrupt. what my code wants to do is to detect an interrupt on pin 11 of gpio 3 and read pin10 upon that. please let me know if I'm missing anything. the code runs well but the callback never gets called.
Here is my .c code:
interrupt config ( tried both 26 and 31 as I wasn't sure for gpio3):