Reference Manual AFDX / ARINC 664 Application Interface Library
135
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
1
1
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
R
R
x
x
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
s
s
Prototype:
AiReturn FdxCmdRxGlobalStatistics(
AiUInt32 ul_Handle,
AiUint32 ul_Control,
TY_FDX_RX_GLOB_STAT *px_GlobalStatistic,
TY_FDX_RX_GLOB_STAT *px_GlobalStatisticPortB );
Driver Command:
FDX_RX_GLOB_STAT (0x00008074)
Purpose:
Get the busload measurement values to give an indicator about the full bus traffic over all
Virtual Links.
Input:
AiUint32 ul_Control
This parameter is to control resetting of the statistic parameters in the target,
described in the output section.
A Reset always means ‘Reset after read’.
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:
TY_FDX_RX_GLOB_STAT *px_GlobalStat
The members of this structure give an overview of the received data and the actual
busload.
typedef struct {
AiUInt32
ul_TotalByteCount;
AiUInt32
ul_FrameGoodCount;
AiUInt32
ul_FrameErrorCount;
AiUInt32
ul_BytesPerSecond;
AiUInt32
ul_FramesPerSecond;
TY_FDX_RX_GLOB_STAT_ERR x_StatErr;
TY_FDX_RX_GLOB_STAT_SIZE
x_StatSize;
}TY_FDX_RX_GLOB_STAT;
AiUInt32 ul_TotalByteCount;
Counter of total Bytes received, since start or the last counter reset.