Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
static bool_t | Run_m1553_bc_send_msg_async (int32_t cardIndex, int32_t module, uint32_t modid) |
Run_m1553_bc_send_msg_async initializes the 1553 device as a bus controller (BC) and sets up a BC-to-RT message, and while the message is being sent continuously every 500 ms, an asynchronous message (either Low or High priority) is sent out. This routine demonstrates the following API functions in the 1553 naibrd library: naibrd_1553_Open naibrd_1553_WriteAuxRegister naibrd_1553_Init naibrd_1553_BcCfg naibrd_1553_BcDataBlkCreate naibrd_1553_BcMessageCreateBcToRt naibrd_1553_BcCmdCreate naibrd_1553_BcFrmCreate naibrd_1553_BcDatBlkWrite naibrd_1553_BcAsyncMsgCreateBcToRt naibrd_1553_BcStart naibrd_1553_BcAsyncMsgSendAtHighPriority_ExecuteOnce naibrd_1553_BcAsyncMsgSendAtLowPriority_ExecuteOnce naibrd_1553_BcMsgGetByIdDecoded naibrd_1553_GetBlkStatusWordErrorString naibrd_1553_BcMsgDelete naibrd_1553_BcDataBlkDelete naibrd_1553_BcStop naibrd_1553_Free. | |
static bool_t | RunSendMessageAsync (int32_t cardIndex, int32_t module, int32_t channel) |
int32_t | m1553_bc_send_msg_async (void) |
The purpose of the m1553_bc_send_msg_async is to illustrate the methods to call in the naibrd library to configure the 1553 channel as a Bus Controller and send asynchronous messages during normal BC message transmissions. | |
Variables | |
static const int8_t * | DEF_CONFIG_FILE = (int8_t *)"default_1553BC_SendMessageAsync.txt" |
int32_t m1553_bc_send_msg_async | ( | void | ) |
The purpose of the m1553_bc_send_msg_async is to illustrate the methods to call in the naibrd library to configure the 1553 channel as a Bus Controller and send asynchronous messages during normal BC message transmissions.
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_m1553_bc_send_msg_async initializes the 1553 device as a bus controller (BC) and sets up a BC-to-RT message, and while the message is being sent continuously every 500 ms, an asynchronous message (either Low or High priority) is sent out. This routine demonstrates the following API functions in the 1553 naibrd library: naibrd_1553_Open naibrd_1553_WriteAuxRegister naibrd_1553_Init naibrd_1553_BcCfg naibrd_1553_BcDataBlkCreate naibrd_1553_BcMessageCreateBcToRt naibrd_1553_BcCmdCreate naibrd_1553_BcFrmCreate naibrd_1553_BcDatBlkWrite naibrd_1553_BcAsyncMsgCreateBcToRt naibrd_1553_BcStart naibrd_1553_BcAsyncMsgSendAtHighPriority_ExecuteOnce naibrd_1553_BcAsyncMsgSendAtLowPriority_ExecuteOnce naibrd_1553_BcMsgGetByIdDecoded naibrd_1553_GetBlkStatusWordErrorString naibrd_1553_BcMsgDelete naibrd_1553_BcDataBlkDelete naibrd_1553_BcStop naibrd_1553_Free.
|
static |
|
static |