RTEMS 7.0-rc1
Loading...
Searching...
No Matches
bsp.h
Go to the documentation of this file.
1
10/*
11 * mcf52235 BSP header file
12 */
13
14#ifndef LIBBSP_M68K_MCF5329_BSP_H
15#define LIBBSP_M68K_MCF5329_BSP_H
16
27#include <bspopts.h>
29#include <rtems.h>
30#include <rtems/bspIo.h>
31
32/***************************************************************************/
34#include <mcf532x/mcf532x.h>
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40typedef volatile unsigned char vuint8;
41typedef volatile unsigned short vuint16;
42typedef volatile unsigned long vuint32;
43
44/***************************************************************************/
46struct rtems_bsdnet_ifconfig;
47extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int attaching );
48#define RTEMS_BSP_NETWORK_DRIVER_NAME "fec0"
49#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_fec_driver_attach
50
51/***************************************************************************/
54/* define which port the console should use - all other ports are then defined as general purpose */
55#define CONSOLE_PORT 0
56
57/* functions */
58
59uint32_t bsp_get_CPU_clock_speed(void);
60uint32_t bsp_get_BUS_clock_speed(void);
61
62/*
63 * Interrupt assignments
64 * Highest-priority listed first
65 */
66#define FEC_IRQ_LEVEL 4
67
68#define PIT3_IRQ_LEVEL 4
69
70#define UART0_IRQ_LEVEL 3
71#define UART1_IRQ_LEVEL 3
72#define UART2_IRQ_LEVEL 3
73
74/*
75 * Prototypes for BSP methods which cross file boundaries
76 */
77void Init5329(void);
78
79#ifdef __cplusplus
80}
81#endif
82
85#endif
This header file provides the kernel character input/output support API.
This header file provides the default definition of BSP_INITIAL_EXTENSION.
volatile unsigned char vuint8
Definition: bsp.h:40
This header file defines the RTEMS Classic API.