52
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter
F
ti
4
4
.
.
3
3
.
.
1
1
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
M
M
o
o
d
d
e
e
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdTxModeControl( AiUInt32 ul_Handle,
const TY_FDX_TX_MODE_CTRL *px_TxModeControl);
Driver Command:
FDX_TX_MODE_CONTROL (0x00008051)
Purpose:
This function is used to configure the operational mode of the transmit port.
Input:
TY_FDX_TX_MODE_CTRL *px_TxModeControl
Pointer to a control structure to setup the transmit port and also get information
about that port.
typedef struct {
AiUInt32 ul_TransmitMode;
AiUInt32 ul_RerosPortDelay;
} TY_FDX_TX_MODE_CTRL;
AiUInt32 ul_TransmitMode
There are four modes of operation for a Transmitter port
Value
Description
FDX_TX_GENERIC
Generic Transmit Mode
A List of AFDX Frames with additional Header Information (Gap Info
etc..) can be sent from a specified queue cyclically and a specific
number of times
FDX_TX_REPLAY
Replay Transmit Mode
This is used for replaying previously recorded AFDX traffic back to
the wire
FDX_TX_INDIVIDUAL Individual
Transmit Mode (Simulation Transmit Mode)
Several UDP ports can be defined using Virtual Links, which are
configured in a separate command. Each UDP port is defined by it’s
own parameters. The VL associated traffic shaping is supported
FDX_TX_FIFO
Fifo Transmit Mode
One AFDX Frame or a List of AFDX Frames with additional Header
Information (IFG Cnt Info etc..) can be sent from a specified queue
Note:
Replay is not available if the port has been configured for redundant
operation
AiUInt32 ul_RerosPortDelay
Reserved
Output:
None
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR