ar_get_config

int ar_get_config (short board, short item);

Purpose

This function retrieves the respective device configuration register attribute state based on the item parameter selection.  It is specifically intended to support board and channel configuration attribute query compatibility with the legacy CEI-x20-SW API.  Its use should be limited for ARINC 429 channel configuration status queries in applications authored specifically for the CEI-x30 products.

Parameters

Input

Name

Type

Description

board

short

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

item

short

(input) The channel configuration attribute to retrieve.
Supported board-level item parameter values are defined as follows:


ARU_SERIAL_NUMBER   (452)

ARU_IRIG_INPUT_TIME   (27)

 

Along with all of the item parameters supported by ar_get_device_config.

Legacy CEI-x20 channel configuration item parameter values supported are:
 
ARU_RX_CHxx_BIT_RATE              (40-55 and 500-531)
ARU_TX_CHxx_BIT_RATE              (60-75 and 700-731)
ARU_RX_CHxx_PARITY                 (80-95 and 900-931)
ARU_TX_CHxx_PARITY          (100-115 and 1100-1131)
ARU_TX_CHxx_SHUT_OFF      (240-255 and 1700-1731)
ARU_TX_CHxx_HB_INJ          (180-195 and 3300-3331)
ARU_TX_CHxx_LB_INJ           (200-215 and 3500-3531)
ARU_TX_CHxx_GAP_INJ        (220-235 and 3700-3731)

Return Value

Name

Type

Description

status

int

the channel configuration attribute state.  Valid values for the requested item parameter are defined as follows:

ARU_SERIAL_NUMBER                 RAR-EC product serial number

ARU_IRIG_INPUT_TIME               The raw 30-bit IRIG time value for the last received IRIG sample

 

ARU_RX_CHxx_BIT_RATE &        AR_LOW   (1) 12.5 Kbps
ARU_TX_CHxx_BIT_RATE           AR_HIGH  (0) 100 Kbps

                                                Non-standard Speed as Frequency in Hertz

 

ARU_RX_CHxx_PARITY              AR_OFF or AR_ODD  
ARU_TX_CHxx_PARITY              AR_OFF, AR_ODD or AR_EVEN

ARU_TX_CHxx_SHUT_OFF          AR_ON or AR_OFF
ARU_TX_CHxx_HB_INJ
ARU_TX_CHxx_LB_INJ
ARU_TX_CHxx_GAP_INJ

References

Device Configuration Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description