Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_status_type_t statusType, bool_t enable) |
Sets the Interrupt Enable for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_status_type_t statusType, bool_t *p_outenable) |
Retrieves the Interrupt Enable for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType) |
Sets the Interrupt Edge/Level property for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType) |
Gets the Interrupt Edge/Level property for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_category_type_t categoryType, uint32_t vector) |
Sets the Interrupt Vector for the channel number specified. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_event_mapped_category_type_t categoryType, uint32_t *p_outvector) |
Retrieves the Interrupt Vector for the channel number specified. The Interrupt Service callback routine passes in this vector value to identify the channel that generated the interrupt. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_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 specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SER_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_ser_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 specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_status_type_t | statusType, | ||
bool_t * | p_outenable ) |
Retrieves the Interrupt Enable for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM.
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) The latched interrupt to enable. If a realtime status or FIFO category status is passed in, NAI_ERROR_INVALID_VALUE will be returned. |
p_outenable | : (Output) NAI_TRUE if the interrupt is enabled, NAI_FALSE if the interrupt is not enabled. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_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 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]). |
channel | : (Input) The channel of the steering we want to get. |
categoryType | : (Input) The category of the event mapped status. Interrupts are only supported on statuses with the NAIBRD_SER_EVENT_MAP_COMM category. |
p_outsteering | : (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_GetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t * | p_outtriggerType ) |
Gets the Interrupt Edge/Level property for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM.
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) The latched interrupt to enable. If a realtime status or FIFO category status is passed in, NAI_ERROR_INVALID_VALUE will be returned. |
p_outtriggerType | : (Output) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_GetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_category_type_t | categoryType, | ||
uint32_t * | p_outvector ) |
Retrieves the Interrupt Vector for the channel number specified. 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 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) The channel of the vector we want to get. |
categoryType | : (Input) The category of the event mapped status. Interrupts are only supported on statuses with the NAIBRD_SER_EVENT_MAP_COMM category. |
p_outvector | : (Input) Interrupt vector (0x00 - 0xFF). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetEventMappedInterruptEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_status_type_t | statusType, | ||
bool_t | enable ) |
Sets the Interrupt Enable for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM.
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) The latched interrupt to enable. If a realtime status or FIFO category status is passed in, NAI_ERROR_INVALID_VALUE will be returned. |
enable | : (Input) NAI_TRUE to enable interrupt, NAI_FALSE to disable interrupt. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetEventMappedInterruptSteering | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_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 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]). |
channel | : (Input) The channel of the steering we want to set. |
categoryType | : (Input) The category of the event mapped status. Interrupts are only supported on statuses with the NAIBRD_SER_EVENT_MAP_COMM category. |
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_SetEventMappedInterruptTriggerType | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_status_type_t | statusType, | ||
naibrd_int_trigger_type_t | triggerType ) |
Sets the Interrupt Edge/Level property for the specified Serial channel and interrupt status type. The interrupt statusType must be a latched status and be of the category NAIBRD_SER_EVENT_MAP_COMM.
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) The latched interrupt to enable. If a realtime status or FIFO category status is passed in, NAI_ERROR_INVALID_VALUE will be returned. |
triggerType | : (Input) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SER_SetEventMappedInterruptVector | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_ser_event_mapped_category_type_t | categoryType, | ||
uint32_t | vector ) |
Sets the Interrupt Vector for the channel number specified. 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 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) The channel of the vector we want to set. |
categoryType | : (Input) The category of the event mapped status. Interrupts are only supported on statuses with the NAIBRD_SER_EVENT_MAP_COMM category. |
vector | : (Input) Interrupt vector (0x00 - 0xFF). |