Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcCfg (int16_t device, naibrd_1553_bc_options_t bcOperationOptions) |
Initialize the device as a bus controller (BC) with the given initialization options. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcSetMsgRetryPolicy (int16_t device, naibrd_1553_bc_num_retries_t numberOfRetries, naibrd_1553_bc_retry_bus_t firstRetryBus, naibrd_1553_bc_retry_bus_t secondRetryBus, uint16_t reserved) |
Configure the message retry policy of given BC device to given number of retries and given first and second chance bus to retry the message with. | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_BcCfgMsgGapTimerEnable (int16_t device, uint16_t enable) |
Enable or disable the message gap time field for all messages. | |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcCfg | ( | int16_t | device, |
naibrd_1553_bc_options_t | bcOperationOptions ) |
Initialize the device as a bus controller (BC) with the given initialization options.
device | : (Input) Logical Device Number (0-31). |
bcOperationOptions | : (Input) BC Operation options. Valid values are the following: * 0 * NAIBRD_1553_BC_ASYNCHRONOUS_LOW_PRIORITY_MODE * NAIBRD_1553_BC_ASYNCHRONOUS_HIGH_PRIORITY_MODE * NAIBRD_1553_BC_ASYNCHRONOUS_BOTH_PRIORITY_MODES * |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcCfgMsgGapTimerEnable | ( | int16_t | device, |
uint16_t | enable ) |
Enable or disable the message gap time field for all messages.
device | : (Input) Logical Device Number (0-31). |
enable | : (Input) Gap Time field enable (1 = enable, 0 = disable). |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_BcSetMsgRetryPolicy | ( | int16_t | device, |
naibrd_1553_bc_num_retries_t | numberOfRetries, | ||
naibrd_1553_bc_retry_bus_t | firstRetryBus, | ||
naibrd_1553_bc_retry_bus_t | secondRetryBus, | ||
uint16_t | reserved ) |
Configure the message retry policy of given BC device to given number of retries and given first and second chance bus to retry the message with.
Note:
Equivalent DDC definition: aceBCSetMsgRetry
device | : (Input) Logical Device Number (0-31). |
numberOfRetries | : (Input) Desired number of retries on message failure (NAIBRD_1553_MESSAGE_RETRY_NONE, NAIBRD_1553_MESSAGE_RETRY_ONCE, NAIBRD_1553_MESSAGE_RETRY_TWICE). |
firstRetryBus | : (Input) The bus to retry the message with in the first time in case of message failure (NAIBRD_1553_MESSAGE_RETRY_SAME or NAIBRD_1553_MESSAGE_RETRY_ALT). |
secondRetryBus | : (Input) The bus to retry the message with in the second time in case of message failure (NAIBRD_1553_MESSAGE_RETRY_SAME or NAIBRD_1553_MESSAGE_RETRY_ALT). |
reserved | : (Input) Reserved for future use. |