This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1312PSIP: ti-rtos7-interrupt-question

Part Number: CC1312PSIP
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?