
120
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
4
4
.
.
3
3
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
B
B
u
u
f
f
f
f
e
e
r
r
Q
Q
u
u
e
e
u
u
e
e
R
R
e
e
a
a
d
d
Prototype:
AiReturn FdxCmdTxBufferQueueRead (AiUInt32 ul_Handle,
TY_FDX_FW_BUF_HDL x_TxBufferQueueHandle,
AiUInt32 ul_StartIndex,
AiUInt32 ul_StartByte,
AiUInt32 ul_BytesToRead,
void *pv_Data,
AiUInt32 *pul_BytesRead);
Driver Command:
FDX_TX_BUF_QUEUE_READ
Purpose:
This function reads buffer contents from a Transmit Buffer Queue in the BIU associated
memory (Global Ram).
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
F
F
W
W
_
_
B
B
U
U
F
F
_
_
H
H
D
D
L
L
x
x
_
_
T
T
x
x
B
B
u
u
f
f
f
f
e
e
r
r
Q
Q
u
u
e
e
u
u
e
e
H
H
a
a
n
n
d
d
l
l
e
e
Handle to the buffer queue, this command is applied to.
(See description of
FdxCmdTxBufferQueueAlloc
).
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
t
t
a
a
r
r
t
t
I
I
n
n
d
d
e
e
x
x
Start Index of the buffer queue in BIU associated memory which describes the start
location to read data from. This value must not exceed the maximum number of
buffers in the queue. Therefore the value must be in the range between 0 (first
buffer in queue) and the “
ul_BuffersInQueue
– 1” parameter , given at the
FdxCmdTxBufferQueueAlloc
function. A value of FDX_TX_BUF_QUEUE_ACT
reads the data from the current Buffer Index.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
t
t
a
a
r
r
t
t
B
B
y
y
t
t
e
e
Offset to the first byte to read inside the selected buffer. Using this option you have
the possibility to read only a part of a message.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
y
y
t
t
e
e
s
s
T
T
o
o
R
R
e
e
a
a
d
d
Number of bytes which shall be read from the BIU associated memory. Since the
Buffer Queue allocates multiple buffers continuously, it is possible to read more than
one buffer of the queue with one call, by setting this parameter to the corresponding
number of bytes.
Summary of Contents for AFDX / ARINC 664
Page 2: ......