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

Functions

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitSet (int16_t device, naibrd_1553_rt_resp_status_t statusEnablerMask)
 Sets the status enable bits to configure RT status responses.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitUnset (int16_t device, naibrd_1553_rt_resp_status_t statusEnablerMask)
 Deactivates the status enable bits for RT status responses.
 
NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitGet (int16_t device, naibrd_1553_rt_resp_status_t *p_outstatusEnablerMask)
 Gets the status enable bits for RT status responses.
 

Detailed Description

Function Documentation

◆ naibrd_1553_RtRespStatusBitGet()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitGet ( int16_t device,
naibrd_1553_rt_resp_status_t * p_outstatusEnablerMask )

Gets the status enable bits for RT status responses.

Parameters
device: (Input) Logical Device Number (0-31).
p_outstatusEnablerMask: (Output) Retrieved status enable word. This word is an OR'ed combination of zero, one or more of the following status bits:
* NAIBRD_1553_RT_STATUS_BIT_DBCA                     (DDC: ACE_RT_STSBIT_DBCA)
* NAIBRD_1553_RT_STATUS_BIT_BUSY                     (DDC: ACE_RT_STSBIT_BUSY)
* NAIBRD_1553_RT_STATUS_BIT_SERVICE_REQUEST          (DDC: ACE_RT_STSBIT_SREQ)
* NAIBRD_1553_RT_STATUS_BIT_SUBSYSTEM_FLAG           (DDC: ACE_RT_STSBIT_SSFLAG)
* NAIBRD_1553_RT_STATUS_BIT_RT_FLAG                  (DDC: ACE_RT_STSBIT_RTFLAG)
* NAIBRD_1553_RT_STATUS_BIT_S10                      (DDC: ACE_RT_STSBIT_S10)
* NAIBRD_1553_RT_STATUS_BIT_S09                      (DDC: ACE_RT_STSBIT_S09)
* NAIBRD_1553_RT_STATUS_BIT_S08                      (DDC: ACE_RT_STSBIT_S08)
* NAIBRD_1553_RT_STATUS_BIT_S07                      (DDC: ACE_RT_STSBIT_S07)
* NAIBRD_1553_RT_STATUS_BIT_S06                      (DDC: ACE_RT_STSBIT_S06)
* NAIBRD_1553_RT_STATUS_BIT_S05                      (DDC: ACE_RT_STSBIT_S05)
* NAIBRD_1553_RT_STATUS_BIT_S04                      (DDC: ACE_RT_STSBIT_S04)
* NAIBRD_1553_RT_STATUS_BIT_S03                      (DDC: ACE_RT_STSBIT_S03)
* NAIBRD_1553_RT_STATUS_BIT_S02                      (DDC: ACE_RT_STSBIT_S02)
* NAIBRD_1553_RT_STATUS_BIT_S01                      (DDC: ACE_RT_STSBIT_S01)
* NAIBRD_1553_RT_STATUS_BIT_S00                      (DDC: ACE_RT_STSBIT_S00)
* NAIBRD_1760_RT_STATUS_BIT_INSTRUMENTATION          Used to set Instrumentation status bit for for FTJ/FTK 1760 modules
* NAIBRD_1760_RT_STATUS_BIT_MESSAGE_ERROR            Used for to check the output for the message error bit for FTJ/FTK 1760 modules
* 
Returns
  • NAI_SUCCESS when the device has been initialized successfully
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input
  • NAIBRD_1553_RC_INVALID_MODE when device mode is not set to RT or RT/MT
  • NAIBRD_1553_RC_INVALID_STATE when device is in an invalid state
  • NAIBRD_1553_RC_INVALID_PARAMETER when the p_outstatusEnablerMask pointer is null

◆ naibrd_1553_RtRespStatusBitSet()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitSet ( int16_t device,
naibrd_1553_rt_resp_status_t statusEnablerMask )

Sets the status enable bits to configure RT status responses.

