Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
AR-568 Channel Configuration Functions

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxBITEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables or disables Tx Built-in-Test of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxBITEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Reads the Tx Built-in-Test Enable / Disable status of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxBITEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables or disables Rx Built-in-Test of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxBITEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Reads the Rx Built-in-Test Enable / Disable status of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxFifoThresholds (int32_t cardIndex, int32_t module, int32_t channel, int32_t aeThreshold, int32_t afThreshold)
 Sets the receive FIFO almost empty and almost full thresholds of the channel specified to a number between 0 and 1023.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxFifoThresholds (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outaeThreshold, int32_t *p_outafThreshold)
 Reads the receive Almost Empty and Almost Full FIFO thresholds of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxFifoBounded (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables or disables Bounded Rx FIFO mode. If Bounded Rx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Rx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxFifoBounded (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Reads the enabled / disabled state of the Bounded Rx FIFO configuration option. If Bounded Rx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Rx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetBITErrorThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t bitErrorThreshold)
 Set the BIT Error Threshold (number at which the BIT error count causes a BIT error).
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetBITErrorThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outbitErrorThreshold)
 Get the BIT Error Threshold (number at which the BIT error count causes a BIT error).
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxFifoThresholds (int32_t cardIndex, int32_t module, int32_t channel, int32_t aeThreshold, int32_t afThreshold)
 Sets the transmit FIFO threshold of the channel specified to a number between 0 and 1023.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxFifoThresholds (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outaeThreshold, int32_t *p_outafThreshold)
 Reads the transmit FIFO threshold of the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxFifoBounded (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables or disables Bounded Tx FIFO mode. If Bounded Tx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Tx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxFifoBounded (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Reads the enabled / disabled state of the Bounded Tx FIFO configuration option. If Bounded Tx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Tx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxGapTime (int32_t cardIndex, int32_t module, int32_t channel, int32_t txRate)
 Sets the Gap time (Transmit Interval Rate) between transmitted ARINC messages in FIFO transmit modes. Gap time is given in bit times. Values less than 4 are not valid.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxGapTime (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outtxRate)
 Gets the currently configured Gap time (Transmit Interval Rate) interval, which is number of bit times between transmitted ARINC messages when running in FIFO transmit mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTransmitSendMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar568_tx_mode_t txSendMode)
 This function sets the Transmit mode of the specified channel. Two modes are currently supported. In "Immediate FIFO Mode", ARINC messages written to the Tx FIFO are immediately sent out. In "Triggered FIFO Mode", ARINC messages written to the Tx FIFO are sent out only if a Trigger issued with naibrd_AR_SetTxSendTrigger().
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTransmitSendMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar568_tx_mode_t *p_outtxSendMode)
 Gets the Transmit mode of the channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetLoopbackEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enable or disable the Tx Loopback option of the 568 channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetLoopbackEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Reads the Tx Loopback enabled status of the 568 channel specified.
 

Detailed Description

Function Documentation

◆ naibrd_AR568_GetBITErrorThreshold()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetBITErrorThreshold ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t * p_outbitErrorThreshold )

Get the BIT Error Threshold (number at which the BIT error count causes a BIT error).

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outbitErrorThreshold: (Output) BIT Error Threshold.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetLoopbackEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetLoopbackEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Reads the Tx Loopback enabled status of the 568 channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outenable: (Output) TRUE = loopback enabled, FALSE = loopback disabled.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetRxBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxBITEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Reads the Rx Built-in-Test Enable / Disable status of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outenable: (Output) BIT Disabled (FALSE) or Enabled (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetRxFifoBounded()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxFifoBounded ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Reads the enabled / disabled state of the Bounded Rx FIFO configuration option. If Bounded Rx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Rx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outenable: (Output) Disabled (FALSE) or Enabled (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetRxFifoThresholds()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetRxFifoThresholds ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outaeThreshold,
int32_t * p_outafThreshold )

Reads the receive Almost Empty and Almost Full FIFO thresholds of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outaeThreshold: (Output) Almost Empty Threshold value (0 - 1023).
p_outafThreshold: (Output) Almost Full Threshold value (0 - 1023).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetTransmitSendMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTransmitSendMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_ar568_tx_mode_t * p_outtxSendMode )

