Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
In our aplication, we use this standard code to set an interrupt:
void board_setInterrupt(PIN_Id pinId, GPIO_CallbackFxn callback, PIN_Config config)
{
GPIO_setCallback(pinId, callback);
GPIO_setInterruptConfig(pinId, config);
GPIO_enableInt(pinId);
}
We encountered, that there is still a small (but significant for us) timeout between the exact time, that interrupt occurs, and the time, that the callback function starts running.
Our question is this:
We have other code, called from another context, that needs to accurately know, if an interrupt has occurred. Is there a way that we can check, whether the interrupt occurred, while callback still didn’t run?