Reference Manual AFDX / ARINC 664 Application Interface Library
99
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
.
.
8
8
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
U
U
D
D
P
P
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdTxUDPControl ( AiUInt32 ul_Handle,
AiUInt32 ul_UdpHandle,
const TY_FDX_TX_UDP_CONTROL
*px_TxUdpControl);
Driver Command:
FDX_TX_UDP_CONTROL (0x0000805E)
Purpose:
This function is used to enable or disable a UDP Port, manage error-injection purposes and
modify Network and Skew parameters.
Input:
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
H
H
a
a
n
n
d
d
l
l
e
e
See description of
FdxCmdTxUDPCreatePort
and
FdxCmdTxSAPCreatePort
.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
U
U
D
D
P
P
_
_
C
C
O
O
N
N
T
T
R
R
O
O
L
L
*
*
p
p
x
x
_
_
T
T
x
x
U
U
d
d
p
p
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Pointer to a setup structure for a Transmit UDP Port
typedef struct {
AiUInt32
ul_EnableTyp;
AiUInt32
ul_NetSelect;
AiUInt32
ul_Skew;
AiUInt32
ul_ErrorInjectionCount;
AiUInt32
ul_ErrorInjectionTyp;
} TY_FDX_TX_UDP_CONTROL;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
E
E
n
n
a
a
b
b
l
l
e
e
T
T
y
y
p
p
Value
Comment
FDX_ENA
UDP Port is enabled. All frames defined for this port are
transmitted
FDX_DIS
UDP Port is disabled. All frames for the given UDP Port are
discarded.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
N
N
e
e
t
t
S
S
e
e
l
l
e
e
c
c
t
t
Value:
Description:
FDX_TX_FRAME_DLY_A
Packet on Network A is delayed by the Skew value,
related to Network B
FDX_TX_FRAME_DLY_B
Packet on Network B is delayed by the Skew value,
related to Network A
FDX_TX_FRAME_BOTH
Packet transmitted on both Networks (Skew=0)
FDX_TX_FRAME_ONLY_A
Packet only transmitted on Network A
FDX_TX_FRAME_ONLY_B
Packet only transmitted on Network B
FDX_TX_FRAME_VL_DEFAULT
Use Net preselected setting of the VL
Note:
This function is only provided in redundant port operation mode.