RTEMS  5.1
Files | Macros | Functions

MCF5235 Board Support Package. More...

Files

file  bsp.h
 Global BSP definitions.
 

Macros

#define RTEMS_BSP_NETWORK_DRIVER_NAME   "fec0"
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   rtems_fec_driver_attach
 
#define CONSOLE_PORT   0
 
#define FEC_IRQ_LEVEL   4
 
#define FEC_IRQ_RX_PRIORITY   7
 
#define FEC_IRQ_TX_PRIORITY   6
 
#define PIT3_IRQ_LEVEL   4
 
#define PIT3_IRQ_PRIORITY   0
 
#define UART0_IRQ_LEVEL   3
 
#define UART0_IRQ_PRIORITY   7
 
#define UART1_IRQ_LEVEL   3
 
#define UART1_IRQ_PRIORITY   6
 
#define UART2_IRQ_LEVEL   3
 
#define UART2_IRQ_PRIORITY   5
 

Functions

int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int attaching)
 
uint32_t get_CPU_clock_speed (void)
 
rtems_isr_entry set_vector (rtems_isr_entry handler, rtems_vector_number vector, int type)
 Install an interrupt handler. More...
 
void Init5235 (void)
 

Detailed Description

MCF5235 Board Support Package.

Macro Definition Documentation

◆ CONSOLE_PORT

#define CONSOLE_PORT   0

User Definable configuration

Function Documentation

◆ set_vector()

rtems_isr_entry set_vector ( rtems_isr_entry  handler,
rtems_vector_number  vector,
int  type 
)

Install an interrupt handler.

This method installs an interrupt handle.

Parameters
[in]handleris the isr routine
[in]vectoris the vector number
[in]typeindicates whether RTEMS or RAW intr
Returns
returns old vector