Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_ds_legacy.c File Reference

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type, nai_ds_module_status_t *p_outStatus)
 Gets the module status for a specific channel from the D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type)
 Clears latched status for a specific D/S channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetInterruptVector (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t inInterruptVector)
 Sets the interrupt vector for a D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetInterruptVector (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t *p_outIntVector)
 Gets the D/S interrupt vector that is assigned to the specified interrupt function in the D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type, uint32_t inEnable)
 Sets the D/S interrupt enable state for a specific channel in a D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type, uint32_t *p_outEnable)
 Gets the D/S interrupt enable state for a specific channel in the D/S module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetInterruptSteering (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, naibrd_int_steering_t steering)
 Sets the Interrupt Steering which indicates the interrupt direction for the DS modules. Interrupt steering used for NAI GEN 5 modules and with latched interrupt types.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetInterruptSteering (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, naibrd_int_steering_t *p_outsteering)
 Gets the Interrupt Steering which indicates the interrupt direction for the DS modules. Interrupt steering used for NAI GEN 5 modules and with latched interrupt types.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_SetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type, nai_ds_interruptMode_type_t interruptType)
 Sets the Interrupt Edge/Level mode for the D/S modules. This feature only applies to NAI GEN 5 D/S modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_ds_status_type_t type, nai_ds_interruptMode_type_t *p_outinterruptType)
 Gets the Interrupt Edge/Level mode for the D/S modules. This feature only applies to NAI GEN 5 D/S modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_GetStatusRaw (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t *p_outStatusRaw)
 Gets the raw status value for a specified status type from a D/S module. For Gen 5 modules, to unlatch the latched status, write a one to the latched channel mask position.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DS_ClearStatusRaw (int32_t cardIndex, int32_t module, nai_ds_status_type_t type, uint32_t rawdata)
 Clears the latched status data value in the register associated to the status type specified.