RTEMS 7.0-rc1
Loading...
Searching...
No Matches
bsp.h
Go to the documentation of this file.
1
9/*
10 * mcf5235 BSP header file
11 */
12
13#ifndef LIBBSP_M68K_MCF5235_BSP_H
14#define LIBBSP_M68K_MCF5235_BSP_H
15
26#include <bspopts.h>
28#include <rtems.h>
29#include <rtems/bspIo.h>
30
31/***************************************************************************/
33#include <mcf5235/mcf5235.h> /* internal MCF5235 modules */
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/***************************************************************************/
41struct rtems_bsdnet_ifconfig;
42extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int attaching );
43#define RTEMS_BSP_NETWORK_DRIVER_NAME "fec0"
44#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_fec_driver_attach
45
46/***************************************************************************/
49/* define which port the console should use - all other ports are then defined as general purpose */
50#define CONSOLE_PORT 0
51
52/* functions */
53
54uint32_t get_CPU_clock_speed(void);
55
56/*
57 * Interrupt assignments
58 * Highest-priority listed first
59 */
60#define FEC_IRQ_LEVEL 4
61#define FEC_IRQ_RX_PRIORITY 7
62#define FEC_IRQ_TX_PRIORITY 6
63
64#define PIT3_IRQ_LEVEL 4
65#define PIT3_IRQ_PRIORITY 0
66
67#define UART0_IRQ_LEVEL 3
68#define UART0_IRQ_PRIORITY 7
69#define UART1_IRQ_LEVEL 3
70#define UART1_IRQ_PRIORITY 6
71#define UART2_IRQ_LEVEL 3
72#define UART2_IRQ_PRIORITY 5
73
74/*
75 * Prototypes for BSP methods which cross file boundaries
76 */
77void Init5235(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.
This header file defines the RTEMS Classic API.