Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetGroupRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_group_raw_t type, uint32_t rawdata) |
Sets the raw data value in the register associated to the group and register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetGroupRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_group_raw_t type, uint32_t *outrawdata) |
Retrieves the raw data value in the register associated to the group and register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_channel_raw_t type, uint32_t rawdata) |
Sets the raw data value in the register associated to the channel and register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_channel_raw_t type, uint32_t *outrawdata) |
Retrieves the raw data value in the register associated to the channel and register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetGroupStatusRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, uint32_t *outrawdata) |
Retrieves the raw status data value in the register associated to the group and status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_ClearGroupStatusRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_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_DSW_SetGroupInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, uint32_t rawdata) |
Sets the raw interrupt enable data value in the register associated to the group and status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetGroupInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, uint32_t *outrawdata) |
Retrieves the raw interrupt enable data value in the register associated to the group and status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetPullUpSourceEnableRaw (int32_t cardIndex, int32_t module, int32_t group, uint32_t rawdata) |
Retrieves the raw data value in the pull up source enable register. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetPullUpSourceEnableRaw (int32_t cardIndex, int32_t module, int32_t group, uint32_t *outrawdata) |
Retrieves the raw Pull Up enable data value in the register associated to the group specified. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_ClearGroupStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Status Type: refer to nai_dsw_status_type_t definition. |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dsw_channel_raw_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw data value in the register associated to the channel and 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) Register type (NAI_DSW_CHAN_RAW_VOLTAGE, NAI_DSW_CHAN_RAW_CURRENT, NAI_DSW_CHAN_RAW_THRESH_MAX_HI, NAI_DSW_CHAN_RAW_THRESH_UPPER, NAI_DSW_CHAN_RAW_THRESH_LOWER, NAI_DSW_CHAN_RAW_THRESH_MIN_LO or NAI_DSW_CHAN_RAW_DEBOUNCE). |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetGroupInterruptEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_status_type_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw interrupt enable 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Status Register type (NAI_DSW_STATUS_BIT, NAI_DSW_STATUS_OVER_CURRENT, NAI_DSW_STATUS_MAX_HI, NAI_DSW_STATUS_MIN_LO,NAI_DSW_STATUS_MID_RANGE,NAI_DSW_STATUS_LO_HI_TRANS or NAI_DSW_STATUS_HI_LO_TRANS). |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetGroupRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_group_raw_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw data value in the register associated to the group and 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Register type (NAI_DSW_RAW_PULL_UP_DOWN_RES_CFG). |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetGroupStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_status_type_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Status Register type (NAI_DSW_STATUS_BIT, NAI_DSW_STATUS_OVER_CURRENT, NAI_DSW_STATUS_MAX_HI, NAI_DSW_STATUS_MIN_LO,NAI_DSW_STATUS_MID_RANGE,NAI_DSW_STATUS_LO_HI_TRANS or NAI_DSW_STATUS_HI_LO_TRANS). |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetPullUpSourceEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
uint32_t * | outrawdata ) |
Retrieves the raw Pull Up enable data value in the register associated to the group 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dsw_channel_raw_t | type, | ||
uint32_t | rawdata ) |
Sets the raw data value in the register associated to the channel and 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 type (NAI_DSW_CHAN_RAW_VOLTAGE, NAI_DSW_CHAN_RAW_CURRENT, NAI_DSW_CHAN_RAW_THRESH_MAX_HI, NAI_DSW_CHAN_RAW_THRESH_UPPER, NAI_DSW_CHAN_RAW_THRESH_LOWER, NAI_DSW_CHAN_RAW_THRESH_MIN_LO or NAI_DSW_CHAN_RAW_DEBOUNCE). |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetGroupInterruptEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_status_type_t | type, | ||
uint32_t | rawdata ) |
Sets the raw interrupt enable 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Status Register type (NAI_DSW_STATUS_BIT, NAI_DSW_STATUS_OVER_CURRENT, NAI_DSW_STATUS_MAX_HI, NAI_DSW_STATUS_MIN_LO,NAI_DSW_STATUS_MID_RANGE,NAI_DSW_STATUS_LO_HI_TRANS or NAI_DSW_STATUS_HI_LO_TRANS). |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetGroupRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
nai_dsw_group_raw_t | type, | ||
uint32_t | rawdata ) |
Sets the raw data value in the register associated to the group and 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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
type | : (Input) Register type (NAI_DSW_RAW_PULL_UP_DOWN_RES_CFG). |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetPullUpSourceEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | group, | ||
uint32_t | rawdata ) |
Retrieves the raw data value in the pull up source enable register.
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]). |
group | : (Input) Channel Group Number to access (1 - [max channel groups for module]). |
rawdata | : (Output) Raw Data Code. |