RTEMS 6.1-rc4
|
#include <rtems.h>
#include <rtems/libio.h>
#include <bsp.h>
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
#include <bsp/interrupt.h>
Macros | |
#define | SIC_IAR_COUNT_SET0 4 |
#define | SIC_IAR_BASE_ADDRESS_0 0xFFC00150 |
Functions | |
void | bfin_interrupt_init (void) |
rtems_status_code | bfin_interrupt_register (bfin_isr_t *isr) |
rtems_status_code | bfin_interrupt_unregister (bfin_isr_t *isr) |
void | bfin_interrupt_enable (bfin_isr_t *isr, bool enable) |
void | bfin_interrupt_enable_all (int source, bool enable) |
void | bfin_interrupt_enable_global (int source, bool enable) |
Target: TLL6527v1-0 Compiler:
COPYRIGHT (c) 2010 by ECE Northeastern University.
The license and distribution terms for this file may be found in the file LICENSE in this distribution or at http://www.rtems.org/license
LastChange:
void bfin_interrupt_init | ( | void | ) |
Initializes the interrupt module
The bf52x has 8 IAR registers but they do not have a constant pitch.
rtems_status_code bfin_interrupt_register | ( | bfin_isr_t * | isr | ) |
This routine registers a new ISR. It will write a new entry to the IVT table
isr | contains a callback function and source |
rtems_status_code bfin_interrupt_unregister | ( | bfin_isr_t * | isr | ) |
This function unregisters a registered interrupt handler.
isr |