RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
m68k
mcf52235
include
bsp.h
Go to the documentation of this file.
1
8
9
/*
10
* mcf52235 BSP header file
11
*/
12
13
#ifndef LIBBSP_M68K_MCF52235_BSP_H
14
#define LIBBSP_M68K_MCF52235_BSP_H
15
25
26
#include <bspopts.h>
27
#include <
bsp/default-initial-extension.h
>
28
#include <
rtems.h
>
29
#include <
rtems/bspIo.h
>
30
31
/***************************************************************************/
33
#include <mcf5223x/mcf5223x.h>
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
/* Declare base address of peripherals area */
40
#define __IPSBAR ((vuint8 *) 0x40000000)
41
42
/***************************************************************************/
44
45
/***************************************************************************/
47
48
/* define which port the console should use - all other ports are then defined as general purpose */
49
#define CONSOLE_PORT 0
50
51
/* externals */
52
53
/* constants */
54
55
/* functions */
56
57
uint32_t bsp_get_CPU_clock_speed(
void
);
58
59
rtems_isr_entry
set_vector(
60
rtems_isr_entry
handler,
61
rtems_vector_number
vector,
62
int
type
63
);
64
65
/*
66
* Interrupt assignments
67
* Highest-priority listed first
68
*/
69
70
#define PIT3_IRQ_LEVEL 4
71
#define PIT3_IRQ_PRIORITY 0
72
73
#define UART0_IRQ_LEVEL 3
74
#define UART0_IRQ_PRIORITY 7
75
#define UART1_IRQ_LEVEL 3
76
#define UART1_IRQ_PRIORITY 6
77
#define UART2_IRQ_LEVEL 3
78
#define UART2_IRQ_PRIORITY 5
79
80
/*
81
* Prototypes for BSP methods which cross file boundaries
82
*/
83
void
Init52235(
void
);
84
85
#ifdef __cplusplus
86
}
87
#endif
88
90
91
#endif
92
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