Defines | Functions
interrupt_utils.c File Reference
#include "interrupt_utils.h"
Include dependency graph for Common_WinARM/src/interrupt_utils.c:

Go to the source code of this file.

Defines

#define FIQ_MASK   0x00000040
#define INT_MASK   (IRQ_MASK | FIQ_MASK)
#define IRQ_MASK   0x00000080

Functions

static unsigned __get_cpsr (void)
static void __set_cpsr (unsigned val)
unsigned disableFIQ (void)
unsigned disableIRQ (void)
unsigned enableFIQ (void)
unsigned enableIRQ (void)
unsigned restoreFIQ (unsigned oldCPSR)
unsigned restoreIRQ (unsigned oldCPSR)

Define Documentation

#define FIQ_MASK   0x00000040

Definition at line 17 of file Common_WinARM/src/interrupt_utils.c.

#define INT_MASK   (IRQ_MASK | FIQ_MASK)

Definition at line 18 of file Common_WinARM/src/interrupt_utils.c.

#define IRQ_MASK   0x00000080

Definition at line 16 of file Common_WinARM/src/interrupt_utils.c.


Function Documentation

static unsigned __get_cpsr ( void  ) [inline, static]

Definition at line 20 of file Common_WinARM/src/interrupt_utils.c.

static void __set_cpsr ( unsigned  val) [inline, static]

Definition at line 27 of file Common_WinARM/src/interrupt_utils.c.

unsigned disableFIQ ( void  )

Definition at line 59 of file Common_WinARM/src/interrupt_utils.c.

unsigned disableIRQ ( void  )

Definition at line 32 of file Common_WinARM/src/interrupt_utils.c.

unsigned enableFIQ ( void  )

Definition at line 77 of file Common_WinARM/src/interrupt_utils.c.

unsigned enableIRQ ( void  )

Definition at line 50 of file Common_WinARM/src/interrupt_utils.c.

unsigned restoreFIQ ( unsigned  oldCPSR)

Definition at line 68 of file Common_WinARM/src/interrupt_utils.c.

unsigned restoreIRQ ( unsigned  oldCPSR)

Definition at line 41 of file Common_WinARM/src/interrupt_utils.c.



asctec_hl_firmware
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:19