pub fn interrupts_enabled() -> bool
Expand description

Returns whether regular interrupts are enabled on the current CPU.

This only checks whether regular interrupts are enabled, not NMIs or fast interrupts (FIQs on aarch64).