RTEMS: bsps/m68k/mcf52235/include/bsp.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
bsp.h
Go to the documentation of this file.
1
9/*
10 * mcf52235 BSP header file
11 */
12
13#ifndef LIBBSP_M68K_MCF52235_BSP_H
14#define LIBBSP_M68K_MCF52235_BSP_H
15
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
36extern "C" {
37#endif
38
39/* Declare base address of peripherals area */
40#define __IPSBAR ((vuint8 *) 0x40000000)
41
42/***************************************************************************/
45/***************************************************************************/
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
57uint32_t bsp_get_CPU_clock_speed(void);
58
59rtems_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 */
83void Init52235(void);
84
85#ifdef __cplusplus
86}
87#endif
88
91#endif
92
bspIo.h
Interface to Kernel Print Methods.
default-initial-extension.h
DEFAULT_INITIAL_EXTENSION Support.
rtems_vector_number
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
rtems.h