Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
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. | |
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).
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. |
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.
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. |
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.
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). |
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.
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). |
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.
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). |
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.
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 |
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.
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). |
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.
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). |
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.
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. |
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.
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). |
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).
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. |
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.
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. |
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.
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). |
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.
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). |
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.
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). |
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().
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 |
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.
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). |
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.
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). |
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.
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). |
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.
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). |