short ar_loadslv (short board, unsigned int base_seg, int base_port, unsigned short ram_size);
This function initializes the API and device via invocation of
ar_initialize_api() and ar_initialize_device(). It acquires the
address space allocated to the device and invokes an initialization/reset
procedure. If any portion of the initialization fails or the board
is not detected, a status other than ARS_NORMAL is returned.
See the ar_initialize_device function
description for details regarding the default setup of the device following
execution of this function.
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number for the product/resource to open, (valid range is 0-15). |
base_seg |
unsigned int |
Legacy parameter not used in this API - provided only for compatibility to older ARINC product API's. |
base_port |
int |
Legacy parameter not used in this API - provided only for compatibility to older ARINC product API's. |
ram_size |
unsigned short |
Legacy parameter not used in this API - provided only for compatibility to older ARINC product API's. |
Name |
Type |
Description |
status |
short |
status of the function
call, with valid values of: ARS_WRAP_DROP_FAIL ARINC
429 wrap data missing encountered when the internal wrap test was executed. ARS_HW_DETECT The device driver session was opened but the detected device is not recognized as a CEI-x30 product. ARS_WINRTFAIL The device driver failed to open a session with the device, either because the device is not properly installed in the host system or a resource conflict is inhibiting device driver initialization. |
Initialization
Functions
Alphabetical
Function Index
Hierarchical
Function Index