Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetRaw (int32_t cardIndex, int32_t module, naibrd_da_raw_t type, uint32_t rawData) |
Sets the raw data value in the register associated to the register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetRaw (int32_t cardIndex, int32_t module, naibrd_da_raw_t type, uint32_t *p_outrawData) |
Retrieves the raw data value in the register associated to the register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_channel_raw_t type, uint32_t rawData) |
Sets the raw data value in the register associated to the channel and channel register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_channel_raw_t type, uint32_t *p_outrawData) |
Retrieves the raw data value in the register associated to the channel and channel register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, uint32_t *p_outstatusRaw) |
Retrieves the status of the specified type. The status of a channel is flagged and latched. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, uint32_t statusRaw) |
Clears the status of the specified type. Note: The result of attempting to clear a realtime status may be unpredictable. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_ClearChanMappedStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
uint32_t | statusRaw ) |
Clears the status of the specified type. Note: The result of attempting to clear a realtime status may be unpredictable.
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]). |
statusType | : (Input) Status Type: refer to naibrd_da_status_type_t definitions. |
statusRaw | : (Input) Raw value to set. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChanMappedStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
uint32_t * | p_outstatusRaw ) |
Retrieves the status of the specified type. The status of a channel is flagged and latched.
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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definitions. |
p_outstatusRaw | : (Output) for each bit, 0 for Normal, 1 Failure Detected. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_channel_raw_t | type, | ||
uint32_t * | p_outrawData ) |
Retrieves the raw data value in the register associated to the channel and channel register type specified.
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]). |
type | : (Input) Channel Register Type: refer to nai_da_channel_raw_t definition. |
p_outrawData | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_raw_t | type, | ||
uint32_t * | p_outrawData ) |
Retrieves the raw data value in the register associated to the register type specified.
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]). |
type | : (Input) Module Register Type: refer to nai_da_raw_t definition. |
p_outrawData | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_channel_raw_t | type, | ||
uint32_t | rawData ) |
Sets the raw data value in the register associated to the channel and channel register type specified.
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]). |
type | : (Input) Channel Register Type: refer to nai_da_channel_raw_t definition. |
rawData | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_raw_t | type, | ||
uint32_t | rawData ) |
Sets the raw data value in the register associated to the register type specified.
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]). |
type | : (Input) Module Register Type: refer to nai_da_raw_t definition. |
rawData | : (Input) Raw Data Code. |