Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateBcToRt (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_address_t receiverRt, naibrd_1553_rt_subaddress_t receiverRtSubaddress, uint16_t wordCount, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a BC to RT message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateRtToBc (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_address_t transmitterRt, naibrd_1553_rt_subaddress_t transmitterRtSubaddress, uint16_t wordCount, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a RT to BC message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateRtToRt (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_address_t receiverRt, naibrd_1553_rt_subaddress_t receiverRtSubaddress, uint16_t wordCount, naibrd_1553_rt_address_t transmitterRt, naibrd_1553_rt_subaddress_t transmitterRtSubaddress, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a RT to RT message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateMode (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_address_t rt, naibrd_1553_messageDirection_t messageDirection, naibrd_1553_bc_mode_commands_t modeCommand, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a Mode message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateBcToBroadcast (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_subaddress_t receiverRtSubaddress, uint16_t wordCount, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a BC to Broadcast message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateRtToBroadcast (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_rt_subaddress_t receiverRtSubaddress, uint16_t wordCount, naibrd_1553_rt_address_t transmitterRt, naibrd_1553_rt_subaddress_t transmitterRtSubaddress, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a RT to Broadcast message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreateBroadcastMode (int16_t device, int16_t messageId, int16_t dataBlockId, naibrd_1553_messageDirection_t messageDirection, naibrd_1553_bc_mode_commands_t modeCommand, uint16_t gapTime_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a Broadcast Mode message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgCreate (int16_t device, int16_t messageId, int16_t dataBlockIdForMessage1, uint16_t bcControlWordForMessage1, uint16_t commandWord1ForMessage1, uint16_t commandWord2ForMessage1, uint16_t gapTimeForMessage1_uS, int16_t dataBlockIdForMessage2, uint16_t bcControlWordForMessage2, uint16_t commandWord1ForMessage2, uint16_t commandWord2ForMessage2, uint16_t gapTimeForMessage2_uS, naibrd_1553_bc_msg_options_t bcMsgOptions) |
Create a single or dual BC message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcMsgDelete (int16_t device, int16_t messageId) |
Delete a BC message. | |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreate | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockIdForMessage1, | ||
uint16_t | bcControlWordForMessage1, | ||
uint16_t | commandWord1ForMessage1, | ||
uint16_t | commandWord2ForMessage1, | ||
uint16_t | gapTimeForMessage1_uS, | ||
int16_t | dataBlockIdForMessage2, | ||
uint16_t | bcControlWordForMessage2, | ||
uint16_t | commandWord1ForMessage2, | ||
uint16_t | commandWord2ForMessage2, | ||
uint16_t | gapTimeForMessage2_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a single or dual BC message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockIdForMessage1 | : (Input) Unique data block ID of an existing data block for message 1. |
bcControlWordForMessage1 | : (Input) BC control word of message 1. This is an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * |
commandWord1ForMessage1 | : (Input) Command Word 1 of message 1. |
commandWord2ForMessage1 | : (Input) Command Word 2 of message 1. |
gapTimeForMessage1_uS | : (Input) Time to next message 1 (in uS). |
dataBlockIdForMessage2 | : (Input) Unique data block ID of an existing data block for message 2. |
bcControlWordForMessage2 | : (Input) BC control word of message 2. This is an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * |
commandWord1ForMessage2 | : (Input) Command Word 1 of message 2. |
commandWord2ForMessage2 | : (Input) Command Word 2 of message 2. |
gapTimeForMessage2_uS | : (Input) Time to next message 2 (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateBcToBroadcast | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_subaddress_t | receiverRtSubaddress, | ||
uint16_t | wordCount, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a BC to Broadcast message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
receiverRtSubaddress | : (Input) Receiving RT Subaddress. |
wordCount | : (Input) Message Word Count. |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateBcToRt | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_address_t | receiverRt, | ||
naibrd_1553_rt_subaddress_t | receiverRtSubaddress, | ||
uint16_t | wordCount, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a BC to RT message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
receiverRt | : (Input) Receiving RT Address. |
receiverRtSubaddress | : (Input) Receiving RT Subaddress. |
wordCount | : (Input) Message Word Count. |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateBroadcastMode | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_messageDirection_t | messageDirection, | ||
naibrd_1553_bc_mode_commands_t | modeCommand, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a Broadcast Mode message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
messageDirection | : (Input) Transmit or Receive (NAIBRD_1553_CMD_TX or NAIBRD_1553_CMD_RX). |
modeCommand | : (Input) Mode Code Command (0-31). |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateMode | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_address_t | rt, | ||
naibrd_1553_messageDirection_t | messageDirection, | ||
naibrd_1553_bc_mode_commands_t | modeCommand, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a Mode message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
rt | : (Input) RT Address. |
messageDirection | : (Input) Transmit or Receive (NAIBRD_1553_CMD_TX or NAIBRD_1553_CMD_RX). |
modeCommand | : (Input) Mode Code Command (0-31). |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateRtToBc | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_address_t | transmitterRt, | ||
naibrd_1553_rt_subaddress_t | transmitterRtSubaddress, | ||
uint16_t | wordCount, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a RT to BC message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
transmitterRt | : (Input) Transmitting RT Address. |
transmitterRtSubaddress | : (Input) Transmitter RT Subaddress. |
wordCount | : (Input) Message Word Count. |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateRtToBroadcast | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_subaddress_t | receiverRtSubaddress, | ||
uint16_t | wordCount, | ||
naibrd_1553_rt_address_t | transmitterRt, | ||
naibrd_1553_rt_subaddress_t | transmitterRtSubaddress, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a RT to Broadcast message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
receiverRtSubaddress | : (Input) Receiving RT Subaddress. |
wordCount | : (Input) Message Word Count. |
transmitterRt | : (Input) Transmitter RT Address. |
transmitterRtSubaddress | : (Input) Transmitter RT Subaddress. |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgCreateRtToRt | ( | int16_t | device, |
int16_t | messageId, | ||
int16_t | dataBlockId, | ||
naibrd_1553_rt_address_t | receiverRt, | ||
naibrd_1553_rt_subaddress_t | receiverRtSubaddress, | ||
uint16_t | wordCount, | ||
naibrd_1553_rt_address_t | transmitterRt, | ||
naibrd_1553_rt_subaddress_t | transmitterRtSubaddress, | ||
uint16_t | gapTime_uS, | ||
naibrd_1553_bc_msg_options_t | bcMsgOptions ) |
Create a RT to RT message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |
dataBlockId | : (Input) Unique data block ID of an existing data block. |
receiverRt | : (Input) Receiving RT Address. |
receiverRtSubaddress | : (Input) Receiving RT Subaddress. |
wordCount | : (Input) Message Word Count. |
transmitterRt | : (Input) Transmitter RT Address. |
transmitterRtSubaddress | : (Input) Transmitter RT Subaddress. |
gapTime_uS | : (Input) Time to next message (in uS). |
bcMsgOptions | : (Input) Message options that may contain an OR'ed combination of the following: * NAIBRD_1553_BC_CTRL_1553A * MIL-STD-1553A. * * NAIBRD_1553_BC_CTRL_1553B * MIL-STD-1553B. * * NAIBRD_1553_BC_CTRL_END_OF_MESSAGE_INTERRUPT_ENABLED * End of Message Interrupt enabled. * * NAIBRD_1553_BC_CTRL_BROADCAST_CHECK_MASKED * Broadcast check masked. * * NAIBRD_1553_BC_CTRL_LOOPBACK_TEST_PERFORMED * Enable offline self test. * * NAIBRD_1553_BC_CTRL_BUS_A * Send message on bus A. * * NAIBRD_1553_BC_CTRL_BUS_B * Send message on bus B. * * NAIBRD_1553_BC_CTRL_RETRY_ENABLED * Message retry enable. * * NAIBRD_1553_BC_CTRL_RESERVE_STATUS_BITS_MASKED * Reserved status bit masked. * * NAIBRD_1553_BC_CTRL_TERMINAL_STATUS_FLAG_MASKED * Terminal status flag masked. * * NAIBRD_1553_BC_CTRL_SUBSYSTEM_STATUS_FLAG_MASKED * Subsystem status flag masked. * * NAIBRD_1553_BC_CTRL_BUSY_STATUS_BIT_MASKED * Busy status bit masked. * * NAIBRD_1553_BC_CTRL_SERVICE_REQUEST_STATUS_BIT_MASKED * Service request status bit masked. * * NAIBRD_1553_BC_CTRL_MESSAGE_ERROR_STATUS_BIT_MASKED * Message error status bit masked. * * NAIBRD_1553_BC_CTRL_TX_TIMETAG_IN_SYNC_W_DATA_MODE_CMD * Tx time tag in sync with data mode command. * * NAIBRD_1553_BC_MESSAGE_OPT_DUAL_MESSAGE * A pair of messages stored one after the other in device memory to support an XQF opcode. * * NAIBRD_1553_BC_MESSAGE_OPT_STAY_ON_ALTERNATE_BUS * A specific usage of XQF opcode when the message fails, flip to the double buffered message and stay on it until next error. * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcMsgDelete | ( | int16_t | device, |
int16_t | messageId ) |
Delete a BC message.
device | : (Input) Logical Device Number (0-31). |
messageId | : (Input) Unique message ID. |