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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ChannelReset (int32_t cardIndex, int32_t module, int32_t channel)
 Clears out Channel Control Low and Interrupt Enable registers as well as reset the transmit and receive circuits. (This will NOT reset the channel Transmit FIFO Rate, Tx Buffer Almost Empty, and Rx Buffer Almost Full registers)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearRxFifo (int32_t cardIndex, int32_t module, int32_t channel)
 Clears the receive FIFO for the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearTxFifo (int32_t cardIndex, int32_t module, int32_t channel)
 Clears the transmit FIFO for the channel specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxSendTrigger (int32_t cardIndex, int32_t module, int32_t channel)
 Sets the transmit trigger for the channel specified, triggering a scheduled or trigger fifo operation. This bit is reset by the hardware.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearTxBITError (int32_t cardIndex, int32_t module, int32_t channel)
 Clear the Tx BIT Error.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearRxBITError (int32_t cardIndex, int32_t module, int32_t channel)
 Clear the Rx BIT Error.
 

Detailed Description

Function Documentation

◆ naibrd_AR568_ChannelReset()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ChannelReset ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clears out Channel Control Low and Interrupt Enable registers as well as reset the transmit and receive circuits. (This will NOT reset the channel Transmit FIFO Rate, Tx Buffer Almost Empty, and Rx Buffer Almost Full registers)

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]).
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_ClearRxBITError()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearRxBITError ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clear the Rx 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]).
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_ClearRxFifo()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearRxFifo ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clears the receive FIFO for 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]).
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_ClearTxBITError()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearTxBITError ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clear the Tx 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]).
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_ClearTxFifo()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_ClearTxFifo ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clears the transmit FIFO for 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]).
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_SetTxSendTrigger()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR568_SetTxSendTrigger ( int32_t cardIndex,
int32_t module,
int32_t channel )

Sets the transmit trigger for the channel specified, triggering a scheduled or trigger fifo operation. This bit is reset by the hardware.

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]).
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.