Part Number: CC2652R7
The interrupt for a specific Pin (Index 14) is enabled, and when that interrupt occurs, the callback function disables the interrupt for a specific Pin (index 14) .
However, the interrupt still occur even after the interrupts are disabled.
This Pin is connected to a switch.
I design to generate an interrupt when the switch is pressed.
Sometimes this problem occur.
I implemented the following to disable interrupts.
void callback_function(uint_least8_t pin)
{
GPIO_disableInt(14);
}
This callback_function is a function registered with GPIO_setCallback,
This function is called when an interrupt occurs.
I checked the variable (pin) after the interrupt occured, and pin was 14.
Also, EDGE_IRQ_EN of IOCFG was 0 (No interrupt generation).
Please let me know if I'm doing something wrong or missing a way to disable interruptions.
Or if there is another cause, please let me know.
<SDK Version>
simplelink_cc13xx_cc26xx_sdk_5_30_01_01