![]() |
Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_chan_mapped_status_type_t statusType, bool_t enable) |
This function is used to enable interrupt generation on a single channel mapped status bit. Refer to naibrd_AR_SetEventMappedInterruptEnable() to set the interrupt enable/disable setting of event-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_chan_mapped_status_type_t statusType, bool_t *p_outenable) |
Get the interrupt enable state for a channel mapped status bit. Refer to naibrd_AR_GetEventMappedInterruptEnable() to retrieve the interrupt enable/disable setting of event-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
Sets the Interrupt trigger mode (edge or level) for a channel mapped status bit. Refer to naibrd_AR_SetEventMappedInterruptTriggerType() to set the interrupt trigger mode of event mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
Gets the Interrupt trigger mode (edge or level) for a channel mapped status bit. Refer to naibrd_AR_GetEventMappedInterruptTriggerType() to retrieve the interrupt trigger mode of event mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ar_chan_mapped_status_type_t statusType, int32_t vector) |
Sets the Interrupt Vector for the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status type that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ar_chan_mapped_status_type_t statusType, int32_t *p_outvector) |
Returns the Interrupt Vector of the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status type that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ar_chan_mapped_status_type_t statusType, naibrd_int_steering_t steering) |
Sets the Interrupt Steering, which indicates where to direct the interrupt signal, for the specified status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ar_chan_mapped_status_type_t statusType, naibrd_int_steering_t *p_outsteering) |
Retrieves the Interrupt Steering, which indicates where to direct the interrupt signal, for the specified status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_status_type_t statusType, bool_t enable) |
This function is used to enable interrupt generation on a single event mapped status bit. Refer to naibrd_AR_SetChanMappedInterruptEnable() to set the interrupt enable/disable setting of channel-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_status_type_t statusType, bool_t *p_outenable) |
This function is used to retrieve the interrupt enable state on a single event mapped status bit. Refer to naibrd_AR_GetChanMappedInterruptEnable() to get the interrupt enable/disable setting of channel-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
Sets the Interrupt trigger mode (edge or level) for an event mapped status bit. Refer to naibrd_AR_SetChanMappedInterruptTriggerType() to set the interrupt trigger mode of channel mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
Gets the Interrupt trigger mode (edge or level) for an event mapped status bit. Refer to naibrd_AR_GetChanMappedInterruptTriggerType() to retrieve the interrupt trigger mode of channel mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_category_type_t categoryType, uint32_t vector) |
Sets the Interrupt Vector for the channel and category type specified. Only NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_category_type_t categoryType, uint32_t *p_outvector) |
Retrieves the Interrupt Vector for the channel and category type specified. Only NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_category_type_t categoryType, naibrd_int_steering_t steering) |
Sets the Interrupt Steering, which indicates where to direct the interrupt signal, for the channel and category specified. Only the NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_AR_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ar_event_mapped_category_type_t categoryType, naibrd_int_steering_t *p_outsteering) |
Retrieves the Interrupt Steering, which indicates where to direct the interrupt signal, for the channel and category specified. Only the NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
bool_t * | p_outenable ) |
Get the interrupt enable state for a channel mapped status bit. Refer to naibrd_AR_GetEventMappedInterruptEnable() to retrieve the interrupt enable/disable setting of event-mapped statuses.
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]). |
statusType | : (Input) Status Type to check. Refer to the naibrd_ar_chan_mapped_status_type_t definition. |
p_outenable | : (Output) Interrupt enable state (NAI_TRUE: Enabled, NAI_FALSE: Disabled). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
naibrd_int_steering_t * | p_outsteering ) |
Retrieves the Interrupt Steering, which indicates where to direct the interrupt signal, for the specified status type.
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_ar_chan_mapped_status_type_t definition. |
p_outsteering | : (Output) Interrupt Steering given by one the following: (1) NAIBRD_INT_STEERING_VME Direct interrupt to VME Bus (2) NAIBRD_INT_STEERING_ONBOARD_ARM Interrupt to the Custom App on ARM / NAI Ethernet Listener App (5) NAIBRD_INT_STEERING_PCIE Interrupt to PCIe Bus (6) NAIBRD_INT_STEERING_CPCI Interrupt to CPCI Bus |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t * | p_outtriggerType ) |
Gets the Interrupt trigger mode (edge or level) for a channel mapped status bit. Refer to naibrd_AR_GetEventMappedInterruptTriggerType() to retrieve the interrupt trigger mode of event mapped statuses.
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 naibrd_ar_chan_mapped_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_AR_GetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
int32_t * | p_outvector ) |
Returns the Interrupt Vector of the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status type that generated the interrupt.
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]). |
statusType | : (Input) Status Type: refer to naibrd_ar_chan_mapped_status_type_t definition. |
p_outvector | : (Output) Interrupt vector. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_status_type_t | statusType, | ||
bool_t * | p_outenable ) |
This function is used to retrieve the interrupt enable state on a single event mapped status bit. Refer to naibrd_AR_GetChanMappedInterruptEnable() to get the interrupt enable/disable setting of channel-mapped statuses.
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]). |
statusType | : (Input) Status Type to check. Refer to the naibrd_ar_event_mapped_status_type_t definition. |
p_outenable | : (Output) Interrupt enable state (NAI_TRUE: Enabled, NAI_FALSE: Disabled). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_category_type_t | categoryType, | ||
naibrd_int_steering_t * | p_outsteering ) |
Retrieves the Interrupt Steering, which indicates where to direct the interrupt signal, for the channel and category specified. Only the NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function.
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]). |
categoryType | : (Input) Category Type: refer to naibrd_ar_event_mapped_category_type_t definition. |
p_outsteering | : (Output) Interrupt Steering given by one of the following: (1) NAIBRD_INT_STEERING_VME Direct interrupt to VME Bus (2) NAIBRD_INT_STEERING_ONBOARD_ARM Interrupt to the Custom App on ARM / NAI Ethernet Listener App (5) NAIBRD_INT_STEERING_PCIE Interrupt to PCIe Bus (6) NAIBRD_INT_STEERING_CPCI Interrupt to CPCI Bus |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t * | p_outtriggerType ) |
Gets the Interrupt trigger mode (edge or level) for an event mapped status bit. Refer to naibrd_AR_GetChanMappedInterruptTriggerType() to retrieve the interrupt trigger mode of channel mapped statuses.
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 naibrd_ar_event_mapped_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_AR_GetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_category_type_t | categoryType, | ||
uint32_t * | p_outvector ) |
Retrieves the Interrupt Vector for the channel and category type specified. Only NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt.
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]). |
categoryType | : (Input) Category Type: refer to naibrd_ar_event_mapped_category_type_t definition. |
p_outvector | : (Output) Interrupt vector (0x00 - 0xFF). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
bool_t | enable ) |
This function is used to enable interrupt generation on a single channel mapped status bit. Refer to naibrd_AR_SetEventMappedInterruptEnable() to set the interrupt enable/disable setting of event-mapped statuses.
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]). |
statusType | : (Input) Status Type to enable or disable. Refer to the naibrd_ar_chan_mapped_status_type_t definition. |
enable | : (Input) Enable (NAI_TRUE) or disable (NAI_FALSE) interrupts for the channel event. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
naibrd_int_steering_t | steering ) |
Sets the Interrupt Steering, which indicates where to direct the interrupt signal, for the specified status type.
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_ar_chan_mapped_status_type_t definition. |
steering | : (Input) Interrupt Steering. Select from the following: (1) NAIBRD_INT_STEERING_VME Direct interrupt to VME Bus (2) NAIBRD_INT_STEERING_ONBOARD_ARM Interrupt to the Custom App on ARM / NAI Ethernet Listener App (5) NAIBRD_INT_STEERING_PCIE Interrupt to PCIe Bus (6) NAIBRD_INT_STEERING_CPCI Interrupt to CPCI Bus |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t | triggerType ) |
Sets the Interrupt trigger mode (edge or level) for a channel mapped status bit. Refer to naibrd_AR_SetEventMappedInterruptTriggerType() to set the interrupt trigger mode of event mapped statuses.
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 naibrd_ar_chan_mapped_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_AR_SetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ar_chan_mapped_status_type_t | statusType, | ||
int32_t | vector ) |
Sets the Interrupt Vector for the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status type that generated the interrupt.
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]). |
statusType | : (Input) Status Type: refer to naibrd_ar_chan_mapped_status_type_t definition. |
vector | : (Input) Interrupt vector (0x00 - 0xFF). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_status_type_t | statusType, | ||
bool_t | enable ) |
This function is used to enable interrupt generation on a single event mapped status bit. Refer to naibrd_AR_SetChanMappedInterruptEnable() to set the interrupt enable/disable setting of channel-mapped statuses.
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]). |
statusType | : (Input) Status Type to enable or disable. Refer to the naibrd_ar_event_mapped_status_type_t definition. |
enable | : (Input) Enable (NAI_TRUE) or disable (NAI_FALSE) interrupts for the channel event. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_category_type_t | categoryType, | ||
naibrd_int_steering_t | steering ) |
Sets the Interrupt Steering, which indicates where to direct the interrupt signal, for the channel and category specified. Only the NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function.
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]). |
categoryType | : (Input) Category Type: refer to naibrd_ar_event_mapped_category_type_t definition. |
steering | : (Input) Interrupt Steering. Select from the following: (1) NAIBRD_INT_STEERING_VME Direct interrupt to VME Bus (2) NAIBRD_INT_STEERING_ONBOARD_ARM Interrupt to the Custom App on ARM / NAI Ethernet Listener App (5) NAIBRD_INT_STEERING_PCIE Interrupt to PCIe Bus (6) NAIBRD_INT_STEERING_CPCI Interrupt to CPCI Bus |
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t | triggerType ) |
Sets the Interrupt trigger mode (edge or level) for an event mapped status bit. Refer to naibrd_AR_SetChanMappedInterruptTriggerType() to set the interrupt trigger mode of channel mapped statuses.
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 naibrd_ar_event_mapped_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_AR_SetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ar_event_mapped_category_type_t | categoryType, | ||
uint32_t | vector ) |
Sets the Interrupt Vector for the channel and category type specified. Only NAIBRD_AR_EVENT_MAP_GENERAL category is supported by this function. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt.
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]). |
categoryType | : (Input) Category Type: refer to naibrd_ar_event_mapped_category_type_t definition. |
vector | : (Input) Interrupt vector (0x00 - 0xFF). |