riot_wrappers::interrupt

Function irq_is_enabled

Source
pub(crate) fn irq_is_enabled() -> bool
Expand description

Trivial safe wrapper for irq_is_enabled

Returns true if interrupts are currently enabled

Note that this only returns reliable values when called from a thread context.