Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
static bool_t | AR579_Transmit_run () |
Run_AR579_Transmit queries the user for the card, module and channel to configure as the ARINC-579 transmitter and the mode of message transmission (FIFO Immediate or FIFO Triggered). Methods in the naibrd library are invoked to configure the ARINC channel. Once the ARINC channel is configured: 1) In FIFO Immediate mode, the user enters the number of words to transmit. When the Tx FIFO is loaded with data, transmission begins immediately and the program polls the channel status to check Tx FIFO Almost Empty and if true, more data (if any) is loaded into the Tx FIFO to keep the transmission going. 2) In FIFO Triggered mode, the user enters the number of words to transmit. When the Tx FIFO is loaded with data, transmission does not begin immediately. Instead the user will be asked to send a trigger to initiate transmission and the program polls the channel status to check Tx FIFO Almost Empty and if true, more data (if any) is loaded into the Tx FIFO to keep the transmission going. | |
static bool_t | AR579_TxFIFO (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar579_tx_mode_t txmode) |
static void | waitForStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t status) |
int32_t | AR579_Transmit (void) |
The purpose of the AR579_Transmit is to illustrate the methods to call in the naibrd library to configure the ARINC-579 channel to transmit ARINC-579 messages in FIFO mode. | |
Variables | |
static const int8_t * | CONFIG_FILE = (int8_t *)"default_AR579Xmit.txt" |
int32_t AR579_Transmit | ( | void | ) |
The purpose of the AR579_Transmit is to illustrate the methods to call in the naibrd library to configure the ARINC-579 channel to transmit ARINC-579 messages in FIFO mode.
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 1553 routines.
|
static |
Run_AR579_Transmit queries the user for the card, module and channel to configure as the ARINC-579 transmitter and the mode of message transmission (FIFO Immediate or FIFO Triggered). Methods in the naibrd library are invoked to configure the ARINC channel. Once the ARINC channel is configured: 1) In FIFO Immediate mode, the user enters the number of words to transmit. When the Tx FIFO is loaded with data, transmission begins immediately and the program polls the channel status to check Tx FIFO Almost Empty and if true, more data (if any) is loaded into the Tx FIFO to keep the transmission going. 2) In FIFO Triggered mode, the user enters the number of words to transmit. When the Tx FIFO is loaded with data, transmission does not begin immediately. Instead the user will be asked to send a trigger to initiate transmission and the program polls the channel status to check Tx FIFO Almost Empty and if true, more data (if any) is loaded into the Tx FIFO to keep the transmission going.
|
static |
|
static |
|
static |