Hi @wanglijun
If you want to interrupt nesting operation from a particular interrupt means you can disable interrupt and again enable it. In case disable all interrupt nesting means disable the CPU interrupt after completing the operation enable the CPU interrupt it will give complete interrupt nesting on the particular operation.
Hi wanglijun,
Please check the ENABLE_INTERRUPTS() and DISABLE_INTERRUPTS() functions.
Or maybe you can set all interrupts to the same priority.
Best Regards,
Robin
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
There is no register for enabling or disabling interrupt nesting. In addition, enabling and disabling interrupts is a register of the ARM Cortex core. I suggest you read this article: Cutting Through the Confusion with Arm Cortex-M Interrupt Priorities
Hi wanglijun,
The default interrupt priority are set to 0, so there should no interrupt nesting happen unless you reconfigure the interrupt priority by using INT_SYS_SetPriority() function.
Best Regards,
Robin