ar_initialize_device

short ar_initialize_device (short board);

Purpose

This function resets the device's receive and transmit FIFO buffers and assigns the default state of all channel configuration registers.  The resulting state of the installed protocol configuration registers is defined as follows:

   ARINC 429 Transmitters enabled, speed set for 100Kbps and ODD parity enabled.
   ARINC 429 Receivers enabled, speed set for 100Kbps, ODD parity, Merged Mode disabled, and Internal Wrap disabled.
   The Message Scheduler is enabled with no messages defined.
   All receive label filtering is disabled.

   All receive FIFO buffers will be reset and any unread data contained therein will be lost.

Parameters

Input

Name

Type

Description

board

short

(input) Device Number of the board to reference, (valid range is 0-15).

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
ARS_NORMAL             Success.
ARS_INVBOARD         The board parameter value was invalid.

ARS_MEMWRERR        A memory test failure was encountered.

ARS_BOARD_MUTEX   Access to the Board Lock timed-out/failed.

References

Initialization Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description