IRQ driver interface. More...
IRQ driver interface.
Definition in file irq.h.
#include <stdbool.h>
#include "cpu_conf.h"
Go to the source code of this file.
Functions | |
MAYBE_INLINE unsigned | irq_disable (void) |
This function sets the IRQ disable bit in the status register. More... | |
MAYBE_INLINE unsigned | irq_enable (void) |
This function clears the IRQ disable bit in the status register. More... | |
MAYBE_INLINE void | irq_restore (unsigned state) |
This function restores the IRQ disable bit in the status register to the value contained within passed state. More... | |
MAYBE_INLINE int | irq_is_in (void) |
Check whether called from interrupt service routine. More... | |