66
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
2
2
.
.
4
4
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
W
W
r
r
i
i
t
t
e
e
Prototype:
AiReturn FdxCmdTxQueueWrite ( AiUInt32 ul_Handle,
AiUInt32 ul_HeaderType,
AiUInt32 ul_EntryCount,
AiUInt32 ul_WriteBytes,
const void *pv_WriteBuffer);
Driver Command:
FDX_TX_QUEUE_WRITE (0x00008058)
Purpose:
This function is used to write Entries to a Transmit Queue from a provided buffer. For this write
function the number of Entries and the number of bytes to write needs to be specified. The
entries will always be queued at the end of the transmit queue.
Input:
AiUInt32 ul_HeaderType
This parameter defines, the type of the frame header structure.
T
T
r
r
a
a
n
n
s
s
m
m
i
i
t
t
M
M
o
o
d
d
e
e:
Value:
Description:
FDX_TX_GENERIC /
FDX_TX_INDIVIDUAL
FDX_TX_FRAME_HEADER_
GENERIC
Standard Generic Tx Frame, only
applicable for Generic Transmit mode.
Layout of frame header follows the
TY_FDX_TX_FRAME_HEADER
structure
FDX_TX_REPLAY FDX_TX_FRAME_HEADER_
REPLAY
Replay Tx Frame, only applicable in
Replay Transmit mode.
Layout of frame header follows the
TY_FDX_FRAME_BUFFER_HEADER
Structure, described at the
FdxCmdMonQueueRead
command.
FDX_TX_FIFO FDX_TX_FRAME_HEADER_
REPLAY
FIFO Tx Frame, only applicable in FIFO
Transmit mode.
Layout of frame header follows the
TY_FDX_TX_FIFO_FRAME_HEADER
structure
AiUInt32 ul_EntryCount
T
T
r
r
a
a
n
n
s
s
m
m
i
i
t
t
M
M
o
o
d
d
e
e :
Value / Description:
FDX_TX_GENERIC
At the moment only a count of 1 is suported
FDX_TX_REPLAY Not
applicable
FDX_TX_INDIVIDUAL
At the moment only a count of 1 is suported
FDX_TX_FIFO
Number of Entries to write
AiUInt32 ul_WriteBytes
Number of bytes that shall be written to the queue.