Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetChannelEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
Enables or Disables the specified Serial channel. Channels must be disabled before any configuration change is made, or before InitiateBIT. Channels must be enabled for the configuration changes to take effect, or after InitiateBIT is complete. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetChannelEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable) |
Retrieves the state of the specified Serial channel. Channels must be disabled before any configuration change is made, or before InitiateBIT. Channels must be enabled for the configuration changes to take effect, or after InitiateBIT is complete. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetReceiverEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
Sets the Receiver state for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetReceiverEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable) |
Retrieves the Receiver state for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_TransmitInitiate (int32_t cardIndex, int32_t module, int32_t channel) |
Initiates the serial transmission for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_TransmitStop (int32_t cardIndex, int32_t module, int32_t channel) |
Stops the serial transmission for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_AsyncTransmitControl (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
Sets the asynchronous data transmit mode for the specified Serial channel. When this mode is enabled, data written to the transmit FIFO buffer is transmitted. Tx initiate is not necessary. For Async mode only. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetRTS (int32_t cardIndex, int32_t module, int32_t channel, bool_t active) |
Sets RTS pin state for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetRTS (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outactive) |
Retrieves RTS pin state for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetCTS (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outactive) |
Retrieves the CTS pin state for the specified Serial channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_AsyncTransmitControl | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | enable ) |
Sets the asynchronous data transmit mode for the specified Serial channel. When this mode is enabled, data written to the transmit FIFO buffer is transmitted. Tx initiate is not necessary. For Async mode only.
cardIndex | : (Input) Logical Card Index assigned to connection 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) 0 = Disable, 1 = Enable. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetChannelEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outenable ) |
Retrieves the state of the specified Serial channel. Channels must be disabled before any configuration change is made, or before InitiateBIT. Channels must be enabled for the configuration changes to take effect, or after InitiateBIT is complete.
cardIndex | : (Input) Logical Card Index assigned to connection 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) 0 = Disable, 1 = Enable. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetCTS | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outactive ) |
Retrieves the CTS pin state for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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_outactive | : (Output) 0 = Inactive, 1 = Active. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetReceiverEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outenable ) |
Retrieves the Receiver state for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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) 0 = disable receiver, 1 = enable receiver. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetRTS | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outactive ) |
Retrieves RTS pin state for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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_outactive | : (Output) 0 = Inactive, 1 = Active. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetChannelEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | enable ) |
Enables or Disables the specified Serial channel. Channels must be disabled before any configuration change is made, or before InitiateBIT. Channels must be enabled for the configuration changes to take effect, or after InitiateBIT is complete.
cardIndex | : (Input) Logical Card Index assigned to connection 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) 0 = Disable, 1 = Enable. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetReceiverEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | enable ) |
Sets the Receiver state for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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) 0 = disable receiver, 1 = enable receiver. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetRTS | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | active ) |
Sets RTS pin state for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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]). |
active | : (Input) 0 = Inactive, 1 = Active. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_TransmitInitiate | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Initiates the serial transmission for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_TransmitStop | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Stops the serial transmission for the specified Serial channel.
cardIndex | : (Input) Logical Card Index assigned to connection 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]). |