138
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
1
1
.
.
3
3
F
F
d
d
x
x
C
C
m
m
d
d
R
R
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 FdxCmdRxModeControl( AiUInt32 ul_Handle,
const TY_FDX_RX_MODE_CTRL_IN
*px_RxModeControlIn,
TY_FDX_RX_MODE_CTRL_OUT
*px_RxModeControlOut);
Driver Command:
FDX_RX_MODE_CONTROL (0x00008071)
Purpose :
This function is used to configure the operational mode of the receive port.
Input:
TY_FDX_RX_MODE_CTRL_IN
*px_RxModeControlIn
Pointer to a control structure to setup the receive port and also get information
about that port.
typedef struct {
AiUInt32 ul_ReceiveMode
AiUInt32 ul_DefaultPayloadMode;
AiUInt32 ul_DefaultCronoMode;
AiUInt32 ul_GlbMonBufferSize;
AiUInt32 ul_RerosDefaultOutputPortmap;
} TY_FDX_RX_MODE_CTRL_IN;
AiUInt32 ul_ReceiveMode
There are two modes of operation for a Receiver port
1.
Chronological monitoring
Data of all enabled Virtual Links are stored in one large chronological buffer.
2.
Virtual Link oriented reception
Each enabled Virtual Link has its own buffer, where only the data of this VL will be stored.
All VL’s are disabled by default. Use
FdxCmdRxVLControl
to enable VL’s of interest.
Value
Description
FDX_RX_CHRONO Chronological
monitoring
FDX_RX_VL
VL oriented storage
AiUInt32 ul_
D
D
e
e
f
f
a
a
u
u
l
l
t
tPayloadMode
Defines the Payload Mode, for data flow reduction. So you can specify up to which level the
data shall be stored in the data buffer.
In this mode you can see the traffic on the bus without monitoring and transferring the full data.
Summary of Contents for AFDX / ARINC 664
Page 2: ......