Software Library API naibrd 2.24.0
See all documentation at naii.docs.com

Functions

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOCount (int16_t device, uint32_t *p_outcount)
 Retrieve the count of 32-bit words currently loaded into the 1553 Message FIFO for the specified device.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ReadMsgFIFO (int16_t device, int32_t wordCount, uint32_t *p_outbuffer)
 Retrieves 32-bit words from the 1553 Message FIFO on the specified device. NOTE: make sure p_outbuffer points to an array of size greater or equal to wordCount.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ClearMsgFIFO (int16_t device)
 Clears out the 1553 Message FIFO on the device specified.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_DecodeFIFOMsg (const uint32_t *p_buffer, int32_t currBlockIndex, int32_t *p_outnextBlockIndex, naibrd_1553_msgstructFIFO_t *p_outmsgStruct)
 Decodes a single 1553 message in p_buffer starting at the index given by currBlockIndex. p_outnextBlockIndex will contain the starting index of the next 1553 message, if any. The user should call this function again by passing in the p_outnextBlockIndex from the previous call into currBlockIndex. If the function returns NAIBRD_1553_CMD_NO_MSG_TO_DECODE, this means there is no message to decode at the current index of p_buffer (currBlockIndex). Please refer to the Message FIFO sample code (m1553_bc_send_msg_fifo, m1553_rt_recv_fifo, m1553_mt_monitor_fifo) for proper usage in the different 1553 modes.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOFullStatus (int16_t device, naibrd_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves Full or Not Full status of the 1553 Message FIFO.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullStatus (int16_t swDevice, naibrd_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "Almost Full" status of the 1553 Message FIFO on the specified device. The "Almost Full" threshold is user defined and can be set with naibrd_1553_SetMsgFIFOAlmostFullThreshold() function.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFORxAvailStatus (int16_t swDevice, naibrd_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "Rx Available" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates one or more messages are present in the Message FIFO.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOEmptyStatus (int16_t swDevice, naibrd_1553_status_type_t type, bool_t *p_outstatusBit)
 Retrieves the "FIFO Empty" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates no messages are present in the Message FIFO.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOStatusAll (int16_t swDevice, naibrd_1553_status_type_t type, naibrd_1553_status_bits_t *p_outstatusWord)
 Retrieves all statuses of the 1553 Message FIFO on the specified device. The retrieved 32-bit status word contains four bits that indicate various statuses of the Message FIFO.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ClearMsgFIFOStatus (int16_t swDevice, naibrd_1553_status_bits_t statusWord)
 Clears one or more Message FIFO status bits. This function clears one or more Message FIFO Latched Status bits by writing a user-specified OR'ed combination of Message FIFO status bits to the Message FIFO Latched Status register.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullThreshold (int16_t swDevice, int32_t *p_outthreshold)
 Retrieves the Message FIFO "Almost Full" Threshold value currently set on the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOAlmostFullThreshold (int16_t swDevice, int32_t threshold)
 Sets the Message FIFO "Almost Full" Threshold for the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEnable (int16_t swDevice, naibrd_1553_status_bits_t *p_outenableWord)
 Retrieves interrupt enable configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEnable (int16_t swDevice, naibrd_1553_status_bits_t enableWord)
 Sets the interrupt enable configuration of all Message FIFO status bits on the specified device. The user provided 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEdgeLevel (int16_t swDevice, naibrd_1553_status_bits_t *p_outedgeLevelWord)
 Retrieves interrupt trigger mode (edge vs level) configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEdgeLevel (int16_t swDevice, naibrd_1553_status_bits_t edgeLevelWord)
 Selects the interrupt trigger mode (edge vs level) for all Message FIFO status bits on the specified device. The user provided 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.
 

Detailed Description

Function Documentation

◆ naibrd_1553_ClearMsgFIFO()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ClearMsgFIFO ( int16_t device)

Clears out the 1553 Message FIFO on the device specified.

Parameters
device: (Input) Logical Device Number (0-31).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_ClearMsgFIFOStatus()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ClearMsgFIFOStatus ( int16_t swDevice,
naibrd_1553_status_bits_t statusWord )

Clears one or more Message FIFO status bits. This function clears one or more Message FIFO Latched Status bits by writing a user-specified OR'ed combination of Message FIFO status bits to the Message FIFO Latched Status register.

Parameters
swDevice: (Input) Logical Device Number (0-31).
statusWord: (Input) Status word containing an OR'ed combination of the bits that the user would like to clear. This combination may contain one or more of the following bits: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_DecodeFIFOMsg()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_DecodeFIFOMsg ( const uint32_t * p_buffer,
int32_t currBlockIndex,
int32_t * p_outnextBlockIndex,
naibrd_1553_msgstructFIFO_t * p_outmsgStruct )

Decodes a single 1553 message in p_buffer starting at the index given by currBlockIndex. p_outnextBlockIndex will contain the starting index of the next 1553 message, if any. The user should call this function again by passing in the p_outnextBlockIndex from the previous call into currBlockIndex. If the function returns NAIBRD_1553_CMD_NO_MSG_TO_DECODE, this means there is no message to decode at the current index of p_buffer (currBlockIndex). Please refer to the Message FIFO sample code (m1553_bc_send_msg_fifo, m1553_rt_recv_fifo, m1553_mt_monitor_fifo) for proper usage in the different 1553 modes.

Parameters
p_buffer: (Input) Pointer to local buffer containing data read from the Message FIFO.
currBlockIndex: (Input) Starting index of p_buffer from which a 1553 message should be decoded.
p_outnextBlockIndex: (Output) Starting index of the next 1553 message in p_buffer.
p_outmsgStruct: (Output) Message structure containing the decoded 1553 message.
Returns
  • NAI_SUCCESS
  • NAIBRD_1553_CMD_INCORRECT_PREAMBLE if the message preamble is not correct and decoding fails.
  • NAIBRD_1553_CMD_INCORRECT_MESSAGE_TYPE if the decoded message type is incorrect.
  • NAIBRD_1553_CMD_INCORRECT_MESSAGE_SIZE if the decoded message size is incorrect.
  • NAIBRD_1553_CMD_INCORRECT_WORDCOUNT if the decoded message word count is incorrect.
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input
  • NAIBRD_1553_CMD_NO_MSG_TO_DECODE when no more messages are available in p_buffer to decode

◆ naibrd_1553_GetMsgFIFOAlmostFullStatus()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullStatus ( int16_t swDevice,
naibrd_1553_status_type_t type,
bool_t * p_outstatusBit )

Retrieves the "Almost Full" status of the 1553 Message FIFO on the specified device. The "Almost Full" threshold is user defined and can be set with naibrd_1553_SetMsgFIFOAlmostFullThreshold() function.

Parameters
swDevice: (Input) Logical Device Number (0-31).
type: (Input) Status type (NAIBRD_1553_STATUS_LATCHED or NAIBRD_1553_STATUS_REALTIME).
p_outstatusBit: (Output) Message FIFO Almost Full Status (NAI_TRUE = FIFO almost full, NAI_FALSE = FIFO not almost full).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOAlmostFullThreshold()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOAlmostFullThreshold ( int16_t swDevice,
int32_t * p_outthreshold )

Retrieves the Message FIFO "Almost Full" Threshold value currently set on the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.

Parameters
swDevice: (Input) Logical Device Number (0-31).
p_outthreshold: (Output) Almost Full Threshold value given as the number of 32-bit words.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOCount()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOCount ( int16_t device,
uint32_t * p_outcount )

Retrieve the count of 32-bit words currently loaded into the 1553 Message FIFO for the specified device.

Parameters
device: (Input) Logical Device Number (0-31).
p_outcount: (Output) Count of 32-bit words in Message FIFO.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOEmptyStatus()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOEmptyStatus ( int16_t swDevice,
naibrd_1553_status_type_t type,
bool_t * p_outstatusBit )

Retrieves the "FIFO Empty" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates no messages are present in the Message FIFO.

Parameters
swDevice: (Input) Logical Device Number (0-31).
type: (Input) Status type (NAIBRD_1553_STATUS_LATCHED or NAIBRD_1553_STATUS_REALTIME).
p_outstatusBit: (Output) Message FIFO Empty Status (NAI_TRUE = Message FIFO is empty, NAI_FALSE = Message FIFO contains one or more messages).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOFullStatus()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOFullStatus ( int16_t device,
naibrd_1553_status_type_t type,
bool_t * p_outstatusBit )

Retrieves Full or Not Full status of the 1553 Message FIFO.

Parameters
device: (Input) Logical Device Number (0-31).
type: (Input) Status type (NAIBRD_1553_STATUS_LATCHED or NAIBRD_1553_STATUS_REALTIME).
p_outstatusBit: (Output) Message FIFO Full Status (NAI_TRUE = FIFO full, NAI_FALSE = FIFO not full).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOInterruptEdgeLevel()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEdgeLevel ( int16_t swDevice,
naibrd_1553_status_bits_t * p_outedgeLevelWord )

Retrieves interrupt trigger mode (edge vs level) configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.

Parameters
swDevice: (Input) Logical Device Number (0-31).
p_outedgeLevelWord: (Output) Interrupt Trigger Mode Word. A bit set to '1' sets the corresponding status for level-triggering. A bit set to '0' sets the corresponding status for edge-triggering. This value should be an OR'ed combination of the following bit masks: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOInterruptEnable()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOInterruptEnable ( int16_t swDevice,
naibrd_1553_status_bits_t * p_outenableWord )

Retrieves interrupt enable configuration of all Message FIFO status bits on the specified device. The retrieved 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.

Parameters
swDevice: (Input) Logical Device Number (0-31).
p_outenableWord: (Output) Interrupt Enable Word. A bit set to '1' will enable interrupt generation when the corresponding status bit is set. This value is an OR'ed combination of the following bit masks: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFORxAvailStatus()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFORxAvailStatus ( int16_t swDevice,
naibrd_1553_status_type_t type,
bool_t * p_outstatusBit )

