Diagnostic SpaceWire Interface
EtherSpaceLink family User Manual
17.
6
.8.
EtherSpaceLink_write_buffer_empty()
S
ynops
i
s
int EtherSpaceLink_write_buffer_empty ( EtherSpaceLink DSI_unit
)
D
esc
ri
pt
i
on
EtherSpaceLink_write_buffer_empty()
ch
e
cks wh
et
h
e
r
t
h
e
r
e
i
s a
n
y da
t
a wa
i
t
i
n
g
to be
t
r
a
n
s
m
i
tte
d
.
Th
i
s
i
s
u
s
e
f
ul
i
f y
ou nee
d
to
k
no
w
t
ha
t
a
ll
da
t
a s
ent
has ac
tu
a
ll
y
been t
r
a
n
s
m
i
tte
d
on t
h
e
S
pac
e
W
ir
e l
i
n
k
.
N
ote
:
t
h
i
s d
oe
s
not
ch
e
ck f
o
r
a
n
y da
t
a
be
i
n
g
h
el
d
i
n t
h
e
s
to
r
e
-a
n
d-f
o
r
wa
r
d
bu
ff
e
r
(
i
f p
r
e
s
ent).
I
nput p
ara
mete
r
s
DSI_unit
t
h
e
ha
n
d
le
r
etu
r
ne
d
b
y a s
u
cc
e
ssf
ul
EtherSpaceLink_open()
c
omm
a
n
d
.
Retu
r
ns
0
D
a
t
a
i
s wa
i
t
i
n
g
to be t
r
a
n
s
m
i
tte
d
1
Th
e
r
e
i
s
no
da
t
a wa
i
t
i
n
g
to be t
r
a
n
s
m
i
tte
d
.
-1
A
n e
rr
o
r
o
cc
u
rr
e
d
.
Note
Be
awa
r
e t
ha
t
EtherSpaceLink_write_buffer_empty()
c
on
s
ume
s
S
pac
e
W
ir
e
da
t
a f
r
om t
h
e
TC
P/
I
P
c
onne
c
t
i
on to t
h
e
E
t
h
e
r
S
pac
eL
i
n
k
un
i
t
wh
i
le
i
t
i
s wa
i
t
i
n
g
f
o
r
a s
u
cc
e
ssf
ul
r
e
sp
on
s
e.
If
t
h
e un
i
t
un
d
e
r
te
s
t
g
ene
r
a
te
s asy
n
ch
r
onou
s
t
r
aff
i
c
,
t
h
i
s
m
ig
h
t be
a c
on
c
e
r
n.
EtherSpaceLink_write_buffer_empty()
r
etu
r
n
s a
r
e
s
ult
c
o
d
e o
f -1
i
f a
n
y
S
pac
e
W
ir
e
da
t
a
i
s
lo
s
t. See
s
e
c
t
i
on
4Links Limited
www.4Links.co.uk
[email protected]
page 76 of 130
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park