Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_StartConfigChanges (int32_t cardIndex, int32_t module, int32_t channel) |
Sets a bit in the control register indicating the user is making configuration changes. Calling this function will force the CAN module to ignore any configuration changes made until such time that the naibrd_CAN_ApplyConfigChanges is called. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_ApplyConfigChanges (int32_t cardIndex, int32_t module, int32_t channel) |
Clears a bit in the control register indicating the user is finished making configuration changes. Calling this function will force the CAN module to once again check and apply any detected changes to the CAN configuration. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_ChannelReset (int32_t cardIndex, int32_t module, int32_t channel) |
Reset the channel specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_SetTxEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
Enables or disables Transmit for the channel specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_GetTxEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable) |
Get Transmit enable setting for the channel specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_ResetTxFifo (int32_t cardIndex, int32_t module, int32_t channel) |
naibrd_CAN_ResetTxFifo forces the TX FIFO to be emptied without the need to force transmission to empty the FIFO. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_ResetRxFifo (int32_t cardIndex, int32_t module, int32_t channel) |
naibrd_CAN_ResetRxFifo forces the RX FIFO to be emptied without the need to force receiving to empty the FIFO. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_CAN_ResetTxAndRxFifos (int32_t cardIndex, int32_t module, int32_t channel) |
naibrd_CAN_ResetTxAndRxFifos forces the TX FIFO and RX FIFO to be emptied without the need to force transmitting and receiving to empty the FIFOs. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_ApplyConfigChanges | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Clears a bit in the control register indicating the user is finished making configuration changes. Calling this function will force the CAN module to once again check and apply any detected changes to the CAN configuration.
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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_ChannelReset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Reset 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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_GetTxEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outenable ) |
Get Transmit enable setting for 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) NAI_TRUE: Enabled, NAI_FALSE: Disabled. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_ResetRxFifo | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
naibrd_CAN_ResetRxFifo forces the RX FIFO to be emptied without the need to force receiving to empty the 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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_ResetTxAndRxFifos | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
naibrd_CAN_ResetTxAndRxFifos forces the TX FIFO and RX FIFO to be emptied without the need to force transmitting and receiving to empty the FIFOs.
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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_ResetTxFifo | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
naibrd_CAN_ResetTxFifo forces the TX FIFO to be emptied without the need to force transmission to empty the 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]). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_SetTxEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | enable ) |
Enables or disables Transmit for 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) NAI_TRUE: Enable, NAI_FALSE: Disable. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_CAN_StartConfigChanges | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel ) |
Sets a bit in the control register indicating the user is making configuration changes. Calling this function will force the CAN module to ignore any configuration changes made until such time that the naibrd_CAN_ApplyConfigChanges is called.
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]). |