Hello!
I'm using a micro controller TM4C123GH6PMI LAUNCHPAD board. I try to configure PA2 as GPIO input interrupt,not able to get interrupt. If i use any other port pin like pc6 or pe0 ,my interrupt routine works.So,pl.let me know if I am missing something.I am also using uart 0 & i2c1 of same portA.
Code is as follows
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
HWREG(GPIO_PORTA_BASE + GPIO_O_PCTL) &= 0xfffff0ff;
ROM_GPIOPinTypeGPIOInput(GPIO_PORTA_BASE, GPIO_PIN_2);
ROM_GPIOIntTypeSet(GPIO_PORTA_BASE, GPIO_PIN_2, GPIO_LOW_LEVEL);
GPIOIntEnable(GPIO_PORTA_BASE, GPIO_PIN_2);
Regards,
Neelima