Defines | Functions
interrupt_utils.c File Reference
#include "interrupt_utils.h"
Include dependency graph for 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 interrupt_utils.c.

#define INT_MASK   (IRQ_MASK | FIQ_MASK)

Definition at line 18 of file interrupt_utils.c.

#define IRQ_MASK   0x00000080

Definition at line 16 of file interrupt_utils.c.


Function Documentation

static unsigned __get_cpsr ( void  ) [inline, static]

Definition at line 20 of file interrupt_utils.c.

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

Definition at line 27 of file interrupt_utils.c.

unsigned disableFIQ ( void  )

Definition at line 59 of file interrupt_utils.c.

unsigned disableIRQ ( void  )

Definition at line 32 of file interrupt_utils.c.

unsigned enableFIQ ( void  )

Definition at line 77 of file interrupt_utils.c.

unsigned enableIRQ ( void  )

Definition at line 50 of file interrupt_utils.c.

unsigned restoreFIQ ( unsigned  oldCPSR)

Definition at line 68 of file interrupt_utils.c.

unsigned restoreIRQ ( unsigned  oldCPSR)

Definition at line 41 of file interrupt_utils.c.



ccny_asctec_firmware_2
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Jan 7 2014 11:04:17