Reference Manual AFDX / ARINC 664 Application Interface Library
151
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
1
1
.
.
8
8
F
F
d
d
x
x
C
C
m
m
d
d
R
R
x
x
V
V
L
L
C
C
o
o
n
n
t
t
r
r
o
o
l
l
E
E
x
x
Prototype:
AiReturn FdxCmdRxVLControEx( AiUInt32 ul_Handle,
const TY_FDX_RX_VL_CTRL_EX
*px_VLControlEx);
Driver Command:
FDX_RX_VL_CONTROL_EX
(0x00008076)
Purpose:
This function is to control the extended Virtual link specific setting for a receive port. This
command can only be applied if the corresponding VL has been previously setup with the
FdxCmdRxVLControl
command and the VL is operating in
FDX_RX_VL_ENA_EXT
mode.
Input:
TY_FDX_
R
R
X
X
_
_VL_CTRL_EX *px_VLControlEx
A pointer to a structure which describes the extended Virtual Link related
parameters for the receiver.
typedef struct {
AiUInt32
ul_VLId;
AiUInt32
ul_RmdIpp;
AiUInt32
ul_Ctrl;
}TY_FDX_RX_VL_CTRL_EX;
AiUInt32 ul_VLId
Virtual Link Identifier. A value in a range from 0 to 65535. This value is part of the MAC
destination address.
A range of VLs to which the TY_FDX_RX_VL_CTRL settings are applied can be given by
setting the Start VL Identifier into the LSW, and the End VL Identifier of the range into the MSW
of the
u
u
l
l
_
_
V
V
L
L
I
I
d
d
p
p
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
.
.
AiUInt32
u
u
l
l
_
_
R
R
m
m
d
d
I
I
p
p
p
p
This parameter is no longer used in this function
AiUInt32 ul_Ctrl
This parameter allows the user to define miscellaneous control settings for VL related
reception.
Following functional groups can be controlled. The modes within one group are exclusive. But
all group modes can be combined.
Frame related interrupt control
Mode
Description
FDX_RX_VL_NOINT
No interrupt on frame reception
FDX_RX_VL_INT
Interrupt if frame received
FDX_RX_VL_INT_ERR
Interrupt if error on received frame