Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_chan_mapped_status_type_t statusType, bool_t enable) |
Sets the D/A BIT or Overcurrent Status Interrupt Enable state for the specified D/A channel. BIT Status and Overcurrent Status is part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_chan_mapped_status_type_t statusType, bool_t *p_outenable) |
Retrieves the D/A BIT or Overcurrent Status Interrupt Enable state for the specified D/A channel. BIT Status and Overcurrent Status is part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, uint32_t vector) |
Sets the Interrupt Vector associated with a Status Type for the specified D/A module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, uint32_t *p_outvector) |
Retrieves a Interrupt Vector associated with a Status Type for the specified D/A module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, naibrd_int_steering_t steering) |
Sets the Interrupt Steering which indicates the interrupt direction for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_da_chan_mapped_status_type_t statusType, naibrd_int_steering_t *p_outsteering) |
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
Sets the Interrupt Edge/Level register value for the specified DA channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_da_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
Retrieves the Interrupt Edge/Level register value for the specified DA channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
bool_t * | p_outenable ) |
Retrieves the D/A BIT or Overcurrent Status Interrupt Enable state for the specified D/A channel. BIT Status and Overcurrent Status is part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled.
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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
p_outenable | : (Output) 0 to disable, 1 to enable interrupt. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
naibrd_int_steering_t * | p_outsteering ) |
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
p_outsteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t * | p_outtriggerType ) |
Retrieves the Interrupt Edge/Level register value for the specified DA 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
p_outtriggerType | : (Output) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
uint32_t * | p_outvector ) |
Retrieves a Interrupt Vector associated with a Status Type for the specified D/A 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
p_outvector | : (Output) Interrupt Vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
bool_t | enable ) |
Sets the D/A BIT or Overcurrent Status Interrupt Enable state for the specified D/A channel. BIT Status and Overcurrent Status is part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled.
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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
enable | : (Input) 0 to disable, 1 to enable interrupt. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
naibrd_int_steering_t | steering ) |
Sets the Interrupt Steering which indicates the interrupt direction for the specified 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
steering | : (Input) Interrupt Steering: refer to naibrd_int_steering_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t | triggerType ) |
Sets the Interrupt Edge/Level register value for the specified DA 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
triggerType | : (Input) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_SetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_da_chan_mapped_status_type_t | statusType, | ||
uint32_t | vector ) |
Sets the Interrupt Vector associated with a Status Type for the specified D/A 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]). |
statusType | : (Input) Status Type: refer to nai_da_status_type_t definition. |
vector | : (Input) Interrupt Vector. |