![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730049.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
37
Section 4 – Function Reference: System Functions
4
4
.
.
2
2
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
B
B
o
o
a
a
r
r
d
d
C
C
o
o
n
n
t
t
r
r
o
o
l
l
Prototype:
AiReturn FdxCmdBoardControl (AiUInt32 ul_Handle,
AiUInt32 ul_Control,
const TY_FDX_BOARD_CTRL_IN *px_BoardControlIn,
TY_FDX_BOARD_CTRL_OUT *px_BoardControlOut);
Driver Command:
FDX_SYS_BOARD_CONTROL (0x00008030)
Purpose:
This function is used to control the global settings of the board. For the AIM-FDX board this
means the organization of the physical ports to logical single or redundant ports.
Input:
AiUInt32 ul_Control
Control the consequence of this function.
Value
Description
FDX_READ
Read back values
FDX_WRITE
Write values of aul_PortConfig to get a new configuration and
perform a RESET
The output values will be updated in any control case.
Note: Writing a new configuration and Reset can only be done by a
privileged user!
TY_FDX_BOARD_CTRL_IN* px_BoardControlIN
Pointer to a board control input structure.
typedef struct {
AiUInt32
aul_PortConfig[FDX_MAX_BOARD_PORTS];
AiUInt32
aul_PortSpeed[FDX_MAX_BOARD_PORTS];
AiUInt32
aul_ExpertMode[FDX_MAX_BOARD_PORTS];
AiUInt32
ulRxVeriMode;
AiUInt32
aul_RxVeriData[8];
AiUInt32
aul_RxVeriMask[8];
}
TY_FDX_BOARD_CTRL_IN;
AiUInt32 aul_PortConfig
The physical ports of the board are configurable in two different ways. This array over the
maximum count of ports per board sets or shows the configuration of those ports:
1. The port works as a single port. This means that the accessible port is represented by
one physical port. In this mode it is possible to do traffic policing for this port.
2. The port works as a redundant port. This means that the accessible port is represented
by two physical ports which are redundant. In this mode, the AFDX Redundancy
Management Algorithm (RMA) is active and only the RMA passed frame is transmitted to
the application. For login to that port only the first resource ID of the two physical ports
Summary of Contents for AFDX / ARINC 664
Page 2: ......