Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_1553_t NAIAPI | naibrd_1553_CommandWordCreate (uint16_t *wpCommandWord, uint16_t wRtAddress, uint16_t wMessageDirection, uint16_t wSubaddressOrMode, uint16_t wWordCountOrModeCode) |
Create a 1553 command word using the given parameters. | |
NAIBRDFUNC nai_1553_t NAIAPI | naibrd_1553_CommandWordParse (uint16_t wCommandWord, uint16_t *wpRtAddress, uint16_t *wpMessageDirection, uint16_t *wpSubaddressOrMode, uint16_t *wpWordCountOrModeCode) |
Parses the given 1553 command word and returns its individual parts. | |
NAIBRDFUNC nai_1553_t NAIAPI | naibrd_1553_GetStatusString (nai_1553_t status, char_t *spErrorString, uint16_t wMaxStringLength) |
This function returns a string that describes the specified error code. | |
NAIBRDFUNC uint16_t NAIAPI | naibrd_1553_GetLibVersion (void) |
Retrieves the naibrd library version information. | |
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_CommandWordCreate | ( | uint16_t * | wpCommandWord, |
uint16_t | wRtAddress, | ||
uint16_t | wMessageDirection, | ||
uint16_t | wSubaddressOrMode, | ||
uint16_t | wWordCountOrModeCode ) |
Create a 1553 command word using the given parameters.
wpCommandWord | : (Output) The constructed Command Word. |
wRtAddress | : (Input) Remote Terminal Address (0-31). |
wMessageDirection | : (Input) Message Direction (0: Receive, 1: Transmit). |
wSubaddressOrMode | : (Input) Subaddress (0-31). |
wWordCountOrModeCode | : (Input) Data Word Count or Mode Code (0-31). |
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_CommandWordParse | ( | uint16_t | wCommandWord, |
uint16_t * | wpRtAddress, | ||
uint16_t * | wpMessageDirection, | ||
uint16_t * | wpSubaddressOrMode, | ||
uint16_t * | wpWordCountOrModeCode ) |
Parses the given 1553 command word and returns its individual parts.
wCommandWord | : (Input) The Command Word. |
wpRtAddress | : (Output) Remote Terminal Address. |
wpMessageDirection | : (Output) Message Direction (0: Receive, 1: Transmit). |
wpSubaddressOrMode | : (Output) Subaddress. |
wpWordCountOrModeCode | : (Output) Data Word Count or Mode Code. |
NAIBRDFUNC uint16_t NAIAPI naibrd_1553_GetLibVersion | ( | void | ) |
Retrieves the naibrd library version information.
NAIBRDFUNC nai_1553_t NAIAPI naibrd_1553_GetStatusString | ( | nai_1553_t | status, |
char_t * | spErrorString, | ||
uint16_t | wMaxStringLength ) |
This function returns a string that describes the specified error code.
status | : (Input) The Error Code. |
spErrorString | : (Output) Pointer to the buffer where the Error String is returned. |
wMaxStringLength | : (Input) The size of the buffer in which the Error String is returned. |