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
i386
include
libcpu
byteorder.h
1
/*
2
* The license and distribution terms for this file may be
3
* found in the file LICENSE in this distribution or at
4
* http://www.rtems.org/license/LICENSE.
5
*/
6
7
#ifndef _LIBCPU_BYTEORDER_H
8
#define _LIBCPU_BYTEORDER_H
9
10
static
inline
void
st_le32(
volatile
uint32_t *addr, uint32_t value)
11
{
12
*(addr)=value ;
13
}
14
15
static
inline
uint32_t ld_le32(
volatile
uint32_t *addr)
16
{
17
return
(*addr);
18
}
19
20
static
inline
void
st_le16(
volatile
uint16_t *addr, uint16_t value)
21
{
22
*(addr)=value ;
23
}
24
25
static
inline
uint16_t ld_le16(
volatile
uint16_t *addr)
26
{
27
return
(*addr);
28
}
29
30
31
#endif
Generated by
1.8.13