Hi there,
I tried to use GPIO (P2) interrupt on TM4C1294. Codes are done on CCS
- Interrupt handler is added to startup_ccs.c's GPIO Port P2 entry
- MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOP) is called
- MAP_GPIOPinTypeGPIOInput(GPIO_PORTP_BASE, GPIO_PIN_2) is called
- IntPrioritySet(INT_GPIOP2, 0xc0);
- IntEnable(INT_GPIOP2) and IntMasterEnable() are invoked
- Applied to P2 is pulses with width of 50us , frequency 64Khz.
but no interrupt is generated, I got a feeling I might need to specify edge/level(?), but I can't find enough info on how to use it, but at this point, I got no interrupt.
What did I missed here?
Thanks for any pointer/reading!