40 static inline bool is_isr() noexcept {
~irq_lock()
This restores the IRQ disable bit in the status register to the value saved during construction of th...
static bool is_locked() noexcept
Test whether IRQs are currently enabled.
static bool is_isr() noexcept
Check whether called from interrupt service routine.
irq_lock()
This sets the IRQ disable bit in the status register.
MAYBE_INLINE void irq_restore(unsigned state)
This function restores the IRQ disable bit in the status register to the value contained within passe...
MAYBE_INLINE unsigned irq_disable(void)
This function sets the IRQ disable bit in the status register.
MAYBE_INLINE bool irq_is_enabled(void)
Test if IRQs are currently enabled.
MAYBE_INLINE bool irq_is_in(void)
Check whether called from interrupt service routine.