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

Functions

static int32_t GetGroupCount (uint32_t modId)
 
static nai_status_t naibrd_RLY_VerifyGroup (uint32_t modId, int32_t group)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type, nai_status_bit_t *p_outstatusBit)
 Retrieves the status for the specified status type and RLY channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type)
 Clears the latched status for the specified RLY channel and status type. (Applicable for latched status types only)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type, bool_t enable)
 Sets the Interrupt Enable for the specified RLY channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type, bool_t *p_outenable)
 Retrieves the Interrupt Enable setting for the specified RLY channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_SetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type, nai_rly_interrupt_t interruptType)
 Sets the Interrupt Edge/Level property for the specified RLY channel and interrupt status type. Determines whether an interrupt condition can retrigger on the same occurrence without clearing first.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_GetEdgeLevelInterrupt (int32_t cardIndex, int32_t module, int32_t channel, nai_rly_status_type_t type, nai_rly_interrupt_t *p_outinterruptType)
 Retrieves the Interrupt Edge/Level property for the specified RLY channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_SetGroupInterruptVector (int32_t cardIndex, int32_t module, int32_t group, nai_rly_status_type_t type, uint32_t vector)
 Sets the Interrupt Vector for the specified RLY channel group and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_GetGroupInterruptVector (int32_t cardIndex, int32_t module, int32_t group, nai_rly_status_type_t type, uint32_t *p_outvector)
 Retrieves the Interrupt Vector for the specified RLY channel group and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_SetGroupInterruptSteering (int32_t cardIndex, int32_t module, int32_t group, nai_rly_status_type_t type, naibrd_int_steering_t steering)
 Sets the Interrupt Steering which indicates the interrupt direction for the specified RLY group and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RLY_GetGroupInterruptSteering (int32_t cardIndex, int32_t module, int32_t group, nai_rly_status_type_t type, naibrd_int_steering_t *p_outsteering)
 Retrieves the Interrupt Steering which indicates the interrupt direction for the specified RLY group and interrupt status type.
 

Function Documentation

◆ GetGroupCount()

static int32_t GetGroupCount ( uint32_t modId)
static

◆ naibrd_RLY_VerifyGroup()

static nai_status_t naibrd_RLY_VerifyGroup ( uint32_t modId,
int32_t group )
static