Parameters
device: (Input) Logical Device Number (0-31).
statusEnablerMask: (Input) Status enabler bit mask. This mask is generated by OR'ing the following status bits together:
* NAIBRD_1553_RT_STATUS_BIT_DBCA                     (DDC: ACE_RT_STSBIT_DBCA)
* Bit 11. Dynamic Bus Control Acceptance bit
*
* NAIBRD_1553_RT_STATUS_BIT_BUSY                     (DDC: ACE_RT_STSBIT_BUSY)
* Bit 10. Busy bit
*
* NAIBRD_1553_RT_STATUS_BIT_SERVICE_REQUEST          (DDC: ACE_RT_STSBIT_SREQ)
* Bit 9. Service Request bit
*
* NAIBRD_1553_RT_STATUS_BIT_SUBSYSTEM_FLAG           (DDC: ACE_RT_STSBIT_SSFLAG)
* Bit 8. Subsystem Flag bit
*
* NAIBRD_1553_RT_STATUS_BIT_RT_FLAG                  (DDC: ACE_RT_STSBIT_RTFLAG)
* Bit 7. Remote Terminal Flag bit
*
* NAIBRD_1553_RT_STATUS_BIT_S10                      (DDC: ACE_RT_STSBIT_S10)
* Bit 11. Alternate status mode: status bit 11
*
* NAIBRD_1553_RT_STATUS_BIT_S09                      (DDC: ACE_RT_STSBIT_S09)
* Bit 10. Alternate status mode: status bit 10
*
* NAIBRD_1553_RT_STATUS_BIT_S08                      (DDC: ACE_RT_STSBIT_S08)
* Bit 9. Alternate status mode: status bit 9
*
* NAIBRD_1553_RT_STATUS_BIT_S07                      (DDC: ACE_RT_STSBIT_S07)
* Bit 8. Alternate status mode: status bit 8
*
* NAIBRD_1553_RT_STATUS_BIT_S06                      (DDC: ACE_RT_STSBIT_S06)
* Bit 7. Alternate status mode: status bit 7
*
* NAIBRD_1553_RT_STATUS_BIT_S05                      (DDC: ACE_RT_STSBIT_S05)
* Bit 6. Alternate status mode: status bit 6
*
* NAIBRD_1553_RT_STATUS_BIT_S04                      (DDC: ACE_RT_STSBIT_S04)
* Bit 5. Alternate status mode: status bit 5
*
* NAIBRD_1553_RT_STATUS_BIT_S03                      (DDC: ACE_RT_STSBIT_S03)
* Bit 4. Alternate status mode: status bit 4
*
* NAIBRD_1553_RT_STATUS_BIT_S02                      (DDC: ACE_RT_STSBIT_S02)
* Bit 3. Alternate status mode: status bit 3
*
* NAIBRD_1553_RT_STATUS_BIT_S01                      (DDC: ACE_RT_STSBIT_S01)
* Bit 2. Alternate status mode: status bit 2
*
* NAIBRD_1553_RT_STATUS_BIT_S00                      (DDC: ACE_RT_STSBIT_S00)
* Bit 1. Alternate status mode: status bit 1
*
* NAIBRD_1760_RT_STATUS_BIT_INSTRUMENTATION
* Bit 1. Used to set Instrumentation status bit for FTJ/FTK 1760 modules
* 
Returns
  • NAI_SUCCESS when the device has been initialized successfully
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input
  • NAIBRD_1553_RC_INVALID_MODE when device mode is not set to RT or RT/MT
  • NAIBRD_1553_RC_INVALID_STATE when device is in an invalid state

◆ naibrd_1553_RtRespStatusBitUnset()

NAIBRDFUNC naibrd_1553_t NAIAPI naibrd_1553_RtRespStatusBitUnset ( int16_t device,
naibrd_1553_rt_resp_status_t statusEnablerMask )

Deactivates the status enable bits for RT status responses.

Parameters
device: (Input) Logical Device Number (0-31).
statusEnablerMask: (Input) Status clear bit mask. This mask is generated by OR'ing the following status bits together:
* NAIBRD_1553_RT_STATUS_BIT_DBCA                     (DDC: ACE_RT_STSBIT_DBCA)
* NAIBRD_1553_RT_STATUS_BIT_BUSY                     (DDC: ACE_RT_STSBIT_BUSY)
* NAIBRD_1553_RT_STATUS_BIT_SERVICE_REQUEST          (DDC: ACE_RT_STSBIT_SREQ)
* NAIBRD_1553_RT_STATUS_BIT_SUBSYSTEM_FLAG           (DDC: ACE_RT_STSBIT_SSFLAG)
* NAIBRD_1553_RT_STATUS_BIT_RT_FLAG                  (DDC: ACE_RT_STSBIT_RTFLAG)
* NAIBRD_1553_RT_STATUS_BIT_S10                      (DDC: ACE_RT_STSBIT_S10)
* NAIBRD_1553_RT_STATUS_BIT_S09                      (DDC: ACE_RT_STSBIT_S09)
* NAIBRD_1553_RT_STATUS_BIT_S08                      (DDC: ACE_RT_STSBIT_S08)
* NAIBRD_1553_RT_STATUS_BIT_S07                      (DDC: ACE_RT_STSBIT_S07)
* NAIBRD_1553_RT_STATUS_BIT_S06                      (DDC: ACE_RT_STSBIT_S06)
* NAIBRD_1553_RT_STATUS_BIT_S05                      (DDC: ACE_RT_STSBIT_S05)
* NAIBRD_1553_RT_STATUS_BIT_S04                      (DDC: ACE_RT_STSBIT_S04)
* NAIBRD_1553_RT_STATUS_BIT_S03                      (DDC: ACE_RT_STSBIT_S03)
* NAIBRD_1553_RT_STATUS_BIT_S02                      (DDC: ACE_RT_STSBIT_S02)
* NAIBRD_1553_RT_STATUS_BIT_S01                      (DDC: ACE_RT_STSBIT_S01)
* NAIBRD_1553_RT_STATUS_BIT_S00                      (DDC: ACE_RT_STSBIT_S00)
* NAIBRD_1760_RT_STATUS_BIT_INSTRUMENTATION          Used to set Instrumentation status bit for FTJ/FTK 1760 modules
* 
Returns
  • NAI_SUCCESS when the device has been initialized successfully
  • NAIBRD_1553_RC_INVALID_DEVICE_NUMBER when incorrect device number was input
  • NAIBRD_1553_RC_INVALID_MODE when device mode is not set to RT or RT/MT
  • NAIBRD_1553_RC_INVALID_STATE when device is in an invalid state