RTEMS
5.0.0
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
+
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
+
Enumerator
a
c
d
i
l
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bsps
arm
lpc176x
include
bsp.h
Go to the documentation of this file.
1
9
/*
10
* Copyright (c) 2008-2013 embedded brains GmbH. All rights reserved.
11
*
12
* embedded brains GmbH
13
* Obere Lagerstr. 30
14
* 82178 Puchheim
15
* Germany
16
* <rtems@embedded-brains.de>
17
*
18
* The license and distribution terms for this file may be
19
* found in the file LICENSE in this distribution or at
20
* http://www.rtems.org/license/LICENSE.
21
*/
22
23
#ifndef LIBBSP_ARM_LPC176X_BSP_H
24
#define LIBBSP_ARM_LPC176X_BSP_H
25
36
#include <bspopts.h>
37
38
#define LPC176X_PCLK ( LPC176X_CCLK / LPC176X_PCLKDIV )
39
#define LPC176X_MPU_REGION_COUNT 8u
40
41
#define BSP_FEATURE_IRQ_EXTENSION
42
#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT ( 29u << 3u )
43
#define BSP_ARMV7M_SYSTICK_PRIORITY ( 30u << 3u )
44
#define BSP_ARMV7M_SYSTICK_FREQUENCY LPC176X_CCLK
45
46
#ifndef ASM
47
48
#include <
rtems.h
>
49
#include <
bsp/default-initial-extension.h
>
50
51
#ifdef __cplusplus
52
extern
"C"
{
53
#endif
/* __cplusplus */
54
55
struct
rtems_bsdnet_ifconfig;
56
77
void
*
bsp_idle_thread
( uintptr_t ignored );
78
79
#define BSP_CONSOLE_UART_BASE 0x4000C000U
80
85
void
bsp_restart
(
const
void
*addr );
86
87
#ifdef __cplusplus
88
}
89
#endif
/* __cplusplus */
90
91
#endif
/* ASM */
92
95
#endif
/* LIBBSP_ARM_LPC176X_BSP_H */
default-initial-extension.h
DEFAULT_INITIAL_EXTENSION Support.
rtems.h
bsp_idle_thread
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition:
bspidle.c:26
bsp_restart
void bsp_restart(const void *addr)
Restarts the bsp with "addr" address.
Definition:
restart.c:25
Generated by
1.8.13