All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
irq.h File Reference

IRQ driver interface. More...

Detailed Description

IRQ driver interface.

Author
Freie Universität Berlin, Computer Systems & Telematics
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

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