Skip to main content

irq_guard_enter

Function irq_guard_enter 

Source
pub fn irq_guard_enter() -> IrqGuardToken
Expand description

Saves raw interrupt state, disables local IRQs and enters nested guards. A hard interrupt that already owns the runtime’s IRQ-return pin may return IrqGuardToken::NONE; nested users then borrow that single outer CPU owner instead of creating per-handler guard transactions.