RTEMS
5.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
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
h
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
lpc-clock-config.h
Go to the documentation of this file.
1
9
/*
10
* Copyright (c) 2009
11
* embedded brains GmbH
12
* Obere Lagerstr. 30
13
* D-82178 Puchheim
14
* Germany
15
* <rtems@embedded-brains.de>
16
*
17
* The license and distribution terms for this file may be
18
* found in the file LICENSE in this distribution or at
19
* http://www.rtems.org/license/LICENSE.
20
*/
21
22
#ifndef LIBBSP_ARM_LPC176X_LPC_CLOCK_CONFIG_H
23
#define LIBBSP_ARM_LPC176X_LPC_CLOCK_CONFIG_H
24
25
#include <bsp.h>
26
#include <bsp/irq.h>
27
#include <
bsp/lpc176x.h
>
28
#include <bsp/io.h>
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
/* __cplusplus */
33
34
#define LPC_CLOCK_INTERRUPT LPC176X_IRQ_TIMER_0
35
#define LPC_CLOCK_TIMER_BASE TMR0_BASE_ADDR
36
#define LPC_CLOCK_TIMECOUNTER_BASE TMR1_BASE_ADDR
37
#define LPC_CLOCK_REFERENCE LPC176X_PCLK
38
#define LPC_CLOCK_MODULE_ENABLE() \
39
lpc176x_module_enable( LPC176X_MODULE_TIMER_0, LPC176X_MODULE_PCLK_DEFAULT )
40
41
#ifdef __cplusplus
42
}
43
#endif
/* __cplusplus */
44
45
#endif
/* LIBBSP_ARM_LPC176X_LPC_CLOCK_CONFIG_H */
lpc176x.h
Specific register definitions according to lpc176x family boards.
Generated by
1.8.15