RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
m68k
mcf5329
include
bsp.h
Go to the documentation of this file.
1
8
9
10
/*
11
* mcf52235 BSP header file
12
*/
13
14
#ifndef LIBBSP_M68K_MCF5329_BSP_H
15
#define LIBBSP_M68K_MCF5329_BSP_H
16
26
27
#include <bspopts.h>
28
#include <
bsp/default-initial-extension.h
>
29
#include <
rtems.h
>
30
#include <
rtems/bspIo.h
>
31
32
/***************************************************************************/
34
#include <mcf532x/mcf532x.h>
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
typedef
volatile
unsigned
char
vuint8
;
41
typedef
volatile
unsigned
short
vuint16;
42
typedef
volatile
unsigned
long
vuint32;
43
44
/***************************************************************************/
46
struct
rtems_bsdnet_ifconfig;
47
extern
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
/***************************************************************************/
53
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
59
uint32_t bsp_get_CPU_clock_speed(
void
);
60
uint32_t bsp_get_BUS_clock_speed(
void
);
61
62
rtems_isr_entry
set_vector(
63
rtems_isr_entry
handler,
64
rtems_vector_number
vector,
65
int
type
66
);
67
68
/*
69
* Interrupt assignments
70
* Highest-priority listed first
71
*/
72
#define FEC_IRQ_LEVEL 4
73
74
#define PIT3_IRQ_LEVEL 4
75
76
#define UART0_IRQ_LEVEL 3
77
#define UART1_IRQ_LEVEL 3
78
#define UART2_IRQ_LEVEL 3
79
80
/*
81
* Prototypes for BSP methods which cross file boundaries
82
*/
83
void
Init5329(
void
);
84
85
#ifdef __cplusplus
86
}
87
#endif
88
90
91
#endif
bspIo.h
This header file provides the kernel character input/output support API.
default-initial-extension.h
This header file provides the default definition of BSP_INITIAL_EXTENSION.
rtems_isr_entry
ISR_Handler_entry rtems_isr_entry
Interrupt service routines installed by rtems_interrupt_catch() shall have this type.
Definition
intr.h:134
rtems_vector_number
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition
intr.h:102
vuint8
volatile unsigned char vuint8
Definition
mcf5223x.h:9
rtems.h
This header file defines the RTEMS Classic API.
Generated by
1.18.0