EnterCritical and LeaveCritical #628
-
|
Do these functions over complete protection during interrupts? Thanks, Ireland. |
Beta Was this translation helpful? Give feedback.
Answered by
rsta2
Dec 3, 2025
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rsta2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EnterCritical([IRQ_LEVEL])ensures, that an IRQ cannot occur on the core, where it was called. An FIQ can still occur, but not when you callEnterCritical(FIQ_LEVEL).LeaveCritical()ends this. With multi-core support you should use spin locks instead. Please see this for more info!