Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_chan_mapped_status_type_t statusType, bool_t enable) |
This function is used to enable interrupt generation on a single channel mapped status bit. Only BIT or Summary (Rx Data Available) events are supported in this function. Refer to naibrd_SER_SetEventMappedInterruptEnable() to set the interrupt enable/disable setting of event-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_chan_mapped_status_type_t statusType, bool_t *p_outenable) |
Get the interrupt enable state for a channel mapped status bit. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_GetEventMappedInterruptEnable() to retrieve the interrupt enable/disable setting of event-mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_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. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_SetEventMappedInterruptTriggerType() to set the interrupt trigger mode of event mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_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. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_GetEventMappedInterruptTriggerType() to retrieve the interrupt trigger mode of event mapped statuses. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ser_chan_mapped_status_type_t statusType, uint32_t vector) |
Sets the Interrupt Vector of the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status that generated the interrupt. This function is only for BIT and Summary (Rx Data Available) interrupts. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_ser_chan_mapped_status_type_t statusType, uint32_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 that generated the interrupt. This function is only for BIT and Summary (Rx Data Available) interrupts. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ser_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 BIT or Summary (Rx Data Available) status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_ser_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 BIT or Summary (Rx Data Available) status. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_chan_mapped_status_type_t | statusType, | ||
bool_t * | p_outenable ) |
Get the interrupt enable state for a channel mapped status bit. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_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_ser_chan_mapped_status_type_t definition. |
p_outenable | : (Output) Interrupt enable state (NAI_TRUE: Enabled, NAI_FALSE: Disabled). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ser_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 BIT or Summary (Rx Data Available) status.
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_ser_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_SER_GetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_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. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_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_ser_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_SER_GetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ser_chan_mapped_status_type_t | statusType, | ||
uint32_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 that generated the interrupt. This function is only for BIT and Summary (Rx Data Available) interrupts.
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) The status interrupt who's steering we want to get. |
p_outvector | : (Output) Interrupt vector (0x00 - 0xFF). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetChanMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_chan_mapped_status_type_t | statusType, | ||
bool_t | enable ) |
This function is used to enable interrupt generation on a single channel mapped status bit. Only BIT or Summary (Rx Data Available) events are supported in this function. Refer to naibrd_SER_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_SER_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_SER_SetChanMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ser_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 BIT or Summary (Rx Data Available) 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_ser_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_SER_SetChanMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_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. Only BIT and Summary (Rx Data Available) interrupts are supported in this function. Refer to naibrd_SER_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_ser_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_SER_SetChanMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_ser_chan_mapped_status_type_t | statusType, | ||
uint32_t | vector ) |
Sets the Interrupt Vector of the status type specified. The Interrupt Service callback routine passes in this vector value to identify the status that generated the interrupt. This function is only for BIT and Summary (Rx Data Available) interrupts.
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) The status interrupt who's vector we want to get. |
vector | : (Input) Interrupt vector (0x00 - 0xFF). |