short ar_get_device_config (short board, short channel, short item, short * value);
This function returns the state of board-level and ARINC 429 channel-level configuration register bit fields for the specified attribute.
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number of the board to reference, (valid range is 0-127). |
channel |
short |
(input) The ARINC 429 or Discrete “channel” index, when applicable (valid range is 0 to one less than the total number of channels installed for the channel type referenced via the item parameter). |
item |
short |
(input) The channel configuration
attribute to read. Valid "item" parameters options are: ARU_RX_MERGED_MODE
(18) Receiver FIFO selection ARU_FW_VERSION
(20) Hardware Version Reg. value ARU_IRIG_OUTPUT_ENABLE (26) R830-RX IRIG generator enable ARU_IRIG_INPUT_TIME (27) IRIG encoded sample time ARU_RX_FIFO_COUNT (28) Current receive buffer message count ARU_HW_INTERRUPT_ENABLE
(29) PCI Interrupt enable state ARU_RX_MSG_COUNT (35) Receive channel cumulative message count ARU_TX_MSG_COUNT (36) Transmit channel cumulative message count ARU_ACCESS_SNAPSHOT_BUFFER
(38) Snapshot buffer storage select |
Output |
|
|
Name |
Type |
Description |
value |
short (passed by reference) |
(output) The current channel configuration attribute state. ARU_RX_PARITY
AR_ON (7) Parity detect enabled ARU_TX_PARITY
ARU_PARITY_ODD (0) ODD parity active ARU_RECV_MODE
AR_WRAP_OFF (1) Internal wrap disabled ARU_RX_FIFO_ENABLE
AR_ON (7) Rx FIFO operation enabled ARU_RX_MERGED_MODE
AR_ON (7) Rx directed to Merged FIFO ARU_TX_DISABLE
AR_ON (7) External Transmit disabled ARU_TX_FIFO_ENABLE
AR_ON (7) Tx FIFO operation enabled ARU_TX_BIT_ERROR
AR_HI (1) Tx long (33-bit) msg error ARU_TX_GAP_ERROR
AR_ON (7) Tx inter-message gap error enabled ARU_FAST_SLEW_RATE
AR_ON (7) transmission using a 1.5 microsecond rise time ARU_CONFIGURATION CEIDEV_CONFIG_CEI830 (7) CEI-830 CEIDEV_CONFIG_CEI430 (8) CEI-430 CEIDEV_CONFIG_AMCA30 (9) AMC-A30 CEIDEV_CONFIG_CEI530 (10) CEI-530 CEIDEV_CONFIG_R830RX (11) R830RX CEIDEV_CONFIG_RAR_CPCI (12) RAR-CPCI CEIDEV_CONFIG_RAR_EC (13) RAR-EC CEIDEV_CONFIG_RAR_PCIE (14) RAR-PCIE CEIDEV_CONFIG_CEI430A (15) CEI-430A CEIDEV_CONFIG_RAR15XT (17) RAR15-XMC-XT CEIDEV_CONFIG_R830X820 (18) RCEI-830X820 CEIDEV_CONFIG_RAR_XMC (19) RAR-XMC CEIDEV_CONFIG_RCEI830A (20) RCEI-830A CEIDEV_CONFIG_RAR_MPCIE (21) RAR-MPCIE
ARU_ACCESS_SNAPSHOT_BUFFER ARU_BYPASS_INIT_WRAP_TEST ARU_MULTITHREAD_PROTECT ARU_IRIG_AVAILALBE
FALSE (0) IRIG is installed on the device ARU_IRIG_CALIBRATED
FALSE (0) IRIG signal is valid ARU_IRIG_WRAP_ENABLE
AR_ON (7) internal wrap enabled ARU_IRIG_OUTPUT_ENABLE AR_ON (7)
R830RX IRIG Generator enabled ARU_DISCRETE_IN
AR_HI (1) discrete channel shorted to ground ARU_DISCRETE_OUT
AR_HI (1) the discrete is open ARU_DIFFERENTIAL_IN
AR_HI (1) differential input is "high" ARU_DIFFERENTIAL_OUT
AR_ON (7) differential output is enabled ARU_DEVICE_DISABLE
FALSE (0) CEI-430 is disabled
ARU_HW_INTERRUPT_ENABLE
AR_ON (7) PCI Interrupt is enabled
ARU_FW_VERSION current programmed firmware version value ARU_TX_FIFO_COUNT current transmit buffer message count
ARU_RX_FIFO_COUNT current receive buffer message count
ARU_RX_MSG_COUNT receive channel cumulative message count since last device initialization
ARU_TX_MSG_COUNT transmit channel cumulative message count since last device initialization
ARU_CHAN_COUNT_429 number of ARINC 429 channels installed ARU_CHAN_COUNT_573 number of ARINC 573/717 channels installed ARU_CHAN_COUNT_DISC number of Discrete channels installed ARU_CHAN_COUNT_DIFF number of Differential channels installed |
|
|
|
Name |
Type |
Description |
status |
short |
status of the function
call, with valid values of: ARS_BOARD_MUTEX Access to the Board Lock timed-out/failed. ARS_HW_CONSISTENCY The board is incompatible with the Enhanced Firmware required for the API. |
Device
Configuration Functions
Alphabetical
Function Index
Hierarchical
Function Index