134
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
1
1
G
G
l
l
o
o
b
b
a
a
l
l
R
R
e
e
c
c
e
e
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
s
s
4
4
.
.
4
4
.
.
1
1
.
.
1
1
F
F
d
d
x
x
C
C
m
m
d
d
R
R
x
x
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdRxControl( AiUInt32 ul_Handle,
const TY_FDX_RX_CTRL *px_RxControl);
Driver Command:
FDX_RX_CONTROL (0x00008072)
Purpose:
This function is used to control the receive operation of the board.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
R
R
X
X
_
_
C
C
T
T
R
R
L
L
*
*
p
p
x
x
_
_
R
R
x
x
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Pointer to a control structure to start the receive port
typedef struct {
AiUInt32 ul_StartMode;
AiUInt32 ul_GlobalStatisticReset;
} TY_FDX_RX_CTRL;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
t
t
a
a
r
r
t
t
M
M
o
o
d
d
e
e
Control Parameter for the Receiver Mode
Value
Description
FDX_STOP
Stop the Receiver
FDX_START
Start the Receiver
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
G
G
l
l
o
o
b
b
a
a
l
l
S
S
t
t
a
a
t
t
i
i
s
s
t
t
i
i
c
c
R
R
e
e
s
s
e
e
t
t
This parameter is to control resetting of the statistic parameters in the target, described in the
output section. See also
FdxCmdRxGlobalStatistics
command.
Value
Description
FDX_RX_GS_RES_NO_CNT Reset
nothing
FDX_RX_GS_RES_ALL_CNT
Reset all counts
FDX_RX_GS_RES_ERR_CNT
Reset only the Error related Counters
Output:
None
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR