ar_get_status

short ar_get_status (short board, unsigned short * state);

Purpose

This function supplies the combined state of each Rx FIFO status register FIFO Data Available bit.                                   

Parameters

Input

Name

Type

Description

board

short

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

Output

 

 

Name

Type

Description

state

unsigned short (passed by reference)

(output) Bit-wise representation for up to 16 receive channel status bits.  Status Register Bit Assignments are defined as follows, where "1" indicates Data Available, "0" indicates No Data Available:
b0   - ARINC 429 Receiver 1                             
b1   - ARINC 429 Receiver 2                             
...             ...                                     
b14 - ARINC 429 Receiver 15

B15 - ARINC 429 Receiver 16

Return Value

Name

Type

Description

status

short

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

References

Status Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description