![]()  | 
  
    Software Library API naibrd 1.62
    
   See all documentation at naii.docs.com 
   | 
 
Functions | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_status_type_t type, bool_t enable) | 
| Sets the Interrupt Enable for the specified Discrete Switch channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_status_type_t type, bool_t *outenable) | 
| Retrieves the Interrupt Enable for the specified Discrete Switch channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_status_type_t type, nai_dsw_interrupt_t interruptType) | 
| Sets the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_dsw_status_type_t type, nai_dsw_interrupt_t *outinterruptType) | 
| Retrieves the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetGroupInterruptVector (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, uint32_t vector) | 
| Sets the Interrupt Vector for the specified Discrete Switch channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetGroupInterruptVector (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, uint32_t *outvector) | 
| Retrieves the Interrupt Vector for the specified Discrete channel and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_SetGroupInterruptSteering (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, naibrd_int_steering_t steering) | 
| Sets the Interrupt Steering which indicates the interrupt direction for the specified Discrete group and interrupt status type.   | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_DSW_GetGroupInterruptSteering (int32_t cardIndex, int32_t module, int32_t group, nai_dsw_status_type_t type, naibrd_int_steering_t *outsteering) | 
| Retrieves the Interrupt Steering which indicates the interrupt direction for the specified Discrete group and interrupt status type.   | |
 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetEdgeLevelInterrupt | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_dsw_status_type_t | type, | ||
| nai_dsw_interrupt_t * | outinterruptType ) | 
Retrieves the Interrupt Edge/Level property for the specified Discrete channel and interrupt 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]). | 
| channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). | 
| type | : (Input) Status Type: refer to nai_dsw_status_type_t definition. | 
| outinterruptType | : (Output) Interrupt Type: refer to nai_dsw_interrupt_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetGroupInterruptSteering | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | group, | ||
| nai_dsw_status_type_t | type, | ||
| naibrd_int_steering_t * | outsteering ) | 
Retrieves the Interrupt Steering which indicates the interrupt direction for the specified Discrete group and interrupt 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]). | 
| 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. | 
| outsteering | : (Output) Interrupt Steering: refer to naibrd_int_steering_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetGroupInterruptVector | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | group, | ||
| nai_dsw_status_type_t | type, | ||
| uint32_t * | outvector ) | 
Retrieves the Interrupt Vector for the specified Discrete channel and interrupt 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]). | 
| 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. | 
| outvector | : (Output) Interrupt Vector. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_GetInterruptEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_dsw_status_type_t | type, | ||
| bool_t * | outenable ) | 
Retrieves the Interrupt Enable for the specified Discrete Switch channel and interrupt 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]). | 
| channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). | 
| type | : (Input) Status Type: refer to nai_dsw_status_type_t definition. | 
| outenable | : (Output) 0 to disable, 1 to enable interrupt. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetEdgeLevelInterrupt | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_dsw_status_type_t | type, | ||
| nai_dsw_interrupt_t | interruptType ) | 
Sets the Interrupt Edge/Level property for the specified Discrete channel and interrupt 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]). | 
| channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). | 
| type | : (Input) Status Type: refer to nai_dsw_status_type_t definition. | 
| interruptType | : (Input) Interrupt Type: refer to nai_dsw_interrupt_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetGroupInterruptSteering | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | group, | ||
| nai_dsw_status_type_t | type, | ||
| naibrd_int_steering_t | steering ) | 
Sets the Interrupt Steering which indicates the interrupt direction for the specified Discrete group and interrupt 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]). | 
| 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. | 
| steering | : (Input) Interrupt Steering: refer to naibrd_int_steering_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetGroupInterruptVector | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | group, | ||
| nai_dsw_status_type_t | type, | ||
| uint32_t | vector ) | 
Sets the Interrupt Vector for the specified Discrete Switch channel and interrupt 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]). | 
| 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. | 
| vector | : (Input) Interrupt Vector. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_DSW_SetInterruptEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_dsw_status_type_t | type, | ||
| bool_t | enable ) | 
Sets the Interrupt Enable for the specified Discrete Switch channel and interrupt 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]). | 
| channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). | 
| type | : (Input) Status Type: refer to nai_dsw_status_type_t definition. | 
| enable | : (Input) 0 to disable, 1 to enable interrupt. |