Retrieves the "Rx Available" status of the 1553 Message FIFO on the specified device. If this status is set, it indicates one or more messages are present in the Message FIFO.

Parameters
swDevice: (Input) Logical Device Number (0-31).
type: (Input) Status type (NAIBRD_1553_STATUS_LATCHED or NAIBRD_1553_STATUS_REALTIME).
p_outstatusBit: (Output) Message FIFO Rx Available Status (NAI_TRUE = 1 or more messages in Message FIFO, NAI_FALSE = No messages in Message FIFO).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_GetMsgFIFOStatusAll()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_GetMsgFIFOStatusAll ( int16_t swDevice,
naibrd_1553_status_type_t type,
naibrd_1553_status_bits_t * p_outstatusWord )

Retrieves all statuses of the 1553 Message FIFO on the specified device. The retrieved 32-bit status word contains four bits that indicate various statuses of the Message FIFO.

Parameters
swDevice: (Input) Logical Device Number (0-31).
type: (Input) Status type (NAIBRD_1553_STATUS_LATCHED or NAIBRD_1553_STATUS_REALTIME).
p_outstatusWord: (Output) Message FIFO Status Word. This value is an OR'ed combination of the following bit masks: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_ReadMsgFIFO()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_ReadMsgFIFO ( int16_t device,
int32_t wordCount,
uint32_t * p_outbuffer )

