Loading...
Searching...
No Matches
irq_arch.h File Reference

Implementation of the kernels irq interface. More...

Detailed Description

Implementation of the kernels irq interface.

Author
Heiko Will hwill.nosp@m.@inf.nosp@m..fu-b.nosp@m.erli.nosp@m.n.de

Definition in file irq_arch.h.

#include "VIC.h"
#include <stdbool.h>
+ Include dependency graph for irq_arch.h:

Go to the source code of this file.

#define IRQ_MASK   0x00000080
 
static unsigned __get_cpsr (void)
 
static void __set_cpsr (unsigned val)
 
static bool irq_is_in (void)
 
static unsigned irq_disable (void)
 
static void irq_restore (unsigned oldCPSR)
 
static unsigned irq_enable (void)
 
static bool irq_is_enabled (void)
 

Macro Definition Documentation

◆ IRQ_MASK

#define IRQ_MASK   0x00000080

Definition at line 29 of file irq_arch.h.

Function Documentation

◆ __get_cpsr()

static unsigned __get_cpsr ( void  )
inlinestatic

Definition at line 31 of file irq_arch.h.

◆ __set_cpsr()

static void __set_cpsr ( unsigned  val)
inlinestatic

Definition at line 38 of file irq_arch.h.

◆ irq_disable()

static unsigned irq_disable ( void  )
inlinestatic

Definition at line 50 of file irq_arch.h.

◆ irq_enable()

static unsigned irq_enable ( void  )
inlinestatic

Definition at line 64 of file irq_arch.h.

◆ irq_is_enabled()

static bool irq_is_enabled ( void  )
inlinestatic

Definition at line 73 of file irq_arch.h.

◆ irq_is_in()

static bool irq_is_in ( void  )
inlinestatic

Definition at line 43 of file irq_arch.h.

◆ irq_restore()

static void irq_restore ( unsigned  oldCPSR)
inlinestatic

Definition at line 59 of file irq_arch.h.