Hi DANIELE BRUNO,
Yes, I know, you use the DisableIRQ(BOARD_DATA_IN_IRQ) instruction , but in your function, you enable it again:
void My_Function(void)
{
DisableIRQ(BOARD_DATA_IN_IRQ);
/*******************************/
Instructions executed by the function.....
/*******************************/
GPIO_PortClearInterruptFlags(BOARD_DATA_IN_GPIO, 1U << BOARD_DATA_IN_PIN);
EnableIRQ(BOARD_DATA_IN_IRQ);
}
So, you can comment EnableIRQ(BOARD_DATA_IN_IRQ); Then try it again, whether you still can enter the interrupt or not?
Wish it helps you!
If you still have questions about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------