irq.h File Reference

IRQ driver interface. More...

Detailed Description

IRQ driver interface.

Author
Freie Universität Berlin, Computer Systems & Telematics

Definition in file irq.h.

#include <stdbool.h>
#include "cpu_conf.h"
+ Include dependency graph for irq.h:
+ This graph shows which files directly or indirectly include this file:

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...