RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
bfin
TLL6527M
include
bsp.h
Go to the documentation of this file.
1
10
11
/*
12
* COPYRIGHT (c) 2010 by ECE Northeastern University.
13
*
14
* The license and distribution terms for this file may be
15
* found in the file LICENSE in this distribution or at
16
* http://www.rtems.org/license
17
*/
18
19
#ifndef LIBBSP_BFIN_TLL6527M_BSP_H
20
#define LIBBSP_BFIN_TLL6527M_BSP_H
21
31
32
#ifndef ASM
33
34
#include <bspopts.h>
35
#include <
bsp/default-initial-extension.h
>
36
37
#include <
rtems.h
>
38
#include <
rtems/score/bfin.h
>
39
#include <
rtems/bfin/bf52x.h
>
40
#include <
bf52x.h
>
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
46
/*
47
* PLL and clock setup values:
48
*/
49
50
/*
51
* PLL configuration for TLL6527M
52
*
53
* XTL = 27 MHz
54
* CLKIN = 13 MHz
55
* VCO = 391 MHz
56
* CCLK = 391 MHz
57
* SCLK = 130 MHz
58
*/
59
64
65
#define PLL_CSEL 0x0000
66
#define PLL_SSEL 0x0003
67
#define PLL_MSEL 0x3A00
68
#define PLL_DF 0x0001
69
71
76
77
#define CLKIN (25000000)
78
#define CCLK (600000000)
79
#define SCLK (100000000)
80
82
87
88
#define BAUDRATE 57600
89
#define WORD_5BITS 0x00
90
#define WORD_6BITS 0x01
91
#define WORD_7BITS 0x02
92
#define WORD_8BITS 0x03
93
#define EVEN_PARITY 0x18
94
#define ODD_PARITY 0x08
95
#define TWO_STP_BIT 0x04
96
98
110
rtems_isr_entry
set_vector(
111
rtems_isr_entry
handler,
112
rtems_vector_number
vector,
113
int
type
114
);
115
116
/*
117
* Internal BSP methods that are used across file boundaries
118
*/
119
void
Init_RTC(
void
);
120
121
/*
122
* Prototype for methods in .S files that are referenced from C.
123
*/
124
void
bfin_null_isr(
void
);
125
126
#ifdef __cplusplus
127
}
128
#endif
129
130
#endif
/* !ASM */
131
133
134
#endif
bf52x.h
Basic MMR for the Blackfin 52x 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
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