Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC naibrd_1553_t NAIAPI | naibrd_1553_CmdWordCreate (uint16_t *p_outcommandWord, naibrd_1553_rt_address_t rtAddress, naibrd_1553_messageDirection_t messageDirection, naibrd_1553_rt_subaddress_t subaddressOrMode, uint16_t wordCountOrModeCode) |
Create a 1553 command word using the given parameters. | |
NAIBRDFUNC char_t *NAIAPI | naibrd_1553_GetBlkStatusWordErrorString (naibrd_1553_gen_device_mode_t mode, uint16_t blockStatus) |
Build and return a string in which the designated errors are textually reported. If no error is designated, a null string is returned. | |
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_CmdWordCreate | ( | uint16_t * | p_outcommandWord, |
naibrd_1553_rt_address_t | rtAddress, | ||
naibrd_1553_messageDirection_t | messageDirection, | ||
naibrd_1553_rt_subaddress_t | subaddressOrMode, | ||
uint16_t | wordCountOrModeCode ) |
Create a 1553 command word using the given parameters.
p_outcommandWord | : (Output) The constructed Command Word. |
rtAddress | : (Input) Remote Terminal Address (0-31). |
messageDirection | : (Input) Message Direction (0: Receive, 1: Transmit). |
subaddressOrMode | : (Input) Subaddress (0-31). |
wordCountOrModeCode | : (Input) Data Word Count or Mode Code (0-31). |
NAIBRDFUNC char_t *NAIAPI naibrd_1553_GetBlkStatusWordErrorString | ( | naibrd_1553_gen_device_mode_t | mode, |
uint16_t | blockStatus ) |
Build and return a string in which the designated errors are textually reported. If no error is designated, a null string is returned.
Note:
Equivalent DDC definition: aceGetBSWErrString
mode | : (Input) Operation mode. |
blockStatus | (Input) A block status word that typically designates one or more errors. |