![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730067.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
55
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
1
1
.
.
4
4
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
S
S
t
t
a
a
t
t
i
i
c
c
R
R
e
e
g
g
s
s
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdTxStaticRegsControl (
AiUInt32 ul_Handle,
const TY_FDX_TX_STATIC_REGS*
px_TxStaticRegs);
Driver Command:
FDX_TX_STATIC_REGS_CTRL (0x00008055)
Purpose:
This function is used to setup the Static Transmit Registers of a port. This is especially used in
Generic
Transmit Mode, together with corresponding
Payload Generation Modes
(see
FdxCmdTxQueueWrite
command). For other Transmit Modes (Replay and Individual) this
command has no effect.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
S
S
T
T
A
A
T
T
I
I
C
C
_
_
R
R
E
E
G
G
S
S
*
*
p
p
x
x
_
_
T
T
x
x
S
S
t
t
a
a
t
t
i
i
c
c
R
R
e
e
g
g
s
s
Pointer to a setup structure for Static Transmit Registers
typedef struct {
TY_FDX_TX_STATIC_REGS_MAC
x_TxStaticRegsMAC;
TY_FDX_TX_STATIC_REGS_IP
x_TxStaticRegsIP;
TY_FDX_TX_STATIC_REGS_UDP
x_TxStaticRegsUDP;
} TY_FDX_TX_STATIC_REGS;
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
S
S
T
T
A
A
T
T
I
I
C
C
_
_
R
R
E
E
G
G
S
S
_
_
M
M
A
A
C
C
x
x
_
_
T
T
x
x
S
S
t
t
a
a
t
t
i
i
c
c
R
R
e
e
g
g
s
s
M
M
A
A
C
C
Sub-Structure for MAC Static values
typedef struct {
AiUInt8 uc_MACDest2;
// MAC Destination Byte 2
AiUInt8 uc_MACDest3;
// MAC Destination Byte 3
AiUInt8 uc_MACDest4;
// MAC Destination Byte 4
AiUInt8 uc_MACDest5;
// MAC Destination Byte 5
AiUInt8 uc_MACSrc0;
// MAC Source Byte 0
AiUInt8 uc_MACSrc3;
// MAC Source Byte 3
AiUInt8 uc_MACSrc4;
// MAC Source Byte 4
AiUInt8 uc_MACSrc5;
// MAC Source Byte 5
AiUInt16
uw_MACLengthType;
// MAC Length/Type
}
TY_FDX_TX_STATIC_REGS_MAC;
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
S
S
T
T
A
A
T
T
I
I
C
C
_
_
R
R
E
E
G
G
S
S
_
_
I
I
P
P
x
x
_
_
T
T
x
x
S
S
t
t
a
a
t
t
i
i
c
c
R
R
e
e
g
g
s
s
I
I
P
P
Sub-Structure for IP Static values
typedef struct {
AiUInt8 uc_IPTypeSrv;
// IP Type of Service
AiUInt8 uc_IPVersion;
// IP Version Field (Bits 0..3)
AiUInt8 uc_IPIHL;
// IP IHL (Bits 0..3)
AiUInt8 uc_IPProtocol;
// IP Protocol = UDP = 0x11
AiUInt8 uc_IPTTLive;
// IP Time To Live
AiUInt8 uc_IPCtrl;
// IP Control
AiUInt16 uw_IPFrag;
// IP Fragment ID
AiUInt16
uw_IPTotalLength;
// IP total Length
AiUInt16 uw_IPFragOffs;
// IP Fragment. Offset
AiUInt16 uw_IPHeaderChkSum;
// IP Header Checksum
AiUInt32 ul_IPDest;
// IP Destination Address
Summary of Contents for AFDX / ARINC 664
Page 2: ......