The friendly Operating System for the Internet of Things
irq_arch.h File Reference

Interrupt handling interface for globally en- and disabling interrupts. More...

Detailed Description

This file acts as a wrapper between the kernels interrupt interface and the architecture dependent implementation of the interfaces.

All functions in this module have to be implemented in a way that it is safe to call them from within the context of an ISR.
Hauke Petersen

Definition in file irq_arch.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


unsigned int irq_arch_enable (void)
 Globally enable maskable interrupt sources. More...
unsigned int irq_arch_disable (void)
 Globally disable all maskable interrupt sources. More...
void irq_arch_restore (unsigned int state)
 Restore a previously recorded IRQ state. More...
int irq_arch_in (void)
 See if the current context is inside an ISR. More...

Function Documentation

unsigned int irq_arch_disable ( void  )
the IRQ state before disabling interrupts
unsigned int irq_arch_enable ( void  )
the IRQ state after enabling interrupts
int irq_arch_in ( void  )
1 if currently in interrupt context, 0 otherwise
void irq_arch_restore ( unsigned int  state)
[in]statethe state to set the IRQ flags to