![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730122.webp)
110
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
.
.
1
1
4
4
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
V
V
L
L
W
W
r
r
i
i
t
t
e
e
Prototype:
AiReturn FdxCmdTxVLWrite (
AiUInt32 ul_Handle,
const TY_FDX_TX_VL_WRITE_IN *px_TxVLWriteIn,
TY_FDX_TX_VL_WRITE_OUT *px_TxVLWriteOut);
Driver Command:
FDX_TX_VL_WRITE (0x00008060)
Purpose:
This function is used to write data directly to a virtual link buffer. The Virtual link has to be
defined using function
FdxCmdTxCreateVL
or
FdxCmdTxCreateHiResVL
.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
V
V
L
L
_
_
W
W
R
R
I
I
T
T
E
E
_
_
I
I
N
N
*
*
p
p
x
x
_
_
T
T
x
x
V
V
L
L
W
W
r
r
i
i
t
t
e
e
I
I
n
n
Pointer to a setup structure for a Virtual Link
typedef struct {
AiUInt32
ul_VlId;
AiUInt32
ul_SubVlId;
AiUInt32
ul_ByteCount;
const void *pv_Data;
} TY_FDX_TX_VL_WRITE_IN;
AiUInt32 ul_VLId
Virtual Link Identifier. A value in a range from 0 to 65535.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
u
u
b
b
V
V
l
l
I
I
d
d
;
;
Sub Virtual Link Identifier (Sub VLs are only relevant in Tx Mode). This value must be in a
range from 1 to 4. If Sub VLs are not used, the Sub VL Id equals to 1.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
y
y
t
t
e
e
C
C
o
o
u
u
n
n
t
t
Number of bytes which shall be written to this VL.
v
v
o
o
i
i
d
d
*
*
p
p
v
v
_
_
D
D
a
a
t
t
a
a
Pointer to a buffer containing the data to write. The size of this buffer should correspond to
ul_ByteCount
.
Summary of Contents for AFDX / ARINC 664
Page 2: ......