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. | |
MAYBE_INLINE unsigned | irq_enable (void) |
This function clears 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 passed state. | |
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. | |