EtherSpaceLink-RG408
EtherSpaceLink family User Manual
Output p
ara
mete
r
s
terminator
i
nd
i
ca
tes
w
ha
t te
r
m
i
n
a
t
o
r, i
f a
n
y
,
w
a
s
r
e
c
e
iv
ed
Retu
r
ns
≥
0
Th
e
r
e
a
d
r
e
q
u
est
w
a
s s
u
cc
ess
f
ully
q
u
e
u
ed.
-
1
A
n e
rr
o
r
o
cc
u
rr
ed.
S
ee
A
lso
EtherSpaceLink_read_packet_full()
E
xa
mple
A
n
a
s
y
n
ch
r
o
n
ou
s
p
ac
k
et
r
e
a
d
w
i
t
h
,
l
a
te
r,
a
b
lo
c
k
i
n
g
w
a
i
t
EtherSpaceLink_read_packet_full_nowait ( ESL_unit,
buffer,
buffer_length,
&terminator,
0
);
// immediate processing ...
// ... and then a blocking wait
read_length = EtherSpaceLink_read_packet_wait_for_completion ( ESL_unit );
4Links Limited
www.4Links.co.uk
[email protected]
page 74 of 110
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park