rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
Interruption management

Macros

#define RFLPC_IRQ_HANDLER   void __attribute__((interrupt("IRQ")))
 Define to use to declare a IRQ handler.
 

Typedefs

typedef void(* rflpc_irq_handler_t) (void)
 Interrupt handler type.
 

Functions

static void rflpc_irq_global_enable ()
 Enables interrupts. More...
 
static void rflpc_irq_global_disable ()
 Disable interrupts. More...
 
static void rflpc_irq_enable (IRQn_Type irq)
 Enables a specific interrupt. More...
 
static void rflpc_irq_disable (IRQn_Type irq)
 Disables a specific interrupt. More...
 
void rflpc_irq_init ()
 Inits the interruption by relocating the interrupt vector to ram. More...
 
void rflpc_irq_set_handler (IRQn_Type irq, rflpc_irq_handler_t handler)
 Sets an handler for the given IRQ.
 

Detailed Description

Function Documentation

static void rflpc_irq_disable ( IRQn_Type  irq)
inlinestatic

Disables a specific interrupt.

Definition at line 56 of file interrupt.h.

Referenced by rflpc_eth_set_irq_handler().

static void rflpc_irq_enable ( IRQn_Type  irq)
inlinestatic

Enables a specific interrupt.

Definition at line 50 of file interrupt.h.

Referenced by rflpc_eth_set_irq_handler().

static void rflpc_irq_global_disable ( )
inlinestatic

Disable interrupts.

(user manual p. 716)

Definition at line 44 of file interrupt.h.

static void rflpc_irq_global_enable ( )
inlinestatic

Enables interrupts.

(user manual p. 716)

Definition at line 38 of file interrupt.h.

void rflpc_irq_init ( )

Inits the interruption by relocating the interrupt vector to ram.

Warning
This is automatically called by the _start routine. Do not call it in your program.