RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
bfin
eZKit533
include
bsp.h
Go to the documentation of this file.
1
10
11
/* bsp.h
12
*
13
* This include file contains all board IO definitions for eZKit533.
14
*
15
* Copyright (c) 2006 by Atos Automacao Industrial Ltda.
16
* written by Alain Schaefer <alain.schaefer@easc.ch>
17
* and Antonio Giovanini <antonio@atos.com.br>
18
*
19
* The license and distribution terms for this file may be
20
* found in the file LICENSE in this distribution or at
21
* http://www.rtems.org/license/LICENSE.
22
*/
23
24
25
#ifndef LIBBSP_BFIN_EZKIT533_BSP_H
26
#define LIBBSP_BFIN_EZKIT533_BSP_H
27
28
#ifndef ASM
29
30
#include <libcpu/bf533.h>
31
32
#include <bspopts.h>
33
#include <
bsp/default-initial-extension.h
>
34
35
#include <
rtems.h
>
36
#include <
rtems/score/bfin.h
>
37
#include <
rtems/bfin/bf533.h
>
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
52
66
67
#define PLL_CSEL 0x0000
68
#define PLL_SSEL 0x0003
69
#define PLL_MSEL 0x3A00
70
#define PLL_DF 0x0001
71
72
#define CCLK 391000000
73
#define SCLK 130000000
74
76
81
82
#define BAUDRATE 57600
83
#define WORD_5BITS 0x00
84
#define WORD_6BITS 0x01
85
#define WORD_7BITS 0x02
86
#define WORD_8BITS 0x03
87
#define EVEN_PARITY 0x18
88
#define ODD_PARITY 0x08
89
#define TWO_STP_BIT 0x04
90
92
97
98
#define FlashA_PortB_Dir 0x20270007L
99
#define FlashA_PortB_Data 0x20270005L
100
102
106
#define L1_DATA_SRAM_A 0xff800000L
107
108
#define FIFOLENGTH 0x100
109
114
115
#define RAM_START 0
116
#define RAM_END 0x100000
117
119
124
129
void
setLED (uint8_t value);
130
134
uint8_t
getLED
(
void
);
135
147
rtems_isr_entry
set_vector(
148
rtems_isr_entry
handler,
149
rtems_vector_number
vector,
150
int
type
151
);
152
153
/*
154
* Internal BSP methods that are used across file boundaries
155
*/
156
void
Init_RTC(
void
);
157
158
/*
159
* Prototype for methods in .S files that are referenced from C.
160
*/
161
void
bfin_null_isr(
void
);
162
164
166
167
#ifdef __cplusplus
168
}
169
#endif
170
171
#endif
/* !ASM */
172
174
175
#endif
bf533.h
Basic MMR for the Blackfin 531/532/533 CPU.
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
getLED
uint8_t getLED(void)
Helper Function to use the EzKits LEDS.
Definition
bspstart.c:153
rtems.h
This header file defines the RTEMS Classic API.
bfin.h
Blackfin Set up Basic CPU Dependency Settings Based on Compiler Settings.
Generated by
1.18.0