RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
m68k
mcf5225x
include
bsp.h
Go to the documentation of this file.
1
8
9
/*
10
* The license and distribution terms for this file may be
11
* found in the file LICENSE in this distribution or at
12
* http://www.rtems.org/license/LICENSE.
13
*/
14
15
#ifndef LIBBSP_M68K_MCF5225X_BSP_H
16
#define LIBBSP_M68K_MCF5225X_BSP_H
17
27
28
#include <bspopts.h>
29
#include <
bsp/default-initial-extension.h
>
30
#include <
rtems.h
>
31
#include <
rtems/bspIo.h
>
32
33
/***************************************************************************/
35
#include <mcf5225x/mcf5225x.h>
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
/* Declare base address of peripherals area */
42
#define __IPSBAR ((vuint8 *) 0x40000000)
43
44
/***************************************************************************/
46
47
/***************************************************************************/
49
50
/* define ports for console and DPU specific for BLUETOOTH and STATIONS */
51
#define STATIONS_PORT 0
52
#define CONSOLE_PORT 1
53
#define BLUETOOTH_PORT 2
54
55
/* externals */
56
57
/* constants */
58
59
/* miscellaneous stuff assumed to exist */
60
61
/*
62
* Device Driver Table Entries
63
*/
64
65
/*
66
* NOTE: Use the standard Console driver entry
67
*/
68
69
/*
70
* NOTE: Use the standard Clock driver entry
71
*/
72
73
74
/* functions */
75
76
uint32_t bsp_get_CPU_clock_speed(
void
);
77
78
rtems_isr_entry
set_vector(
79
rtems_isr_entry
handler,
80
rtems_vector_number
vector,
81
int
type
82
);
83
84
/*
85
* Interrupt assignments
86
* Highest-priority listed first
87
*/
88
89
#define PIT3_IRQ_LEVEL 4
90
#define PIT3_IRQ_PRIORITY 0
91
92
#define UART0_IRQ_LEVEL 3
93
#define UART0_IRQ_PRIORITY 7
94
#define UART1_IRQ_LEVEL 3
95
#define UART1_IRQ_PRIORITY 6
96
#define UART2_IRQ_LEVEL 3
97
#define UART2_IRQ_PRIORITY 5
98
99
/*
100
* Prototypes for BSP methods which cross file boundaries
101
*/
102
void
Init5225x(
void
);
103
104
#ifdef __cplusplus
105
}
106
#endif
107
109
110
#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
rtems.h
This header file defines the RTEMS Classic API.
Generated by
1.18.0