Function riot_wrappers::interrupt::irq_is_enabled
source · pub fn irq_is_enabled() -> bool
👎Deprecated: use crate::thread::InThread::irq_is_enabled() instead
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.