Retrieves 32-bit words from the 1553 Message FIFO on the specified device. NOTE: make sure p_outbuffer points to an array of size greater or equal to wordCount.

Parameters
device: (Input) Logical Device Number (0-31).
wordCount: (Input) Number of 32-bit words to read from the Message FIFO.
p_outbuffer: (Output) Pointer to a 32-bit buffer.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_SetMsgFIFOAlmostFullThreshold()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOAlmostFullThreshold ( int16_t swDevice,
int32_t threshold )

Sets the Message FIFO "Almost Full" Threshold for the specified device. This value determines the Message FIFO fill level (number of words) at which the "Almost Full" status bit reports TRUE.

Parameters
swDevice: (Input) Logical Device Number (0-31).
threshold: (Input) Almost Full Threshold value (0-1002) given as the number of 32-bit words.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_SetMsgFIFOInterruptEdgeLevel()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEdgeLevel ( int16_t swDevice,
naibrd_1553_status_bits_t edgeLevelWord )

Selects the interrupt trigger mode (edge vs level) for all Message FIFO status bits on the specified device. The user provided 32-bit word contains four trigger mode bits that each set the corresponding status for edge- or level-triggering when an interrupt is generated. If the trigger mode bit is set to '0', the corresponding status will be set for edge-triggering and if the trigger mode bit is set to '1', the corresponding status will be set for level-triggering.

Parameters
swDevice: (Input) Logical Device Number (0-31).
edgeLevelWord: (Input) Interrupt Trigger Mode Word. A bit set to '1' sets the corresponding status for level-triggering. A bit set to '0' sets the corresponding status for edge-triggering. This value should be an OR'ed combination of the following bit masks: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input

◆ naibrd_1553_SetMsgFIFOInterruptEnable()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_SetMsgFIFOInterruptEnable ( int16_t swDevice,
naibrd_1553_status_bits_t enableWord )

Sets the interrupt enable configuration of all Message FIFO status bits on the specified device. The user provided 32-bit enable word contains four enable bits that each control the generation of interrupts when the corresponding status bit gets set. If an enable bit is set and the corresponding status bit gets set, an interrupt will get generated. If an enable bit is not set and the corresponding status bit gets set, an interrupt will not get generated.

Parameters
swDevice: (Input) Logical Device Number (0-31).
enableWord: (Input) Interrupt Enable Word. A bit set to '1' will enable interrupt generation when the corresponding status bit is set. This value is an OR'ed combination of the following bit masks: NAIBRD_1553_STATUS_BIT_MSG_FIFO_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_ALMOST_FULL NAIBRD_1553_STATUS_BIT_MSG_FIFO_EMPTY NAIBRD_1553_STATUS_BIT_MSG_FIFO_RX_AVAIL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_NOT_SUPPORTED if the function is not supported on the current hardware
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input