Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetRaw (int32_t cardIndex, int32_t module, nai_ds_raw_module_value_type_t type, uint32_t inRawdata) |
Sets the raw data value in the register associated to the register type specified for a D/S module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetRaw (int32_t cardIndex, int32_t module, nai_ds_raw_module_value_type_t type, uint32_t *outRawData) |
Gets the raw data value in the register associated to the register type specified from a D/S module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_raw_channel_value_type_t type, uint32_t inChanRaw) |
Sets the raw data value for a specified channel associated a specified type for a D/S module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_raw_channel_value_type_t type, uint32_t *outChanRaw) |
Gets the raw data value for a specified channel with a specified type from a D/S module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_GetStatusRaw (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t *outStatusRaw) |
Gets the latch raw status value for a specified status type from a D/S module. For Gen 5 modules, to unlatch the latched status, write a one to the latched channel mask position. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DS_ClearStatusRaw (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t rawdata) |
Clears the status data value in the register associated to the group and status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_ClearStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ds_status_type_t | type, | ||
uint32_t | rawdata ) |
Clears the status data value in the register associated to the group and status 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) Status Type: refer to nai_ds_status_type_t definition. |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ds_raw_channel_value_type_t | type, | ||
uint32_t * | outChanRaw ) |
Gets the raw data value for a specified channel with a specified type from a D/S module.
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 Raw Type: refer to nai_ds_raw_channel_value_type_t definition. |
outChanRaw | : (Output) Returns the raw data value from a specified channel of a D/S module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ds_raw_module_value_type_t | type, | ||
uint32_t * | outRawData ) |
Gets the raw data value in the register associated to the register type specified from a D/S module.
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) Raw Type: refer to nai_ds_raw_module_value_type_t definition. |
outRawData | : (Output) Returns the raw data value from a D/S module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ds_status_type_t | type, | ||
uint32_t * | outStatusRaw ) |
Gets the latch raw status value for a specified status type from a D/S module. For Gen 5 modules, to unlatch the latched status, write a one to the latched channel mask position.
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) Status Type: refer to nai_ds_status_type_t definitions. |
outStatusRaw | : (Output) Returns the raw data value from a specified channel of a D/S module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ds_raw_channel_value_type_t | type, | ||
uint32_t | inChanRaw ) |
Sets the raw data value for a specified channel associated a specified type for a D/S module.
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 Raw Type: refer to nai_ds_raw_channel_value_type_t definition. |
inChanRaw | : (Input) Writes the raw data value to a specified channel for a D/S module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ds_raw_module_value_type_t | type, | ||
uint32_t | inRawdata ) |
Sets the raw data value in the register associated to the register type specified for a D/S module.
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) Raw Type: refer to nai_ds_raw_module_value_type_t definition. |
inRawdata | : (Input) Writes the raw data value to a D/S module. |