124
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
4
4
.
.
5
5
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
C
C
t
t
r
r
l
l
Prototype:
AiReturn FdxCmdTxBufferQueueCtrl (AiUInt32 ul_Handle,
TY_FDX_FW_BUF_HDL x_TxBufferQueueHandle,
TY_FDX_TX_BUF_QUEUE_CTRL
*px_TxBufferQueueCtrl,
TY_FDX_TX_BUF_QUEUE_DESC
*px_TxBufferQueueDesc);
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
FDX_TX_BUF_QUEUE_CTRL (0x000080B4)
Purpose:
This function controls a Transmit Buffer Queue Attributes. It is intended to provide the user
necessary control over the Buffer Queue function in order to change the Queue Mode or the
current Index of the Queue or both. It can furthermore used to retrieve Information about the
current Queue Parameter.
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
_
_
B
B
u
u
f
f
f
f
e
e
r
r
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
).
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
B
B
U
U
F
F
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
C
C
T
T
R
R
L
L
*
*
p
p
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
C
C
t
t
r
r
l
l
Structure which describes the Buffer Queue Control Parameter
typedef struct {
AiUInt32
ul_BufferQueueMode;
AiUInt32
ul_BufferQueueIndex;
}
TY_FDX_TX_BUF_QUEUE_DESC;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
Q
Q
u
u
e
e
u
u
e
e
M
M
o
o
d
d
e
e
This parameter defines the Buffer Queue Mode for the Queue, which can be changed
Value
Description
FDX_TX_BUF_QUEUE_CYC
See FdxCmdTxBufferQueueAlloc function
FDX_TX_BUF_QUEUE_SNG
See FdxCmdTxBufferQueueAlloc function
FDX_TX_BUF_QUEUE_HOST
See FdxCmdTxBufferQueueAlloc function
FDX_TX_BUF_QUEUE_KEEP
Buffer Queue Mode is not changed
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
I
I
n
n
d
d
e
e
x
x
This parameter allows to change the Internal Buffer Index in order to force use of another
buffer of the buffer queue with the next associated frame. The value for this Index 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_KEEP will not modify the current internal Buffer Index.
Summary of Contents for AFDX / ARINC 664
Page 2: ......