![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730076.webp)
64
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
2
2
.
.
3
3
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
Q
Q
u
u
e
e
u
u
e
e
U
U
p
p
d
d
a
a
t
t
e
e
AiReturn FdxCmdTxQueueUpdate ( AiUInt32 ul_Handle,
const TY_FDX_TX_QUEUE_UPDATE *px_Update,
const void *pv_WriteBuffer);
Driver Command:
FDX_TX_QUEUE_UPDATE (0x00008061)
Purpose:
This function allows update of frames in a generic transmit queue after a frame was already
written to the queue. The update is also possible while the transmission is running (on the fly).
It is only possible to update AFDX- FRAME data (MAC-Frame) data and not the Fixed Header
like described in FdxCmdTxQueueWrite.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
U
U
P
P
D
D
A
A
T
T
E
E
*
*
p
p
x
x
_
_
U
U
p
p
d
d
a
a
t
t
e
e
A pointer to a structure which describes which frame in the queue and also the data
position and length of data which shall be updated within the MAC frame.
typedef struct {
AiUInt32
ul_Index;
AiUInt32
ul_Offset;
AiUInt32
ul_Length;
AiUInt32
ul_SubQueueHandle;
} TY_FDX_TX_QUEUE_UPDATE;
AiUInt32
u
u
l
l
_
_
I
I
n
n
d
d
e
e
x
x
I Index to the frame which shall be updated. This is a counting value starting with 0 over all
frames written to the queue with the command FdxCmdTxQueueWrite or
FdxCmdTxSubQueueWrite. The first written frame has the index 0. If there are commends
inserted to the queue, the commands are also numbered.
If ul_SubQueueHandle is unequal to 0, ul_Index 0 addresses the first transfer of the
SubQueuestarting with the byte referenced by ul_Offset.
AiUInt32
u
u
l
l
_
_
O
O
f
f
f
f
s
s
e
e
t
t
Byte offset within the MAC frame, where update of data shall be started. Offset 0 addresses
Byte 0 of the MAC Frame
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
L
L
e
e
n
n
g
g
t
t
h
h
Number of Bytes shall be updated starting with the byte referenced by ul_Offset.
AiUInt32 ul_
S
S
u
u
b
b
Q
Q
u
u
e
e
u
u
e
e
H
H
a
a
n
n
d
d
l
l
e
e
If ul_SubQueueHandle is unequal to 0 it indicates that the Transfer which shall be controlled is
located in a Transmitter SubQueue. A value of 0 indicates the Main TransferQueue Handle
Summary of Contents for AFDX / ARINC 664
Page 2: ......