Gets the Transmit mode of the channel.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outtxSendMode: (Output) Tx mode.
   Immediate FIFO Mode        NAIBRD_AR568_TX_SENDMODE_IMMED
   Triggered FIFO Mode        NAIBRD_AR568_TX_SENDMODE_TRGF
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when an invalid send mode is detected by the function.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetTxBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxBITEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Reads the Tx Built-in-Test Enable / Disable status of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outenable: (Output) BIT Disabled (FALSE) or Enabled (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetTxFifoBounded()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxFifoBounded ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Reads the enabled / disabled state of the Bounded Tx FIFO configuration option. If Bounded Tx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Tx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outenable: (Output) Disabled (FALSE) or Enabled (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetTxFifoThresholds()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxFifoThresholds ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outaeThreshold,
int32_t * p_outafThreshold )

Reads the transmit FIFO threshold of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outaeThreshold: (Output) Tx Almost Empty FIFO threshold value.
p_outafThreshold: (Output) Tx Almost Full FIFO threshold value.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_GetTxGapTime()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_GetTxGapTime ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outtxRate )

Gets the currently configured Gap time (Transmit Interval Rate) interval, which is number of bit times between transmitted ARINC messages when running in FIFO transmit mode.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
p_outtxRate: (Output) Gap Time (Transmit interval rate).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetBITErrorThreshold()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetBITErrorThreshold ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t bitErrorThreshold )

Set the BIT Error Threshold (number at which the BIT error count causes a BIT error).

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
bitErrorThreshold: (Input) BIT Error Threshold.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetLoopbackEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetLoopbackEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enable or disable the Tx Loopback option of the 568 channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) TRUE = enable loopback, FALSE = disable loopback.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetRxBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxBITEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enables or disables Rx Built-in-Test of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) BIT Enable (TRUE) or Disable (FALSE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetRxFifoBounded()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxFifoBounded ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enables or disables Bounded Rx FIFO mode. If Bounded Rx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Rx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) Disable (FALSE) or Enable (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetRxFifoThresholds()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetRxFifoThresholds ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t aeThreshold,
int32_t afThreshold )

Sets the receive FIFO almost empty and almost full thresholds of the channel specified to a number between 0 and 1023.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
aeThreshold: (Input) Almost Empty Threshold value (0 - 1023).
afThreshold: (Input) Almost Full Threshold value (0 - 1023).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.
  • NAI_ERROR_INVALID_VALUE when invalid aethreshold or afthreshold value is supplied.

◆ naibrd_AR568_SetTransmitSendMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTransmitSendMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_ar568_tx_mode_t txSendMode )

This function sets the Transmit mode of the specified channel. Two modes are currently supported. In "Immediate FIFO Mode", ARINC messages written to the Tx FIFO are immediately sent out. In "Triggered FIFO Mode", ARINC messages written to the Tx FIFO are sent out only if a Trigger issued with naibrd_AR_SetTxSendTrigger().

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
txSendMode: (Input) Tx mode.
   Immediate FIFO Mode        NAIBRD_AR568_TX_SENDMODE_IMMED
   Triggered FIFO Mode        NAIBRD_AR568_TX_SENDMODE_TRGF
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid txSendMode parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetTxBITEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxBITEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enables or disables Tx Built-in-Test of the channel specified.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) BIT Enable (TRUE) or Disable (FALSE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetTxFifoBounded()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxFifoBounded ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enables or disables Bounded Tx FIFO mode. If Bounded Tx FIFO is enabled, after the FIFO is full, the circuitry will block additional writes to the FIFO. If Bounded Tx FIFO is disabled, after the FIFO is full, the new data will overwrite the oldest value in the FIFO, essentially behaving like a circular FIFO.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
enable: (Input) Disable (FALSE) or Enable (TRUE).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetTxFifoThresholds()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxFifoThresholds ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t aeThreshold,
int32_t afThreshold )

Sets the transmit FIFO threshold of the channel specified to a number between 0 and 1023.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
aeThreshold: (Input) Tx Almost Empty FIFO threshold value (0 - 1023).
afThreshold: (Input) Tx Almost Full FIFO threshold value (0 - 1023).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid txfifothreshold parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_AR568_SetTxGapTime()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxGapTime ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t txRate )

Sets the Gap time (Transmit Interval Rate) between transmitted ARINC messages in FIFO transmit modes. Gap time is given in bit times. Values less than 4 are not valid.

Parameters
cardIndex: (Input) Logical Card Index assigned to connect with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module: (Input) Module Number of the module to access (1 - [max modules for board]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
txRate: (Input) Gap Time (0x00004 - 0xFFFFF).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid txrate parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.