RTEMS
5.2
Toggle main menu visibility
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
lm32
shared
clock
clock.h
Go to the documentation of this file.
1
7
/*
8
* This file contains definitions for LatticeMico32 Timer (Clock)
9
*
10
* COPYRIGHT (c) 1989-1999.
11
* On-Line Applications Research Corporation (OAR).
12
*
13
* The license and distribution terms for this file may be
14
* found in the file LICENSE in this distribution or at
15
* http://www.rtems.org/license/LICENSE.
16
*
17
* Jukka Pietarinen <jukka.pietarinen@mrf.fi>, 2008,
18
* Micro-Research Finland Oy
19
*/
20
28
#ifndef _BSPCLOCK_H
29
#define _BSPCLOCK_H
30
33
#define LM32_CLOCK_SR (0x0000)
34
#define LM32_CLOCK_SR_TO (0x0001)
35
#define LM32_CLOCK_SR_RUN (0x0002)
36
39
#define LM32_CLOCK_CR (0x0004)
40
#define LM32_CLOCK_CR_ITO (0x0001)
41
#define LM32_CLOCK_CR_CONT (0x0002)
42
#define LM32_CLOCK_CR_START (0x0004)
43
#define LM32_CLOCK_CR_STOP (0x0008)
44
47
#define LM32_CLOCK_PERIOD (0x0008)
48
51
#define LM32_CLOCK_SNAPSHOT (0x000C)
52
53
#endif
/* _BSPCLOCK_H */
54
Generated by
1.9.4