Other Parts Discussed in Thread: TM4C123GH6PM
I use an GPIO interrupt in TI-RTOS, the main code is listed below:
GPIO_setupCallbacks(&EK_TM4C1294XL_gpioPortJCallbacks);
/* Enable interrupts */
GPIO_enableInt(Board_BUTTON0, GPIO_INT_RISING);
GPIO_enableInt(Board_BUTTON1, GPIO_INT_FALLING);
When I push the button , the interrupt is happened. It is ok.
I want to know how to trigger the interrupt by software? Which function will be used?
Thanks !