Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
static bool_t | AR568_Transmit_run () |
Run_AR568_Transmit queries the user for the card, module and channel to configure as the ARINC-568 transmitter and the mode of message transmission (FIFO Immediate, or FIFO Triggered). Methods in the naibrd library are invoked to configure the ARINC-568 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 | AR568_TxFIFO (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar568_tx_mode_t txmode) |
static void | waitForStatus (int32_t cardIndex, int32_t module, int32_t channel, uint32_t status) |
int32_t | AR568_Transmit (void) |
The purpose of the AR568_Transmit is to illustrate the methods to call in the naibrd library to configure the ARINC-568 channel to transmit ARINC-568 messages in FIFO mode. | |
Variables | |
static const int8_t * | CONFIG_FILE = (int8_t *)"default_AR568Xmit.txt" |
int32_t AR568_Transmit | ( | void | ) |
The purpose of the AR568_Transmit is to illustrate the methods to call in the naibrd library to configure the ARINC-568 channel to transmit ARINC-568 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.
Note, the AR568_Transmit application can run in conjunction with the AR_Receive, AR_ReceiveInterruptEther or AR_ReceiveInterruptBus applications to illustrate ARINC transmit and receive operations together with the NAI ARINC module.
|
static |
Run_AR568_Transmit queries the user for the card, module and channel to configure as the ARINC-568 transmitter and the mode of message transmission (FIFO Immediate, or FIFO Triggered). Methods in the naibrd library are invoked to configure the ARINC-568 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 |