Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Enumerations | |
enum | arfuncgen_commands { AR_FUNCGEN_CMD_RX_WITHOUT_VALIDATION , AR_FUNCGEN_CMD_RX_WITH_VALIDATION , AR_FUNCGEN_CMD_RX_WITH_MAILBOX , AR_FUNCGEN_CMD_COUNT } |
Functions | |
static bool_t | AR_Receive_run () |
AR_Receive_run queries the user for the card, module and channel to configure as the ARINC receiver as well as the data rate (high (100KHz) or low (12.5 kHz)) and how to retrieve the ARINC messages. Methods in the naibrd library are invoked to configure the ARINC channel. | |
static nai_status_t | AR_RxWithoutValidation (int32_t paramCount, int32_t *p_params) |
static nai_status_t | AR_RxWithValidation (int32_t paramCount, int32_t *p_params) |
static nai_status_t | AR_RxWithMailbox (int32_t paramCount, int32_t *p_params) |
static bool_t | RxAndDisplayFIFOMsgs (int32_t cardIndex, int32_t module, int32_t channel) |
static bool_t | RxandDisplayFIFOandMailBox (int32_t cardIndex, int32_t module, int32_t channel) |
static void | EnableValidation (int32_t cardIndex, int32_t module, int32_t channel) |
int32_t | main (void) |
The purpose of the AR_Receive is to illustrate the methods to call in the naibrd library to configure the ARINC channel to receive ARINC messages. ARINC data messages can be retrieved as follows: a) Using Validation to selectively receive data that match enabled SDI/Labels, or b) Using Mailbox mode to read mailboxes of the matched SDI/Labels found in the receive FIFO, or c) Receiving all of the transmitted data in the receive FIFO (without validation). | |
Variables | |
static const int8_t * | CONFIG_FILE = (const int8_t *)"default_ARRecv.txt" |
static naiapp_cmdtbl_params_t | AR_FuncGenMenuCmds [] |
static bool_t | bTimestampEnabled = NAI_FALSE |
enum arfuncgen_commands |
|
static |
AR_Receive_run queries the user for the card, module and channel to configure as the ARINC receiver as well as the data rate (high (100KHz) or low (12.5 kHz)) and how to retrieve the ARINC messages. Methods in the naibrd library are invoked to configure the ARINC channel.
|
static |
|
static |
|
static |
|
static |
int32_t main | ( | void | ) |
The purpose of the AR_Receive is to illustrate the methods to call in the naibrd library to configure the ARINC channel to receive ARINC messages. ARINC data messages can be retrieved as follows: a) Using Validation to selectively receive data that match enabled SDI/Labels, or b) Using Mailbox mode to read mailboxes of the matched SDI/Labels found in the receive FIFO, or c) Receiving all of the transmitted data in the receive FIFO (without validation).
The following system configuration routines from the nai_sys_cfg.c file are called to assist with the configuration setup for this program prior to calling the naibrd ARINC routines.
Note, the AR_Receive application can run in conjunction with the AR_Transmit applications to illustrate ARINC receive and transmit operations together with the NAI ARINC module.
|
static |
|
static |
|
static |
|
static |
|
static |