Tool/software: Code Composer Studio
Hi, there.
I have a GPIO Interrupt on P2.4 with RTOS, the code is:
{
....
....
GPIO_setConfig(P_GPIO_P2_4, GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_FALLING);
/* install Button callback */
GPIO_setCallback(P_GPIO_P2_4, gpioFpgaFxn0);
/* Enable interrupts */
GPIO_enableInt(P_GPIO_P2_4);
/* Start BIOS */
BIOS_start();
return (0);
}
/**
* Callback function for the FPGA interrupt to be read.
*/
void gpioFpgaFxn0(uint_least8_t index)
{
Semaphore_post(Semaphore_handle(&FPGA_spiTaskAlert));
}
And I see the REG:
it has the P2IFG = 0x10, P2IV = P2IFG4.
But the code can not goto the Callback function......
What should I do next ?
Thanks a lot.