Tool/software: TI-RTOS
Hi,
I am currently trying to set up a GPIO interrupt on pin 3 of port P, also called PP3 on boosterpack 2 of the EK-TM4C1294XL. The GPIO interrupt example with the buttons worked fine, but as soon as I want to change the buttons to PP3, it won't work and goes into a load_exit() routine. The interrupt should be generated as soon as the launchpad gets a (+5V) signal from an external source (arduino for example). I used the following code
/* install Button callback */
GPIO_setCallback(INT_GPIOP3, gpioButtonFxn0);
/* Enable interrupts */
GPIO_enableInt(INT_GPIOP3);
Also, the interrupt should have the highest priority, how can I set the priority level?
Thanks in advance.
Jonas.