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

Enumerations

enum  naibrd_discrete_type {
  NAIBRD_DT_GEN5_MOD_24_CHAN , NAIBRD_DT_GEN5_MOD_24_CHAN_ENHANCED , NAIBRD_DT_GEN5_COMBO_12_CHAN_ENHANCED , NAIBRD_DT_GEN5_INBRD_24_CHAN ,
  NAIBRD_DT_GEN5_INBRD_24_CHAN_ENHANCED , NAIBRD_DT_GEN5_INBRD_COMBO_12_CHAN , NAIBRD_DT_GEN3_MOD_K6 , NAIBRD_DT_GEN3_MOD_K9 ,
  NAIBRD_DT_GEN3_MOD_KA , NAIBRD_DT_GEN3_MOD_KB , NAIBRD_DT_GEN3_MOD_PD , NAIBRD_DT_UNDEFINED
}
 

Functions

static enum naibrd_discrete_type naibrd_DT_getDiscreteType (uint32_t modid)
 
static nai_status_t GetGen5Status (int32_t cardIndex, int32_t module, int32_t channel, uint32_t modId, naibrd_dt_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit)
 
static nai_status_t GetGen3Status (int32_t cardIndex, int32_t module, int32_t channel, uint32_t modId, naibrd_dt_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit)
 
static nai_status_t ClearGen5Status (int32_t cardIndex, int32_t module, int32_t channel, uint32_t modId, naibrd_dt_chan_mapped_status_type_t statusType)
 
static nai_status_t naibrd_DT_VerifyChannel (uint32_t modId, int32_t channel)
 
static nai_status_t naibrd_DT_VerifyBank (uint32_t modId, int32_t bank)
 
static nai_status_t naibrd_DT_VerifyIOFormat (uint32_t modId, naibrd_dt_ioformat_t format)
 
static nai_status_t naibrd_DT_VerifyOutputState (naibrd_dt_state_t state)
 
static nai_status_t naibrd_DT_VerifyThreshold (naibrd_dt_thresh_type_t threshold)
 
static nai_status_t naibrd_DT_VerifyChanMappedStatusType (naibrd_dt_chan_mapped_status_type_t statusType)
 
static nai_status_t naibrd_DT_VerifyChanMappedLatchStatusType (naibrd_dt_chan_mapped_status_type_t statusType)
 
static nai_status_t naibrd_DT_VerifyBitStatusType (naibrd_dt_bit_status_type_t bitstatusType)
 
static nai_status_t naibrd_DT_VerifyResetType (naibrd_dt_reset_type_t resetstatusType)
 
static nai_status_t naibrd_DT_VerifyEnableType (naibrd_dt_enable_type_t enableType)
 
static nai_status_t naibrd_DT_VerifyEnhancedMode (uint32_t modId, naibrd_dt_enhanced_mode_t mode)
 
static nai_status_t naibrd_DT_VerifyTimebase (uint32_t modId, float64_t timebase)
 
static nai_status_t naibrd_DT_VerifyBurstNum (uint32_t modId, int32_t burstnum)
 
static nai_status_t naibrd_DT_VerifyDataPattern (int32_t dataPatternLen, const uint32_t *dataPattern)
 
static nai_status_t naibrd_DT_VerifyPatGenAdrress (int32_t module, uint32_t modId, uint32_t startAddr)
 
static nai_status_t naibrd_DT_VerifyPatGenCtrl (naibrd_dt_pattern_ctrl_t controlBit)
 
static nai_status_t naibrd_DT_VerifyPWMPolarity (naibrd_dt_pwm_polarity_t polarity)
 
static nai_status_t naibrd_DT_VerifyPullResConfig (naibrd_dt_pullresconfig_t config)
 
static nai_status_t naibrd_DT_VerifyGndSwitchConfig (naibrd_dt_gndswcfg_t config)
 
static nai_status_t naibrd_DT_VerifyDebounceTime (uint32_t modId, float64_t timebase)
 
static nai_status_t naibrd_DT_VerifyCurrShare (naibrd_dt_currsharecfg_t config)
 
static nai_status_t naibrd_DT_VerifyPullUpDownConfig (naibrd_dt_pullconfig_t config)
 
static nai_status_t naibrd_DT_VerifyFIFOEventMappedStatus (naibrd_dt_event_mapped_status_type_t statusType)
 
static nai_status_t naibrd_DT_VerifyAccesType (nai_status_access_type_t accessType)
 
static nai_status_t naibrd_DT_VerifyEventMapCategoryType (naibrd_dt_event_mapped_category_type_t categoryType)
 
static nai_status_t naibrd_DT_VerifyBoolean (bool_t enable)
 
static nai_status_t naibrd_DT_VerifyInterruptTriggerType (naibrd_int_trigger_type_t triggerType)
 
static nai_status_t naibrd_DT_VerifyInterruptSteeringType (naibrd_int_steering_t steeringType)
 
static nai_status_t naibrd_DT_VerifyAllChanType (naibrd_dt_all_chan_type_t allchanType)
 
NAIBRDFUNC int32_t NAIAPI naibrd_DT_GetChannelCount (uint32_t modId)
 Returns the number of channels for the specified Discrete Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_DT_GetGroupCount (uint32_t modId)
 Returns the number of channel groups for the specified Discrete Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_DT_GetGroupSize (uint32_t modId)
 Returns the number of channel in each group for the specified Discrete Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_DT_GetVCCBankCount (uint32_t modId)
 Returns the number of VCC channel banks for the specified Discrete Module ID.
 
NAIBRDFUNC int32_t NAIAPI naibrd_DT_GetVCCBankSize (uint32_t modId)
 Returns the number of channels in each VCC bank for the specified Discrete Module ID.
 
NAIBRDFUNC float64_t NAIAPI naibrd_DT_GetTimebaseLSB (uint32_t modId)
 Returns the LSB for the timer interval for Measurement, PWM and Pattern Generator clocks for the specified DT Module ID.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetInputState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_state_t *p_inputState)
 Retrieves the Input State for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outVoltage)
 Retrieves the voltage measurement for the specified Discrete channel. Feature only available on newer K6 Ver.4 releases.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetCurrent (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outCurrent_mA)
 Retrieves the current measurement for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankVccVoltage (int32_t cardIndex, int32_t module, int32_t bank, float64_t *p_outVoltage)
 Retrieves the Vcc voltage reading at the input pin for the channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBitStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_bit_status_type_t type, nai_status_bit_t *p_outstatusBit)
 Retrieves the bit status for the specified Discrete channel and bit status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit)
 Retrieves the status for the specified Discrete channel and status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType)
 Clears the latched or realtime status for the specified Discrete channel and status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables/disables status reporting for the specified DT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Retrieves the enabled/disabled state of status reporting for the specified DA channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_ioformat_t format)
 Sets the Input/Output configuration for the specified Discrete channel. For KA modules, only channels 13-16 are configurable, channels 1-12 are output-only channels, and channels 17-28 are input-only channels.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_ioformat_t *p_outFormat)
 Retrieves the Input/Output configuration for the specified Discrete channel. For KA modules, only channels 13-16 are configurable, channels 1-12 are output-only channels, and channels 17-28 are input-only channels.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetOutputState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_state_t state)
 Sets the Output State for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetOutputState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_state_t *p_outState)
 Retrieves the Output State for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_thresh_type_t type, float64_t threshold)
 Sets the threshold value for the specified Discrete channel and threshold type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_thresh_type_t type, float64_t *p_outThreshold)
 Sets the threshold value for the specified Discrete channel and threshold type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPullUpDownResConfig (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_pullresconfig_t config)
 Sets the Pull-Up/Down Resistor configuration for the specified Discrete channel. Feature available only on PD and KB modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPullUpDownResConfig (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_pullresconfig_t *p_outconfig)
 Retrieves the Pull-Up/Down Resistor configuration for the specified Discrete channel. Feature available only on PD and KB modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetGndSwitchConfig (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_gndswcfg_t config)
 Sets the Ground Switch configuration for the specified Discrete channel. Feature available only on PD and KB modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetGndSwitchConfig (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_gndswcfg_t *p_outconfig)
 Retrieves the Ground Switch configuration for the specified Discrete channel. Feature available only on PD and KB modules.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_CheckPowerOnBITComplete (int32_t cardIndex, int32_t module, bool_t *p_outpbitComplete)
 Retrieves the Power-On BIT (PBIT) status (complete or incomplete) for the specified module. The PBIT result will be in the BIT status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetModuleBITErrorThreshold (int32_t cardIndex, int32_t module, uint32_t threshold)
 Sets the BIT Error Threshold for continuous BIT conditions. The Error Threshold is a scalar for the internal BIT +2/-1 counter. To filter our momentary or intermittent anomalies in background BIT errors, this value can be increased to allow the error the "come and go" before the BIT status is flagged.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetModuleBITErrorThreshold (int32_t cardIndex, int32_t module, uint32_t *p_outthreshold)
 Retrieves the BIT Error Threshold for continuous BIT conditions. The Error Threshold is a scalar for the internal BIT +2/-1 counter. To filter our momentary or intermittent anomalies in background BIT errors, this value can be increased to allow the error the "come and go" before the BIT status is flagged.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearModuleBITLogic (int32_t cardIndex, int32_t module, int32_t channel)
 Resets the Continuous BIT internal circuitry and counter mechanism for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_Reset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_reset_type_t resetType)
 Resets the Discrete channel as specified by the reset type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ResetAll (int32_t cardIndex, int32_t module, naibrd_dt_reset_type_t resetType)
 Resets all channels on the module as specified by the reset type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetDebounceTime (int32_t cardIndex, int32_t module, int32_t channel, float64_t debounceTime)
 Sets the debounce time for the specified Discrete channel. Enter time in milliseconds. When a signal level is within a valid logic range (Logic High > 2.0 v, and Logic Low < 0.6 v) and maintains that level for a period longer than the Debounce time a logic transition is validated. Signal pulse widths less than debounce time are filtered or ignored. Once valid, the interrupt transition register channel flag is set and the output logic changes state. Enter a value of 0 to disable debounce filtering. Debounce defaults to 0 upon power on or reset.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetDebounceTime (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outdebounceTime)
 Retrieves the debounce time for the specified Discrete channel in milliseconds. When a signal level is within a valid logic range (Logic High > 2.0 v, and Logic Low < 0.6 v) and maintains that level for a period longer than the Debounce time a logic transition is validated. Signal pulse widths less than debounce time are filtered or ignored. Once valid, the interrupt transition register channel flag is set and the output logic changes state. Enter a value of 0 to disable debounce filtering. Debounce defaults to 0 upon power on or reset.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetDebounceLSB (int32_t cardIndex, int32_t module, float64_t *p_outdebounceLSB)
 Retrieves the debounce LSB unit value in milliseconds, applicable for all Discrete channels on the module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankSourceSinkCurrent (int32_t cardIndex, int32_t module, int32_t bank, float64_t current)
 Sets Source/Sink Current configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankSourceSinkCurrent (int32_t cardIndex, int32_t module, int32_t bank, float64_t *p_outcurrent)
 Retrieves Source/Sink Current configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankCurrentShareCfg (int32_t cardIndex, int32_t module, int32_t bank, naibrd_dt_currsharecfg_t config)
 Sets the current share configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankCurrentShareCfg (int32_t cardIndex, int32_t module, int32_t bank, naibrd_dt_currsharecfg_t *p_outconfig)
 Retrieves the current share configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankPullUpDownCfg (int32_t cardIndex, int32_t module, int32_t bank, naibrd_dt_pullconfig_t config)
 Sets the Pull-Up/Down Current Configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankPullUpDownCfg (int32_t cardIndex, int32_t module, int32_t bank, naibrd_dt_pullconfig_t *p_outconfig)
 Retrieves the Pull-Up/Down Current Configuration for the specified Discrete channel bank.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType, bool_t enable)
 Sets the Interrupt Enable for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType, bool_t *p_outenable)
 Retrieves the Interrupt Enable for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType)
 Sets the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType)
 Retrieves the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, uint32_t vector)
 Sets the Interrupt Vector for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, uint32_t *p_outVector)
 Retrieves the Interrupt Vector for the specified Discrete channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, naibrd_int_steering_t steering)
 Sets the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, naibrd_int_steering_t *p_outSteering)
 Retrieves the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ConvertToVoltage (uint32_t modId, uint32_t rawdata, float64_t *p_outVoltage)
 Calculates the voltage in volts associated with the Discrete Module ID from the given raw data.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ConvertToVoltageRaw (uint32_t modId, float64_t voltage, uint32_t *p_outrawData)
 Calculates the raw data associated with the Discrete Module ID and a given voltage.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ConvertToCurrent (uint32_t modId, uint32_t rawdata, float64_t *p_outCurrent_mA)
 Calculates the current in Amps associated with the Discrete Module ID and given raw data.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_enable_type_t enable)
 Sets enhanced operation to disabled or enabled for specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_enable_type_t *p_outenable)
 Retrieves the present enhance operation enable state for the specified Discrete channel. Power on default configuration for the channels is Enhanced Input.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetEnhancedMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_enhanced_mode_t mode)
 Sets the Enhanced mode for the specified Discrete channel. Default configuration for the channels is Enhanced Input. For KA and K6 modules this method is not supported.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetEnhancedMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_enhanced_mode_t *p_outmode)
 Retrieves the Operation mode in Enhanced mode for the specified Discrete channel. Default configuration for the channels is Enhanced Input.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_event_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit)
 Retrieves the Discrete channel's FIFO Buffer Status.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_status_access_type_t accessType, naibrd_dt_event_mapped_category_type_t categoryType, uint32_t *p_outstatusRaw)
 Retrieves the Discrete channel's FIFO Buffer Status value.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearFIFO (int32_t cardIndex, int32_t module, int32_t channel)
 Clears the FIFO Data for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOCount (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outcount)
 Retrieves the number of elements in FIFO for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ReadFIFO (int32_t cardIndex, int32_t module, int32_t channel, int32_t count, int32_t timeout, uint32_t outdata[], int32_t *p_outcount, int32_t *p_outcountRemaining)
 Retrieves the data elements from the Discrete channel's FIFO buffer.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetTimebaseInterval (int32_t cardIndex, int32_t module, int32_t channel, float64_t interval)
 Sets the timebase for frequency measurements for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetTimebaseInterval (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outinterval)
 Retrieves the timebase for frequency measurements for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearCountData (int32_t cardIndex, int32_t module, int32_t channel)
 Clears the measurement count data for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetCountData (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outcount)
 Retrieves the measurement count data for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_EnablePatternGen (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Starts or stops the RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenPeriod (int32_t cardIndex, int32_t module, float64_t period_mS)
 Sets the period for the Pattern Generator for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenPeriod (int32_t cardIndex, int32_t module, float64_t *p_outperiod_mS)
 Retrieves the period for the Pattern Generator for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGen_BurstNum (int32_t cardIndex, int32_t module, int32_t burstNum)
 Sets the number of cycles to output in the PatternGen burst mode for the specified Discrete module. The set value is applicable for enhanced IO PatternGen burst mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGen_BurstNum (int32_t cardIndex, int32_t module, int32_t *p_outburstNum)
 Retrieves the number of cycles set to output in the PatternGen burst mode for the specified Discrete module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenBuf (int32_t cardIndex, int32_t module, int32_t dataPatternLen, const uint32_t *dataPattern)
 Sets the pattern for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenBuf (int32_t cardIndex, int32_t module, int32_t dataPatternLen, uint32_t *p_outdataPattern)
 Retrieves the pattern for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenStartAddr (int32_t cardIndex, int32_t module, uint32_t startAddr)
 Sets the starting address to look at for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenStartAddr (int32_t cardIndex, int32_t module, uint32_t *p_outstartAddr)
 Gets the starting address to look at for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenEndAddr (int32_t cardIndex, int32_t module, uint32_t EndAddr)
 Sets the Ending address to look at for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenEndAddr (int32_t cardIndex, int32_t module, uint32_t *p_outEndAddr)
 Gets the Ending address to look at for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenCtrl (int32_t cardIndex, int32_t module, naibrd_dt_pattern_ctrl_t controlBit, naibrd_dt_enable_type_t state)
 Sets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenCtrl (int32_t cardIndex, int32_t module, naibrd_dt_pattern_ctrl_t controlBit, naibrd_dt_enable_type_t *p_outstate)
 Gets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenCtrlRaw (int32_t cardIndex, int32_t module, uint32_t controlRaw)
 Sets the control bits for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenCtrlRaw (int32_t cardIndex, int32_t module, uint32_t *p_outcontrolRaw)
 Retrieves the control bits for RAM Pattern Generator.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Period (int32_t cardIndex, int32_t module, int32_t channel, float64_t period)
 Sets the PWM period for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Period (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outperiod)
 Retrieves the PWM period value set for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Pulsewidth (int32_t cardIndex, int32_t module, int32_t channel, float64_t pulsewidth)
 Sets the PWM pulsewidth for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Pulsewidth (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outpulsewidth)
 Retrieves the PWM pulsewidth value set for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_BurstNum (int32_t cardIndex, int32_t module, int32_t channel, int32_t burstNum)
 Sets the number of cycles to output in the PWM burst mode for the specified Discrete channel. The set value is applicable for enhanced IO PWM burst mode (mode 12).
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_BurstNum (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outburstNum)
 Retrieves the number of cycles set to output in the PWM burst mode for the specified Discrete channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Polarity (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_pwm_polarity_t polarity)
 Sets the polarity for the PWM output for the selected channel on the module. Options are positive and negative polarity, where positive indicates the high state corresponds to the pulsewidth setting, and negative inverts it for a negative going pulse output.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Polarity (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dt_pwm_polarity_t *p_outpolarity)
 Retrieves the polarity setting for the PWM output for the selected channel on the module. Options are positive and negative polarity, where positive setting indicates the high state corresponds to the pulsewidth setting, and negative setting inverts it for a negative going pulse output.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_StartPWM (int32_t cardIndex, int32_t module, int32_t channel)
 Starts the PWM output for the selected channel on the module. For GEN5 module, PWM mode should be set up first, to the desired mode (continuous or burst). The PWM mode setup will need to be done before each start command.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_StopPWM (int32_t cardIndex, int32_t module, int32_t channel)
 Stops the PWM output for the selected channel on the module. For Gen5 modules, this is done by taking the channel out of PWM mode and resetting to the input mode. To restart PWM, the PWM mode setting will need to be independently set up again.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, uint32_t *p_outstatusRaw)
 Retrieves the raw status data value in the register associated to the group and status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_dt_chan_mapped_status_type_t statusType, uint32_t statusRaw)
 Clears the status data value in the register associated to the group and status type specified. Note: The result of attempting to clear a realtime status may be unpredictable.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetWatchdogQuietTime (int32_t cardIndex, int32_t module, uint32_t quietTime)
 Sets the quiet time duration for the watchdog timer. The watchdog timer is comprised of two parts: quiet time, and window. The quiet time is the time where a strobe is NOT expected to occur, and the window is the time where a SINGLE strobe is expected. A strobe is made by the application by calling naibrd_DT_WatchdogStrobe().
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetWatchdogQuietTime (int32_t cardIndex, int32_t module, uint32_t *p_outquietTime)
 Sets the quiet time duration for the watchdog timer. The watchdog timer is comprised of two parts: quiet time, and window. The quiet time is the time where a strobe is NOT expected to occur, and the window is the time where a SINGLE strobe is expected. A strobe is made by the application by calling naibrd_DT_WatchdogStrobe().
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetWatchdogWindow (int32_t cardIndex, int32_t module, uint32_t window)
 Sets the window that a call to naibrd_DT_WatchdogStrobe() will be made. If a call to naibrd_DT_WatchdogStrobe() is not made by the application within the 'window' ('quiet time' + 'window'), the Watchdog Timer Fault will occur.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetWatchdogWindow (int32_t cardIndex, int32_t module, uint32_t *p_outwindow)
 Retrieves the window that a call to naibrd_DT_WatchdogStrobe() will be made. If a call to naibrd_DT_WatchdogStrobe() is not made by the application within the 'window' ('quiet time' + 'window'), the Watchdog Timer Fault will occur.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_WatchdogStrobe (int32_t cardIndex, int32_t module)
 Strobes the Watchdog Timer. A SINGLE call to this function MUST be made by the application within the 'window' or a Watchdog Timer Fault will occur.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_WatchdogReset (int32_t cardIndex, int32_t module)
 Resets the Watchdog Timer. A reset will stop the Watchdog process and no faults will occur. The process starts again upon the first strobe. NOTE: Function not yet supported. Please refer to naibrd_DT_SetWatchdogQuietTime for an example.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_dt_module_power_reset_status_type_t modulePowerResetStatusType, bool_t *p_outmodulePowerResetStatusBit)
 Retrieves the bit specified by the module power reset status type from the module power reset status register for the specified Discrete module. Feature supported in Motherboard FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_dt_module_power_reset_status_type_t modulePowerResetStatusType)
 Clears the bit specified by the module power reset status type in the module power reset status register for the specified Discrete module. Feature supported in Motherboard FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_dt_module_power_reset_type_t modulePowerResetType, bool_t modulePowerResetBit)
 Sets the bit specified by the module power reset type in the module power reset register for the specified Discrete module. If the bit was set, the hardware will acknowledge it by setting the corresponding bit back to 0. Feature supported in Motherboard FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_dt_module_power_reset_type_t modulePowerResetType, bool_t *p_outmodulePowerResetBit)
 Retrieves the bit specified by the module power reset type from the module power reset register for the specified Discrete module. Feature supported in Motherboard FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetAllChan (int32_t cardIndex, int32_t module, naibrd_dt_all_chan_type_t type, uint32_t rawdata)
 Sets the raw data value in the register associated to the type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetAllChan (int32_t cardIndex, int32_t module, naibrd_dt_all_chan_type_t type, uint32_t *outrawdata)
 Retrieves the raw data value in the register associated to the group and register type specified.
 

Variables

static const uint32_t dt_16_reg_write_output [1] = { NAI_DT_GEN3_16_REG_WRITE_OUTPUT_ADD }
 
static const uint32_t dt_16_reg_read_io [1] = { NAI_DT_GEN3_16_REG_READ_IO_ADD }
 
static const uint32_t dt_16_reg_voltage_reading [16] = NAI_DT_GEN3_16_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_16_reg_current_reading [16] = NAI_DT_GEN3_16_REG_CURRENTRDG_ADD
 
static const uint32_t dt_16_reg_vcc_reading [4] = NAI_DT_GEN3_16_REG_VCC_VALUE_ADD
 
static const uint32_t dt_16_reg_io_format [2] = NAI_DT_GEN3_16_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_16_reg_reset_overcurrent [1] = { NAI_DT_GEN3_16_REG_RESET_OVERCURRENT_ADD }
 
static const uint32_t dt_16_reg_thresh_maxhi [16] = NAI_DT_GEN3_16_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_16_reg_thresh_upper [16] = NAI_DT_GEN3_16_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_16_reg_thresh_lower [16] = NAI_DT_GEN3_16_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_16_reg_thresh_minlo [16] = NAI_DT_GEN3_16_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_16_reg_status_bit_latched [1] = { NAI_DT_GEN3_16_REG_BIT_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_overcurrent_latched [1] = { NAI_DT_GEN3_16_REG_OVERCURRENT_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_maxhi_latched [1] = { NAI_DT_GEN3_16_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_minlo_latched [1] = { NAI_DT_GEN3_16_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_mid_range_fault_latched [1] = { NAI_DT_GEN3_16_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_lohi_trans_latched [1] = { NAI_DT_GEN3_16_REG_LO_HI_TRANS_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_status_hilo_trans_latched [1] = { NAI_DT_GEN3_16_REG_HI_LO_TRANS_LATCHED_STATUS_ADD }
 
static const uint32_t dt_16_reg_debounce_time [16] = NAI_DT_GEN3_16_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_16_reg_pwm_period [16] = NAI_DT_GEN3_16_REG_PWM_PERIOD_ADD
 
static const uint32_t dt_16_reg_pwm_width [16] = NAI_DT_GEN3_16_REG_PWM_WIDTH_ADD
 
static const uint32_t dt_16_reg_pwm_polarity [16] = NAI_DT_GEN3_16_REG_PWM_POLARITY_ADD
 
static const uint32_t dt_16_reg_pwm_mode [1] = { NAI_DT_GEN3_16_REG_PWM_MODE_ADD }
 
static const uint32_t dt_16_reg_pwm_enable [1] = { NAI_DT_GEN3_16_REG_PWM_ENABLE_ADD }
 
static const uint32_t dt_16_reg_src_sink_current [4] = NAI_DT_GEN3_16_REG_SOURCE_SINK_CURRENT_ADD
 
static const uint32_t dt_16_reg_current_share_cfg [1] = { NAI_DT_GEN3_16_REG_CURRENT_SHARE_CONFIG_ADD }
 
static const uint32_t dt_16_reg_pull_up_down_cfg [1] = { NAI_DT_GEN3_16_REG_PULL_UP_DOWN_CONFIG_ADD }
 
static const uint32_t *const dt_16_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_16_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_48_reg_write_output [3] = NAI_DT_GEN3_48_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_48_reg_read_io [3] = NAI_DT_GEN3_48_REG_READ_IO_ADD
 
static const uint32_t dt_48_reg_voltage_reading [48] = NAI_DT_GEN3_48_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_48_reg_current_reading [48] = NAI_DT_GEN3_48_REG_CURRENTRDG_ADD
 
static const uint32_t dt_48_reg_vcc_reading [12] = NAI_DT_GEN3_48_REG_VCC_VALUE_ADD
 
static const uint32_t dt_48_reg_io_format [6] = NAI_DT_GEN3_48_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_48_reg_reset_overcurrent [3] = NAI_DT_GEN3_48_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_48_reg_thresh_maxhi [48] = NAI_DT_GEN3_48_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_48_reg_thresh_upper [48] = NAI_DT_GEN3_48_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_48_reg_thresh_lower [48] = NAI_DT_GEN3_48_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_48_reg_thresh_minlo [48] = NAI_DT_GEN3_48_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_48_reg_status_bit_latched [3] = NAI_DT_GEN3_48_REG_BIT_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_overcurrent_latched [3] = NAI_DT_GEN3_48_REG_OVERCURRENT_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_maxhi_latched [3] = NAI_DT_GEN3_48_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_minlo_latched [3] = NAI_DT_GEN3_48_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_mid_range_fault_latched [3] = NAI_DT_GEN3_48_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_lohi_trans_latched [3] = NAI_DT_GEN3_48_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_status_hilo_trans_latched [3] = NAI_DT_GEN3_48_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_48_reg_debounce_time [48] = NAI_DT_GEN3_48_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_48_reg_src_sink_current [12] = NAI_DT_GEN3_48_REG_SOURCE_SINK_CURRENT_ADD
 
static const uint32_t dt_48_reg_current_share_cfg [3] = NAI_DT_GEN3_48_REG_CURRENT_SHARE_CONFIG_ADD
 
static const uint32_t dt_48_reg_pull_up_down_cfg [1] = NAI_DT_GEN3_48_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t *const dt_48_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_48_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_ka_reg_write_output [1] = NAI_DT_GEN3_KA_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_ka_reg_read_io [2] = NAI_DT_GEN3_KA_REG_READ_IO_ADD
 
static const uint32_t dt_ka_reg_io_format [1] = NAI_DT_GEN3_KA_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_ka_reg_reset_overcurrent [1] = NAI_DT_GEN3_KA_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_ka_reg_thresh_maxhi [28] = NAI_DT_GEN3_KA_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_ka_reg_thresh_upper [28] = NAI_DT_GEN3_KA_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_ka_reg_thresh_lower [28] = NAI_DT_GEN3_KA_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_ka_reg_thresh_minlo [28] = NAI_DT_GEN3_KA_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_ka_reg_status_bit_latched [2] = NAI_DT_GEN3_KA_REG_BIT_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_overcurrent_latched [1] = NAI_DT_GEN3_KA_REG_OVERCURRENT_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_maxhi_latched [2] = NAI_DT_GEN3_KA_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_minlo_latched [2] = NAI_DT_GEN3_KA_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_mid_range_fault_latched [2] = NAI_DT_GEN3_KA_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_lohi_trans_latched [2] = NAI_DT_GEN3_KA_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_ka_reg_status_hilo_trans_latched [2] = NAI_DT_GEN3_KA_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
 
static uint32_t dt_ka_reg_debounce_time [28] = NAI_DT_GEN3_KA_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_ka_reg_pwm_period [16] = NAI_DT_GEN3_KA_REG_PWM_PERIOD_ADD
 
static const uint32_t dt_ka_reg_pwm_width [16] = NAI_DT_GEN3_KA_REG_PWM_WIDTH_ADD
 
static const uint32_t dt_ka_reg_pwm_polarity [16] = NAI_DT_GEN3_KA_REG_PWM_POLARITY_ADD
 
static const uint32_t dt_ka_reg_pwm_mode [1] = NAI_DT_GEN3_KA_REG_PWM_MODE_ADD
 
static const uint32_t dt_ka_reg_pwm_enable [1] = NAI_DT_GEN3_KA_REG_PWM_ENABLE_ADD
 
static const uint32_t *const dt_ka_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_ka_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_pd_reg_write_output [2] = NAI_DT_GEN3_PD_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_pd_reg_read_io [2] = NAI_DT_GEN3_PD_REG_READ_IO_ADD
 
static const uint32_t dt_pd_reg_voltage_reading [18] = NAI_DT_GEN3_PD_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_pd_reg_io_format [4] = NAI_DT_GEN3_PD_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_pd_reg_reset_overcurrent [1] = NAI_DT_GEN3_PD_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_pd_reg_thresh_maxhi [18] = NAI_DT_GEN3_PD_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_pd_reg_thresh_upper [18] = NAI_DT_GEN3_PD_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_pd_reg_thresh_lower [18] = NAI_DT_GEN3_PD_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_pd_reg_thresh_minlo [18] = NAI_DT_GEN3_PD_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_pd_reg_status_bit_latched [2] = NAI_DT_GEN3_PD_REG_BIT_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_overcurrent_latched [2] = NAI_DT_GEN3_PD_REG_OVERCURRENT_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_maxhi_latched [2] = NAI_DT_GEN3_PD_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_midrange_latched [2] = NAI_DT_GEN3_PD_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_minlo_latched [2] = NAI_DT_GEN3_PD_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_lohi_trans_latched [2] = NAI_DT_GEN3_PD_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_status_hilo_trans_latched [2] = NAI_DT_GEN3_PD_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_pd_reg_pullupdown_cfg [4] = NAI_DT_GEN3_PD_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t dt_pd_reg_gndswitch_cfg [2] = NAI_DT_GEN3_PD_REG_GND_SW_CONFIG
 
static const uint32_t dt_pd_reg_debounce_time [18] = NAI_DT_GEN3_PD_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t *const dt_pd_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_pd_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_kb_reg_write_output [2] = NAI_DT_GEN3_KB_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_kb_reg_read_io [2] = NAI_DT_GEN3_KB_REG_READ_IO_ADD
 
static const uint32_t dt_kb_reg_voltage_reading [14] = NAI_DT_GEN3_KB_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_kb_reg_io_format [2] = NAI_DT_GEN3_KB_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_kb_reg_reset_overcurrent [1] = NAI_DT_GEN3_KB_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_kb_reg_thresh_maxhi [14] = NAI_DT_GEN3_KB_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_kb_reg_thresh_upper [14] = NAI_DT_GEN3_KB_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_kb_reg_thresh_lower [14] = NAI_DT_GEN3_KB_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_kb_reg_thresh_minlo [14] = NAI_DT_GEN3_KB_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_kb_reg_status_bit_latched [2] = NAI_DT_GEN3_KB_REG_BIT_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_overcurrent_latched [2] = NAI_DT_GEN3_KB_REG_OVERCURRENT_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_maxhi_latched [2] = NAI_DT_GEN3_KB_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_midrange_latched [2] = NAI_DT_GEN3_KB_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_minlo_latched [2] = NAI_DT_GEN3_KB_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_lohi_trans_latched [2] = NAI_DT_GEN3_KB_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_status_hilo_trans_latched [2] = NAI_DT_GEN3_KB_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
 
static const uint32_t dt_kb_reg_pullupdown_cfg [2] = NAI_DT_GEN3_KB_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t *const dt_kb_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_kb_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_24_reg_write_output [1] = NAI_DT_GEN5_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_24_reg_read_io [1] = NAI_DT_GEN5_REG_READ_IO_ADD
 
static const uint32_t dt_24_reg_voltage_reading [24] = NAI_DT_GEN5_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_24_reg_current_reading [24] = NAI_DT_GEN5_REG_CURRENTRDG_ADD
 
static const uint32_t dt_24_reg_vcc_reading [4] = NAI_DT_GEN5_REG_VCC_VALUE_ADD
 
static const uint32_t dt_24_reg_io_format [2] = NAI_DT_GEN5_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_24_reg_reset_overcurrent [1] = NAI_DT_GEN5_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_24_reg_thresh_maxhi [24] = NAI_DT_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_24_reg_thresh_upper [24] = NAI_DT_GEN5_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_24_reg_thresh_lower [24] = NAI_DT_GEN5_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_24_reg_thresh_minlo [24] = NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_24_reg_debounce_time [24] = NAI_DT_GEN5_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_24_reg_src_sink_current [4] = NAI_DT_GEN5_REG_SOURCE_SINK_CURRENT_ADD
 
static const uint32_t dt_24_reg_pull_up_down_cfg [1] = NAI_DT_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t DT_GEN5_EnhancedModeSelectAddr [24] = NAI_DT_GEN5_REG_MODE_SELECT_ADD
 
static const uint32_t DT_GEN5_EnhancedModeMappedVal [] = NAI_DT_GEN5_MODE_MAPPED_VALUE
 
static const uint32_t DT_GEN5_PWMPolarityRegAddr [1] = { NAI_DT_GEN5_PWM_POLARITY_SELECT_ADD }
 
static const uint32_t DT_GEN5_FIFO_ResetRegAddr [1] = { NAI_DT_GEN5_REG_RESET_FIFO_ADD }
 
static const uint32_t DT_GEN5_FIFO_StatusRegAddr [24] = NAI_DT_GEN5_REG_FIFO_STATUS_ADD
 
static const uint32_t DT_GEN5_FIFO_CountRegAddr [24] = NAI_DT_GEN5_REG_COUNT_ADD
 
static const uint32_t DT_GEN5_FIFO_DataRegAddr [24] = NAI_DT_GEN5_REG_FIFO_DATA_ADD
 
static const uint32_t DT_GEN5_TimebaseIntervalRegAddr [24] = NAI_DT_GEN5_REG_TIMEBASE_INTERVAL_ADD
 
static const uint32_t DT_GEN5_CountDataResetRegAddr [1] = { NAI_DT_GEN5_REG_RESET_TIMER_ADD }
 
static const uint32_t DT_GEN5_CountDataRegAddr [24] = NAI_DT_GEN5_REG_COUNT_DATA_ADD
 
static const uint32_t DT_GEN5_PWM_PeriodRegAddr [24] = NAI_DT_GEN5_REG_PWM_PERIOD_ADD
 
static const uint32_t DT_GEN5_PWM_PulseWidthRegAddr [24] = NAI_DT_GEN5_REG_PWM_PULSEWIDTH_ADD
 
static const uint32_t DT_GEN5_PWM_BurstCountRegAddr [24] = NAI_DT_GEN5_REG_PWM_BURST_COUNT_ADD
 
static const uint32_t dt_24_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_24_reg_thresh [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_24_reg_int_enable [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t dt_24_reg_int_type [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const int32_t dt_24_interrupt_num [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_24_reg_allchan [NAIBRD_DT_ALL_CHAN_COUNT]
 
static const uint32_t dt_inbrd_mod_non_status_offset [4] = NAI_DTI_GEN5_REG_MOD_NON_STATUS_OFFSET
 
static const uint32_t dt_inbrd_mod_status_offset [4] = NAI_DTI_GEN5_REG_MOD_STATUS_OFFSET
 
static const uint32_t dt_inbrd_gen5_reg_write_output [1] = NAI_DTI_GEN5_REG_WRITE_OUTPUT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_read_io [1] = NAI_DTI_GEN5_REG_READ_IO_ADD
 
static const uint32_t dt_inbrd_gen5_reg_io_format [2] = NAI_DTI_GEN5_REG_INPUT_OUTPUT_FORMAT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_voltage_reading [24] = NAI_DTI_GEN5_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_inbrd_gen5_reg_current_reading [24] = NAI_DTI_GEN5_REG_CURRENTRDG_ADD
 
static const uint32_t dt_inbrd_gen5_reg_vcc_reading [4] = NAI_DTI_GEN5_REG_VCC_VALUE_ADD
 
static const uint32_t dt_inbrd_gen5_reg_src_sink_current [4] = NAI_DTI_GEN5_REG_SOURCE_SINK_CURRENT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pull_up_down_cfg [1] = NAI_DTI_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t dt_inbrd_gen5_reg_reset_ovcurrent_cfg [1] = NAI_DTI_GEN5_REG_RESET_OVERCURRENT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_reset_timer_cfg [1] = NAI_DTI_GEN5_REG_RESET_FIFO_TIMER_ADD
 
static const uint32_t dt_inbrd_gen5_reg_reset_fifo_cfg [1] = NAI_DTI_GEN5_REG_RESET_FIFO_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pattern_ctrl [1] = NAI_DTI_GEN5_REG_PATTERN_CTRL_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pattern_period [1] = NAI_DTI_GEN5_REG_PATTERN_PERIOD_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pattern_burst [1] = NAI_DTI_GEN5_REG_PATTERN_BURST_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pattern_start_addr [1] = NAI_DTI_GEN5_REG_PATTERN_START_ADD
 
static const uint32_t dt_inbrd_gen5_reg_pattern_end_addr [1] = NAI_DTI_GEN5_REG_PATTERN_END_ADD
 
static const uint32_t dt_inbrd_gen5_reg_enh_enable [1] = NAI_DTI_GEN5_REG_ENHANCED_ENABLE_ADD
 
static const uint32_t dt_inbrd_gen5_reg_threshold_maxhi [24] = NAI_DTI_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_inbrd_gen5_reg_threshold_upper [24] = NAI_DTI_GEN5_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_inbrd_gen5_reg_threshold_lower [24] = NAI_DTI_GEN5_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_inbrd_gen5_reg_threshold_minlo [24] = NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t dt_inbrd_gen5_reg_debounce_time [24] = NAI_DTI_GEN5_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_inbrd_gen5_reg_PWM_burst_count [24] = NAI_DTI_GEN5_PWM_BURST_COUNT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_PWM_pulse_width [24] = NAI_DTI_GEN5_PWM_PULSE_WIDTH_ADD
 
static const uint32_t dt_inbrd_gen5_reg_mode [24] = NAI_DTI_GEN5_REG_MODE_ADD
 
static const uint32_t dt_inbrd_gen5_reg_fifo_count [24] = NAI_DTI_GEN5_FIFO_COUNT_ADD
 
static const uint32_t dt_inbrd_gen5_reg_fifo_status [24] = NAI_DTI_GEN5_FIFO_STATUS_ADD
 
static const uint32_t dt_inbrd_gen5_reg_fifo_read [24] = NAI_DTI_GEN5_READ_FIFO_ADD
 
static const uint32_t dt_inbrd_gen5_reg_Enh_Period [24] = NAI_DTI_GEN5_ENH_PERIOD_ADD
 
static const uint32_t dt_inbrd_gen5_PWM_polarity [1] = NAI_DTI_GEN5_REG_PWM_POLARITY_ADD
 
static const uint32_t *const dt_inbrd_gen5_reg_threshold [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t dt_inbrd_gen5_reg_status [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t dt_inbrd_reg_int_enable [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t dt_inbrd_reg_int_type [NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_inbrd_reg_allchan [NAIBRD_DT_ALL_CHAN_COUNT]
 
static const uint32_t dt_cf1_reg_read_io [1] = NAI_CF1_DT_GEN5_REG_READ_IO_ADD
 
static const uint32_t dt_cf1_reg_pull_up_down_cfg [1] = NAI_CF1_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
 
static const uint32_t dt_cf1_reg_vcc_reading [1] = NAI_CF1_GEN5_REG_VCC_VALUE_ADD
 
static const uint32_t dt_cf1_reg_src_sink_current [2] = NAI_CF1_GEN5_REG_SOURCE_SINK_CURRENT_ADD
 
static const uint32_t dt_cf1_reg_voltage_reading [12] = NAI_CF1_GEN5_REG_VOLTAGERDG_ADD
 
static const uint32_t dt_cf1_reg_debounce_time [12] = NAI_CF1_GEN5_REG_DEBOUNCE_TIME_ADD
 
static const uint32_t dt_cf1_reg_thresh_maxhi [12] = NAI_CF1_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
 
static const uint32_t dt_cf1_reg_thresh_upper [12] = NAI_CF1_GEN5_REG_UPPER_THRESHOLD_ADD
 
static const uint32_t dt_cf1_reg_thresh_lower [12] = NAI_CF1_GEN5_REG_LOWER_THRESHOLD_ADD
 
static const uint32_t dt_cf1_reg_thresh_minlo [12] = NAI_CF1_GEN5_REG_MIN_LOW_THRESHOLD_ADD
 
static const uint32_t DT_CF1_GEN5_CountDataResetRegAddr [1] = NAI_CF1_GEN5_REG_RESET_TIMER_ADD
 
static const uint32_t DT_CF1_GEN5_FIFO_ResetRegAddr [1] = NAI_CF1_GEN5_REG_RESET_FIFO_ADD
 
static const uint32_t DT_CF1_GEN5_FIFO_DataRegAddr [12] = NAI_CF1_GEN5_REG_FIFO_DATA_ADD
 
static const uint32_t DT_CF1_GEN5_FIFO_CountRegAddr [12] = NAI_CF1_GEN5_REG_COUNT_ADD
 
static const uint32_t DT_CF1_GEN5_FIFO_StatusRegAddr [12] = NAI_CF1_GEN5_REG_FIFO_STATUS_ADD
 
static const uint32_t DT_CF1_GEN5_EnhancedModeSelectAddr [12] = NAI_CF1_GEN5_REG_MODE_SELECT_ADD
 
static const uint32_t DT_CF1_GEN5_TimebaseIntervalRegAddr [12] = NAI_CF1_GEN5_REG_TIMEBASE_INTERVAL_ADD
 
static const uint32_t *const dt_cf1_reg_threshold [NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
 
static const uint32_t *const dt_cf1_reg_allchan [NAIBRD_DT_ALL_CHAN_COUNT]
 

Enumeration Type Documentation

◆ naibrd_discrete_type

Enumerator
NAIBRD_DT_GEN5_MOD_24_CHAN 
NAIBRD_DT_GEN5_MOD_24_CHAN_ENHANCED 
NAIBRD_DT_GEN5_COMBO_12_CHAN_ENHANCED 
NAIBRD_DT_GEN5_INBRD_24_CHAN 
NAIBRD_DT_GEN5_INBRD_24_CHAN_ENHANCED 
NAIBRD_DT_GEN5_INBRD_COMBO_12_CHAN 
NAIBRD_DT_GEN3_MOD_K6 
NAIBRD_DT_GEN3_MOD_K9 
NAIBRD_DT_GEN3_MOD_KA 
NAIBRD_DT_GEN3_MOD_KB 
NAIBRD_DT_GEN3_MOD_PD 
NAIBRD_DT_UNDEFINED 

Function Documentation

◆ ClearGen5Status()

static nai_status_t ClearGen5Status ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t modId,
naibrd_dt_chan_mapped_status_type_t statusType )
static

◆ GetGen3Status()

static nai_status_t GetGen3Status ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t modId,
naibrd_dt_chan_mapped_status_type_t statusType,
nai_status_bit_t * p_outstatusBit )
static

◆ GetGen5Status()

static nai_status_t GetGen5Status ( int32_t cardIndex,
int32_t module,
int32_t channel,
uint32_t modId,
naibrd_dt_chan_mapped_status_type_t statusType,
nai_status_bit_t * p_outstatusBit )
static

◆ naibrd_DT_ClearChanMappedStatusRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearChanMappedStatusRaw ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
uint32_t statusRaw )

Clears the status data value in the register associated to the group and status type specified. Note: The result of attempting to clear a realtime status may be unpredictable.

Parameters
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_dt_chan_mapped_status_type_t definition.
statusRaw: (Input) Raw Data Code.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid status register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_ClearCountData()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearCountData ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clears the measurement count data for the specified Discrete channel.

   Measurement count data applies to the following nai_dt_enhanced_mode_t modes:
         NAI_DT_MODE_COUNT_RISING_EDGES          - Rising Edges Total Count
         NAI_DT_MODE_COUNT_FALLING_EDGES         - Falling Edges Total Count
         NAI_DT_MODE_COUNT_ALL_EDGES             - All Edges Total Count
Parameters
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])
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_ClearFIFO()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ClearFIFO ( int32_t cardIndex,
int32_t module,
int32_t channel )

Clears the FIFO Data for the specified Discrete channel.

Parameters
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])
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_EnablePatternGen()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_EnablePatternGen ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Starts or stops the RAM Pattern Generator.

Parameters
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]).
enable: (Input) 0 to disable, 1 to enable RAM Pattern Generator.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetBankCurrentShareCfg()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankCurrentShareCfg ( int32_t cardIndex,
int32_t module,
int32_t bank,
naibrd_dt_currsharecfg_t * p_outconfig )

Retrieves the current share configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
p_outconfig: (Output) Current Share Cfg: NAI_DT_CURSHARECFG_NONE, NAI_DT_CURSHARECFG_SH12_IND34, NAI_DT_CURSHARECFG_SH123_IND4, NAI_DT_CURSHARECFG_SH34_IND12, NAI_DT_CURSHARECFG_SH12_SH34, or NAI_DT_CURSHARECFG_ALL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetBankPullUpDownCfg()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankPullUpDownCfg ( int32_t cardIndex,
int32_t module,
int32_t bank,
naibrd_dt_pullconfig_t * p_outconfig )

Retrieves the Pull-Up/Down Current Configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
p_outconfig: (Output) Pull-Up/Down Current Cfg: NAI_DT_PULLCONFIG_PULLUP or NAI_DT_PULLCONFIG_PULLDOWN.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetBankSourceSinkCurrent()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankSourceSinkCurrent ( int32_t cardIndex,
int32_t module,
int32_t bank,
float64_t * p_outcurrent )

Retrieves Source/Sink Current configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
p_outcurrent: (Output) Current (0 - 0.005) in Amps
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetChanMappedInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_chan_mapped_status_type_t statusType,
bool_t * p_outenable )

Retrieves the Interrupt Enable for the specified Discrete channel and interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
p_outenable: (Output) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetChanMappedInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptSteering ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
naibrd_int_steering_t * p_outSteering )

Retrieves the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.

Parameters
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 nai_dt_status_type_t definition.
p_outSteering: (Output) Interrupt Steering.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid group register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetChanMappedInterruptTriggerType()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptTriggerType ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_chan_mapped_status_type_t statusType,
naibrd_int_trigger_type_t * p_outtriggerType )

Retrieves the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.

Parameters
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 nai_dt_status_type_t definition.
p_outtriggerType: (Output) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetChanMappedInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedInterruptVector ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
uint32_t * p_outVector )

Retrieves the Interrupt Vector for the specified Discrete channel and interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
p_outVector: (Output) Interrupt Vector uint32_t.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid group register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetChanMappedStatusRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetChanMappedStatusRaw ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
uint32_t * p_outstatusRaw )

Retrieves the raw status data value in the register associated to the group and status type specified.

Parameters
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_dt_chan_mapped_status_type_t definition.
p_outstatusRaw: (Output) Raw Data Code.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid status register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetCountData()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetCountData ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outcount )

Retrieves the measurement count data for the specified Discrete channel.

   Measurement count data applies to the following nai_dt_enhanced_mode_t modes:
         NAI_DT_MODE_COUNT_RISING_EDGES          - Rising Edges Total Count
         NAI_DT_MODE_COUNT_FALLING_EDGES         - Falling Edges Total Count
         NAI_DT_MODE_COUNT_ALL_EDGES             - All Edges Total Count
Parameters
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]).
p_outcount: (Output) Measurement count value.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetDebounceLSB()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetDebounceLSB ( int32_t cardIndex,
int32_t module,
float64_t * p_outdebounceLSB )

Retrieves the debounce LSB unit value in milliseconds, applicable for all Discrete channels on the module.

Parameters
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]).
p_outdebounceLSB: (Output) Debounce Time LSB, in units of milliseconds.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetDebounceTime()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetDebounceTime ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outdebounceTime )

Retrieves the debounce time for the specified Discrete channel in milliseconds. When a signal level is within a valid logic range (Logic High > 2.0 v, and Logic Low < 0.6 v) and maintains that level for a period longer than the Debounce time a logic transition is validated. Signal pulse widths less than debounce time are filtered or ignored. Once valid, the interrupt transition register channel flag is set and the output logic changes state. Enter a value of 0 to disable debounce filtering. Debounce defaults to 0 upon power on or reset.

Parameters
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]).
p_outdebounceTime: (Output) Valid time, units of milliseconds (0 to disable Debounce)(debounce default is 0 upon reset).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_getDiscreteType()

static enum naibrd_discrete_type naibrd_DT_getDiscreteType ( uint32_t modid)
static

◆ naibrd_DT_GetEnhanceTriggerEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetEnhanceTriggerEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_enable_type_t * p_outenable )

Retrieves the present enhance operation enable state for the specified Discrete channel. Power on default configuration for the channels is Enhanced Input.

Parameters
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]).
p_outenable: (Output) Refer to nai_dt_enable_type_t definitions.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetFIFOCount()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOCount ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outcount )

Retrieves the number of elements in FIFO for the specified Discrete channel.

Parameters
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]).
p_outcount: (Output) number of elements in Discrete channel FIFO .
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetFIFOEventMappedStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOEventMappedStatus ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_event_mapped_status_type_t statusType,
nai_status_bit_t * p_outstatusBit )

Retrieves the Discrete channel's FIFO Buffer Status.

   FIFO Buffer status applies to the following nai_dt_enhanced_mode_t modes where the FIFO is used to store
   the measurements:
         NAI_DT_MODE_MEASURE_HIGH_TIME           - High Time Measurement
         NAI_DT_MODE_MEASURE_LOW_TIME            - Low Time Measurement
         NAI_DT_MODE_TIMESTAMP_RISING_EDGES      - Rising Edges Timestamps
         NAI_DT_MODE_TIMESTAMP_FALLING_EDGES     - Falling Edges Timestamps
         NAI_DT_MODE_TIMESTAMP_ALL_EDGES         - All Edges Timestamps
         NAI_DT_MODE_MEASURE_FREQUENCY           - Frequency Measurement

  FIFO Status Type Definition:
  ------------------------------
   NAIBRD_DT_EVENT_STATUS_FIFO_BTWN_ALMOST_EMPTY_FULL_REALTIME
   NAIBRD_DT_EVENT_STATUS_FIFO_FULL_REALTIME,
   NAIBRD_DT_EVENT_STATUS_FIFO_ALMOST_FULL_REALTIME,
   NAIBRD_DT_EVENT_STATUS_FIFO_ALMOST_EMPTY_REALTIME,
   NAIBRD_DT_EVENT_STATUS_FIFO_EMPTY_REALTIME,
Parameters
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_dt_event_mapped_status_type_t definition.
p_outstatusBit: (Output) FIFO Buffer Status.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetFIFOEventMappedStatusRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetFIFOEventMappedStatusRaw ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_status_access_type_t accessType,
naibrd_dt_event_mapped_category_type_t categoryType,
uint32_t * p_outstatusRaw )

Retrieves the Discrete channel's FIFO Buffer Status value.

   FIFO Buffer status applies to the following nai_dt_enhanced_mode_t modes where the FIFO is used to store
   the measurements:
         NAI_DT_MODE_MEASURE_HIGH_TIME           - High Time Measurement
         NAI_DT_MODE_MEASURE_LOW_TIME            - Low Time Measurement
         NAI_DT_MODE_TIMESTAMP_RISING_EDGES      - Rising Edges Timestamps
         NAI_DT_MODE_TIMESTAMP_FALLING_EDGES     - Falling Edges Timestamps
         NAI_DT_MODE_TIMESTAMP_ALL_EDGES         - All Edges Timestamps
         NAI_DT_MODE_MEASURE_FREQUENCY           - Frequency Measurement
Parameters
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]).
accessType: (Input) Status Type: refer to nai_status_access_type_t definition. This function only accepts NAI_STATUS_REALTIME
categoryType: (Input) Status Type: refer to naibrd_dt_event_mapped_category_type_t definition.
p_outstatusRaw: (Output) FIFO Buffer Status. This Value can be bit masked using naibrd_dt_event_mapped_status_mask_t
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGen_BurstNum()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGen_BurstNum ( int32_t cardIndex,
int32_t module,
int32_t * p_outburstNum )

Retrieves the number of cycles set to output in the PatternGen burst mode for the specified Discrete module.

Parameters
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]).
p_outburstNum: (Output)Number of cycles to output upon trigger, in PatternGen burst mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenBuf()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenBuf ( int32_t cardIndex,
int32_t module,
int32_t dataPatternLen,
uint32_t * p_outdataPattern )

Retrieves the pattern for RAM Pattern Generator.

Parameters
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]).
dataPatternLen: (Input) Length of buffer holding RAM Pattern .
p_outdataPattern: (Output) Buffer holding RAM Pattern .
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenCtrl()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenCtrl ( int32_t cardIndex,
int32_t module,
naibrd_dt_pattern_ctrl_t controlBit,
naibrd_dt_enable_type_t * p_outstate )

Gets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.

Parameters
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]).
controlBit: (Input) Bit Type: refer to nai_dt_pattern_ctrl_t definition.
p_outstate: (Input) Enable/Disable: refer to nai_dt_enable_t.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenCtrlRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenCtrlRaw ( int32_t cardIndex,
int32_t module,
uint32_t * p_outcontrolRaw )

Retrieves the control bits for RAM Pattern Generator.

Parameters
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]).
p_outcontrolRaw: (Output) RAM Pattern control bits .
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenEndAddr()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenEndAddr ( int32_t cardIndex,
int32_t module,
uint32_t * p_outEndAddr )

Gets the Ending address to look at for RAM Pattern Generator.

Parameters
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]).
p_outEndAddr: (Output) Ending Address to output RAM pattern generator data from.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_INVALID_RANGE when invalid range address parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenPeriod()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenPeriod ( int32_t cardIndex,
int32_t module,
float64_t * p_outperiod_mS )

Retrieves the period for the Pattern Generator for the specified Discrete channel.

Parameters
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]).
p_outperiod_mS: (Output) Period in milliseconds valid from .000008mS to 34360mS .
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPatternGenStartAddr()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPatternGenStartAddr ( int32_t cardIndex,
int32_t module,
uint32_t * p_outstartAddr )

Gets the starting address to look at for RAM Pattern Generator.

Parameters
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]).
p_outstartAddr: (Output) Starting Address to output RAM pattern generator data from.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_INVALID_RANGE when invalid range address parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPWM_BurstNum()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_BurstNum ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outburstNum )

Retrieves the number of cycles set to output in the PWM burst mode for the specified Discrete channel.

Parameters
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]).
p_outburstNum: (Output)Number of cycles to output upon trigger, in PWM burst mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPWM_Period()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Period ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outperiod )

Retrieves the PWM period value set for the specified Discrete channel.

Parameters
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]).
p_outperiod: (Output) PWM period, specified in milliseconds, increments of 0.000008 ms (8ns). (Valid Range 0.000016 to 34359.73836 milliseconds) (0x2 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPWM_Polarity()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Polarity ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_pwm_polarity_t * p_outpolarity )

Retrieves the polarity setting for the PWM output for the selected channel on the module. Options are positive and negative polarity, where positive setting indicates the high state corresponds to the pulsewidth setting, and negative setting inverts it for a negative going pulse output.

Parameters
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]).
p_outpolarity: (Output) Polarity selection, NAI_DT_PWMPOLARITY_POS or NAI_DT_PWMPOLARITY_NEG
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetPWM_Pulsewidth()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetPWM_Pulsewidth ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outpulsewidth )

Retrieves the PWM pulsewidth value set for the specified Discrete channel.

Parameters
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]).
p_outpulsewidth: (Output) PWM pulsewidth, specified in milliseconds, increments of 0.000008 ms (8ns). (Valid Range 0.000008 to 34359.73836 milliseconds) (0x1 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_GetTimebaseInterval()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetTimebaseInterval ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outinterval )

Retrieves the timebase for frequency measurements for the specified Discrete channel.

   Timebase for frequency measurement applies to the following nai_dt_enhanced_mode_t mode:
         NAI_DT_MODE_MEASURE_FREQUENCY           - Frequency Measurement
Parameters
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]).
p_outinterval: (Output) Timebase interval specified in milliseconds, increments of 0.000008 ms (8ns). (Range 0.000008 to 34359.73836 milliseconds) (0x1 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_ReadFIFO()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_ReadFIFO ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t count,
int32_t timeout,
uint32_t outdata[],
int32_t * p_outcount,
int32_t * p_outcountRemaining )

Retrieves the data elements from the Discrete channel's FIFO buffer.

FIFO Buffer applies to the following nai_dt_enhanced_mode_t modes where the FIFO is used to store
the measurements:
NAI_DT_MODE_MEASURE_HIGH_TIME           - High Time Measurement
NAI_DT_MODE_MEASURE_LOW_TIME            - Low Time Measurement
NAI_DT_MODE_TIMESTAMP_RISING_EDGES      - Rising Edges Timestamps
NAI_DT_MODE_TIMESTAMP_FALLING_EDGES     - Falling Edges Timestamps
NAI_DT_MODE_TIMESTAMP_ALL_EDGES         - All Edges Timestamps
NAI_DT_MODE_MEASURE_FREQUENCY           - Frequency Measurement
Parameters
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]).
count: (Input) Number of data elements to retrieve.
timeout: (Input) The amount of time, in milliseconds, to wait for the FIFO's count to reach count before timing out.
outdata: (Output) Array of 32-bit raw data.
p_outcount:(Output) Number of data elements read from the Discrete channel's FIFO buffer.
p_outcountRemaining: (Output) The number of elements remaining in the FIFO.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetBankCurrentShareCfg()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankCurrentShareCfg ( int32_t cardIndex,
int32_t module,
int32_t bank,
naibrd_dt_currsharecfg_t config )

Sets the current share configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
config: (Input) Current Share Cfg: NAI_DT_CURSHARECFG_NONE, NAI_DT_CURSHARECFG_SH12_IND34, NAI_DT_CURSHARECFG_SH123_IND4, NAI_DT_CURSHARECFG_SH34_IND12, NAI_DT_CURSHARECFG_SH12_SH34, or NAI_DT_CURSHARECFG_ALL
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter or config parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetBankPullUpDownCfg()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankPullUpDownCfg ( int32_t cardIndex,
int32_t module,
int32_t bank,
naibrd_dt_pullconfig_t config )

Sets the Pull-Up/Down Current Configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
config: (Input) Pull-Up/Down Current Cfg: NAI_DT_PULLCONFIG_PULLUP or NAI_DT_PULLCONFIG_PULLDOWN.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetBankSourceSinkCurrent()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankSourceSinkCurrent ( int32_t cardIndex,
int32_t module,
int32_t bank,
float64_t current )

Sets Source/Sink Current configuration for the specified Discrete channel bank.

Parameters
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]).
bank: (Input) Channel Bank number (1 - [max channel banks for module]).
current: (Input) Current (0 - 0.005) in Amps
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid bank parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetChanMappedInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_chan_mapped_status_type_t statusType,
bool_t enable )

Sets the Interrupt Enable for the specified Discrete channel and interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
enable: (Input) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetChanMappedInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptSteering ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
naibrd_int_steering_t steering )

Sets the Interrupt Steering which indicates the interrupt direction for the specified interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
steering: (Input) Interrupt Steering: refer to naibrd_int_steering_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid group register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetChanMappedInterruptTriggerType()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptTriggerType ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_chan_mapped_status_type_t statusType,
naibrd_int_trigger_type_t triggerType )

Sets the Interrupt Edge/Level property for the specified Discrete channel and interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
triggerType: (Input) Interrupt trigger type (NAIBRD_INT_TRIGGER_TYPE_EDGE or NAIBRD_INT_TRIGGER_TYPE_LEVEL).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetChanMappedInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetChanMappedInterruptVector ( int32_t cardIndex,
int32_t module,
naibrd_dt_chan_mapped_status_type_t statusType,
uint32_t vector )

Sets the Interrupt Vector for the specified Discrete channel and interrupt status type.

Parameters
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_dt_chan_mapped_status_type_t definition.
vector: (Input) Interrupt Vector.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid group register type is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetDebounceTime()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetDebounceTime ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t debounceTime )

Sets the debounce time for the specified Discrete channel. Enter time in milliseconds. When a signal level is within a valid logic range (Logic High > 2.0 v, and Logic Low < 0.6 v) and maintains that level for a period longer than the Debounce time a logic transition is validated. Signal pulse widths less than debounce time are filtered or ignored. Once valid, the interrupt transition register channel flag is set and the output logic changes state. Enter a value of 0 to disable debounce filtering. Debounce defaults to 0 upon power on or reset.

Parameters
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]).
debounceTime: (Input) Valid time, units of milliseconds (0 to disable Debounce)(debounce default is 0 upon reset).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetEnhancedMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetEnhancedMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_enhanced_mode_t mode )

Sets the Enhanced mode for the specified Discrete channel. Default configuration for the channels is Enhanced Input. For KA and K6 modules this method is not supported.

Parameters
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]).
mode: (Input) Available operation modes: Refer to nai_dt_enhanced_mode_t definitions.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetEnhanceTriggerEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetEnhanceTriggerEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_enable_type_t enable )

Sets enhanced operation to disabled or enabled for specified Discrete channel.

Parameters
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]).
enable: (Input) Refer to nai_dt_enable_type_t definitions.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGen_BurstNum()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGen_BurstNum ( int32_t cardIndex,
int32_t module,
int32_t burstNum )

Sets the number of cycles to output in the PatternGen burst mode for the specified Discrete module. The set value is applicable for enhanced IO PatternGen burst mode.

Parameters
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]).
burstNum: (Input)Number of cycles to output upon trigger, in PatternGen burst mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenBuf()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenBuf ( int32_t cardIndex,
int32_t module,
int32_t dataPatternLen,
const uint32_t * dataPattern )

Sets the pattern for RAM Pattern Generator.

Parameters
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]).
dataPatternLen: (Input) Length of buffer holding RAM Pattern .
dataPattern: (Input) Buffer holding RAM Pattern .
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenCtrl()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenCtrl ( int32_t cardIndex,
int32_t module,
naibrd_dt_pattern_ctrl_t controlBit,
naibrd_dt_enable_type_t state )

Sets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.

Parameters
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]).
controlBit: (Input) Bit Type: refer to nai_dt_pattern_ctrl_t definition.
state: (Input) Enable/Disable: refer to nai_dt_enable_t.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenCtrlRaw()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenCtrlRaw ( int32_t cardIndex,
int32_t module,
uint32_t controlRaw )

Sets the control bits for RAM Pattern Generator.

Parameters
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]).
controlRaw: (Input) RAM Pattern Control bits.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenEndAddr()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenEndAddr ( int32_t cardIndex,
int32_t module,
uint32_t EndAddr )

Sets the Ending address to look at for RAM Pattern Generator.

Parameters
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]).
EndAddr: (Input) Ending Address to output RAM pattern generator data from.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_INVALID_RANGE when invalid range address parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenPeriod()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenPeriod ( int32_t cardIndex,
int32_t module,
float64_t period_mS )

Sets the period for the Pattern Generator for the specified Discrete channel.

Parameters
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]).
period_mS: (Input) Period in milliseconds valid from .000008mS to 34360mS .
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPatternGenStartAddr()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPatternGenStartAddr ( int32_t cardIndex,
int32_t module,
uint32_t startAddr )

Sets the starting address to look at for RAM Pattern Generator.

Parameters
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]).
startAddr: (Input) Starting Address to output RAM pattern generator data from.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_INVALID_RANGE when invalid range address parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPWM_BurstNum()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_BurstNum ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t burstNum )

Sets the number of cycles to output in the PWM burst mode for the specified Discrete channel. The set value is applicable for enhanced IO PWM burst mode (mode 12).

Parameters
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]).
burstNum: (Input)Number of cycles to output upon trigger, in PWM burst mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPWM_Period()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Period ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t period )

Sets the PWM period for the specified Discrete channel.

Parameters
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]).
period: (Input)PWM period specified in milliseconds, increments of 0.000008 ms (8ns). (Range 0.000016 to 34359.73836 milliseconds) (0x2 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPWM_Polarity()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Polarity ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_dt_pwm_polarity_t polarity )

Sets the polarity for the PWM output for the selected channel on the module. Options are positive and negative polarity, where positive indicates the high state corresponds to the pulsewidth setting, and negative inverts it for a negative going pulse output.

Parameters
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]).
polarity: (Input) Polarity selection, NAI_DT_PWMPOLARITY_POS or NAI_DT_PWMPOLARITY_NEG
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetPWM_Pulsewidth()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetPWM_Pulsewidth ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t pulsewidth )

Sets the PWM pulsewidth for the specified Discrete channel.

Parameters
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]).
pulsewidth: (Input)PWM pulsewidth specified in milliseconds, increments of 0.000008 ms (8ns). (Range 0.000008 to 34359.73836 milliseconds) (0x1 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_SetTimebaseInterval()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetTimebaseInterval ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t interval )

Sets the timebase for frequency measurements for the specified Discrete channel.

   Timebase for frequency measurement applies to the following nai_dt_enhanced_mode_t mode:
         NAI_DT_MODE_MEASURE_FREQUENCY           - Frequency Measurement
Parameters
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]).
interval: (Input) Timebase interval specified in milliseconds, increments of 0.000008 ms (8ns). (Range 0.000008 to 34359.73836 milliseconds) (0x1 to 0xFFFFFFFF at 0.000008 ms LSB)
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter.
  • NAI_ERROR_INVALID_VALUE when invalid format type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_StartPWM()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_StartPWM ( int32_t cardIndex,
int32_t module,
int32_t channel )

Starts the PWM output for the selected channel on the module. For GEN5 module, PWM mode should be set up first, to the desired mode (continuous or burst). The PWM mode setup will need to be done before each start command.

Parameters
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]).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_StopPWM()

NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_StopPWM ( int32_t cardIndex,
int32_t module,
int32_t channel )

Stops the PWM output for the selected channel on the module. For Gen5 modules, this is done by taking the channel out of PWM mode and resetting to the input mode. To restart PWM, the PWM mode setting will need to be independently set up again.

Parameters
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]).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_NOT_OPEN when handle to board is invalid.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_DT_VerifyAccesType()

static nai_status_t naibrd_DT_VerifyAccesType ( nai_status_access_type_t accessType)
static

◆ naibrd_DT_VerifyAllChanType()

static nai_status_t naibrd_DT_VerifyAllChanType ( naibrd_dt_all_chan_type_t allchanType)
static

◆ naibrd_DT_VerifyBank()

static nai_status_t naibrd_DT_VerifyBank ( uint32_t modId,
int32_t bank )
static

◆ naibrd_DT_VerifyBitStatusType()

static nai_status_t naibrd_DT_VerifyBitStatusType ( naibrd_dt_bit_status_type_t bitstatusType)
static

◆ naibrd_DT_VerifyBoolean()

static nai_status_t naibrd_DT_VerifyBoolean ( bool_t enable)
static

◆ naibrd_DT_VerifyBurstNum()

static nai_status_t naibrd_DT_VerifyBurstNum ( uint32_t modId,
int32_t burstnum )
static

◆ naibrd_DT_VerifyChanMappedLatchStatusType()

static nai_status_t naibrd_DT_VerifyChanMappedLatchStatusType ( naibrd_dt_chan_mapped_status_type_t statusType)
static

◆ naibrd_DT_VerifyChanMappedStatusType()

static nai_status_t naibrd_DT_VerifyChanMappedStatusType ( naibrd_dt_chan_mapped_status_type_t statusType)
static

◆ naibrd_DT_VerifyChannel()

static nai_status_t naibrd_DT_VerifyChannel ( uint32_t modId,
int32_t channel )
static

◆ naibrd_DT_VerifyCurrShare()

static nai_status_t naibrd_DT_VerifyCurrShare ( naibrd_dt_currsharecfg_t config)
static

◆ naibrd_DT_VerifyDataPattern()

static nai_status_t naibrd_DT_VerifyDataPattern ( int32_t dataPatternLen,
const uint32_t * dataPattern )
static

◆ naibrd_DT_VerifyDebounceTime()

static nai_status_t naibrd_DT_VerifyDebounceTime ( uint32_t modId,
float64_t timebase )
static

◆ naibrd_DT_VerifyEnableType()

static nai_status_t naibrd_DT_VerifyEnableType ( naibrd_dt_enable_type_t enableType)
static

◆ naibrd_DT_VerifyEnhancedMode()

static nai_status_t naibrd_DT_VerifyEnhancedMode ( uint32_t modId,
naibrd_dt_enhanced_mode_t mode )
static

◆ naibrd_DT_VerifyEventMapCategoryType()

static nai_status_t naibrd_DT_VerifyEventMapCategoryType ( naibrd_dt_event_mapped_category_type_t categoryType)
static

◆ naibrd_DT_VerifyFIFOEventMappedStatus()

static nai_status_t naibrd_DT_VerifyFIFOEventMappedStatus ( naibrd_dt_event_mapped_status_type_t statusType)
static

◆ naibrd_DT_VerifyGndSwitchConfig()

static nai_status_t naibrd_DT_VerifyGndSwitchConfig ( naibrd_dt_gndswcfg_t config)
static

◆ naibrd_DT_VerifyInterruptSteeringType()

static nai_status_t naibrd_DT_VerifyInterruptSteeringType ( naibrd_int_steering_t steeringType)
static

◆ naibrd_DT_VerifyInterruptTriggerType()

static nai_status_t naibrd_DT_VerifyInterruptTriggerType ( naibrd_int_trigger_type_t triggerType)
static

◆ naibrd_DT_VerifyIOFormat()

static nai_status_t naibrd_DT_VerifyIOFormat ( uint32_t modId,
naibrd_dt_ioformat_t format )
static

◆ naibrd_DT_VerifyOutputState()

static nai_status_t naibrd_DT_VerifyOutputState ( naibrd_dt_state_t state)
static

◆ naibrd_DT_VerifyPatGenAdrress()

static nai_status_t naibrd_DT_VerifyPatGenAdrress ( int32_t module,
uint32_t modId,
uint32_t startAddr )
static

◆ naibrd_DT_VerifyPatGenCtrl()

static nai_status_t naibrd_DT_VerifyPatGenCtrl ( naibrd_dt_pattern_ctrl_t controlBit)
static

◆ naibrd_DT_VerifyPullResConfig()

static nai_status_t naibrd_DT_VerifyPullResConfig ( naibrd_dt_pullresconfig_t config)
static

◆ naibrd_DT_VerifyPullUpDownConfig()

static nai_status_t naibrd_DT_VerifyPullUpDownConfig ( naibrd_dt_pullconfig_t config)
static

◆ naibrd_DT_VerifyPWMPolarity()

static nai_status_t naibrd_DT_VerifyPWMPolarity ( naibrd_dt_pwm_polarity_t polarity)
static

◆ naibrd_DT_VerifyResetType()

static nai_status_t naibrd_DT_VerifyResetType ( naibrd_dt_reset_type_t resetstatusType)
static

◆ naibrd_DT_VerifyThreshold()

static nai_status_t naibrd_DT_VerifyThreshold ( naibrd_dt_thresh_type_t threshold)
static

◆ naibrd_DT_VerifyTimebase()

static nai_status_t naibrd_DT_VerifyTimebase ( uint32_t modId,
float64_t timebase )
static

Variable Documentation

◆ dt_16_reg_current_reading

const uint32_t dt_16_reg_current_reading[16] = NAI_DT_GEN3_16_REG_CURRENTRDG_ADD
static

◆ dt_16_reg_current_share_cfg

const uint32_t dt_16_reg_current_share_cfg[1] = { NAI_DT_GEN3_16_REG_CURRENT_SHARE_CONFIG_ADD }
static

◆ dt_16_reg_debounce_time

const uint32_t dt_16_reg_debounce_time[16] = NAI_DT_GEN3_16_REG_DEBOUNCE_TIME_ADD
static

◆ dt_16_reg_io_format

const uint32_t dt_16_reg_io_format[2] = NAI_DT_GEN3_16_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_16_reg_pull_up_down_cfg

const uint32_t dt_16_reg_pull_up_down_cfg[1] = { NAI_DT_GEN3_16_REG_PULL_UP_DOWN_CONFIG_ADD }
static

◆ dt_16_reg_pwm_enable

const uint32_t dt_16_reg_pwm_enable[1] = { NAI_DT_GEN3_16_REG_PWM_ENABLE_ADD }
static

◆ dt_16_reg_pwm_mode

const uint32_t dt_16_reg_pwm_mode[1] = { NAI_DT_GEN3_16_REG_PWM_MODE_ADD }
static

◆ dt_16_reg_pwm_period

const uint32_t dt_16_reg_pwm_period[16] = NAI_DT_GEN3_16_REG_PWM_PERIOD_ADD
static

◆ dt_16_reg_pwm_polarity

const uint32_t dt_16_reg_pwm_polarity[16] = NAI_DT_GEN3_16_REG_PWM_POLARITY_ADD
static

◆ dt_16_reg_pwm_width

const uint32_t dt_16_reg_pwm_width[16] = NAI_DT_GEN3_16_REG_PWM_WIDTH_ADD
static

◆ dt_16_reg_read_io

const uint32_t dt_16_reg_read_io[1] = { NAI_DT_GEN3_16_REG_READ_IO_ADD }
static

◆ dt_16_reg_reset_overcurrent

const uint32_t dt_16_reg_reset_overcurrent[1] = { NAI_DT_GEN3_16_REG_RESET_OVERCURRENT_ADD }
static

◆ dt_16_reg_src_sink_current

const uint32_t dt_16_reg_src_sink_current[4] = NAI_DT_GEN3_16_REG_SOURCE_SINK_CURRENT_ADD
static

◆ dt_16_reg_status

const uint32_t* const dt_16_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const uint32_t dt_16_reg_status_hilo_trans_latched[1]
Definition naibrd_dt.c:56
static const uint32_t dt_16_reg_status_mid_range_fault_latched[1]
Definition naibrd_dt.c:54
static const uint32_t dt_16_reg_status_bit_latched[1]
Definition naibrd_dt.c:50
static const uint32_t dt_16_reg_status_lohi_trans_latched[1]
Definition naibrd_dt.c:55
static const uint32_t dt_16_reg_status_overcurrent_latched[1]
Definition naibrd_dt.c:51
static const uint32_t dt_16_reg_status_minlo_latched[1]
Definition naibrd_dt.c:53
static const uint32_t dt_16_reg_status_maxhi_latched[1]
Definition naibrd_dt.c:52

◆ dt_16_reg_status_bit_latched

const uint32_t dt_16_reg_status_bit_latched[1] = { NAI_DT_GEN3_16_REG_BIT_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_hilo_trans_latched

const uint32_t dt_16_reg_status_hilo_trans_latched[1] = { NAI_DT_GEN3_16_REG_HI_LO_TRANS_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_lohi_trans_latched

const uint32_t dt_16_reg_status_lohi_trans_latched[1] = { NAI_DT_GEN3_16_REG_LO_HI_TRANS_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_maxhi_latched

const uint32_t dt_16_reg_status_maxhi_latched[1] = { NAI_DT_GEN3_16_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_mid_range_fault_latched

const uint32_t dt_16_reg_status_mid_range_fault_latched[1] = { NAI_DT_GEN3_16_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_minlo_latched

const uint32_t dt_16_reg_status_minlo_latched[1] = { NAI_DT_GEN3_16_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_status_overcurrent_latched

const uint32_t dt_16_reg_status_overcurrent_latched[1] = { NAI_DT_GEN3_16_REG_OVERCURRENT_LATCHED_STATUS_ADD }
static

◆ dt_16_reg_thresh

const uint32_t* const dt_16_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_16_reg_thresh_lower[16]
Definition naibrd_dt.c:47
static const uint32_t dt_16_reg_thresh_upper[16]
Definition naibrd_dt.c:46
static const uint32_t dt_16_reg_thresh_maxhi[16]
Definition naibrd_dt.c:45
static const uint32_t dt_16_reg_thresh_minlo[16]
Definition naibrd_dt.c:48

◆ dt_16_reg_thresh_lower

const uint32_t dt_16_reg_thresh_lower[16] = NAI_DT_GEN3_16_REG_LOWER_THRESHOLD_ADD
static

◆ dt_16_reg_thresh_maxhi

const uint32_t dt_16_reg_thresh_maxhi[16] = NAI_DT_GEN3_16_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_16_reg_thresh_minlo

const uint32_t dt_16_reg_thresh_minlo[16] = NAI_DT_GEN3_16_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_16_reg_thresh_upper

const uint32_t dt_16_reg_thresh_upper[16] = NAI_DT_GEN3_16_REG_UPPER_THRESHOLD_ADD
static

◆ dt_16_reg_vcc_reading

const uint32_t dt_16_reg_vcc_reading[4] = NAI_DT_GEN3_16_REG_VCC_VALUE_ADD
static

◆ dt_16_reg_voltage_reading

const uint32_t dt_16_reg_voltage_reading[16] = NAI_DT_GEN3_16_REG_VOLTAGERDG_ADD
static

◆ dt_16_reg_write_output

const uint32_t dt_16_reg_write_output[1] = { NAI_DT_GEN3_16_REG_WRITE_OUTPUT_ADD }
static

◆ dt_24_interrupt_num

const int32_t dt_24_interrupt_num[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_OVERCURRENT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_OVERCURRENT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MID_RANGE_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_MID_RANGE_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_LO_HI_TRANS_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_LO_HI_TRANS_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_HI_LO_TRANS_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_HI_LO_TRANS_INT_VECTOR_STEERING_INTNUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_INT_VECTOR_STEERING_INTNUM,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_INT_VECTOR_STEERING_INTNUM
}

◆ dt_24_reg_allchan

const uint32_t* const dt_24_reg_allchan[NAIBRD_DT_ALL_CHAN_COUNT]
static
Initial value:
=
{
}
static const uint32_t dt_24_reg_write_output[1]
Definition naibrd_dt.c:341
static const uint32_t dt_24_reg_read_io[1]
Definition naibrd_dt.c:342

◆ dt_24_reg_current_reading

const uint32_t dt_24_reg_current_reading[24] = NAI_DT_GEN5_REG_CURRENTRDG_ADD
static

◆ dt_24_reg_debounce_time

const uint32_t dt_24_reg_debounce_time[24] = NAI_DT_GEN5_REG_DEBOUNCE_TIME_ADD
static

◆ dt_24_reg_int_enable

const uint32_t dt_24_reg_int_enable[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DT_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MID_RANGE_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_MID_RANGE_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_INT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_STATUS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_STATUS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_STATUS_INT_ENABLE_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_STATUS_INT_ENABLE_ADD
}

◆ dt_24_reg_int_type

const uint32_t dt_24_reg_int_type[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MID_RANGE_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_MID_RANGE_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_EDGE_LEVEL_INT_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_EDGE_LEVEL_INT_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_EDGE_LEVEL_INT_ADD
}

◆ dt_24_reg_io_format

const uint32_t dt_24_reg_io_format[2] = NAI_DT_GEN5_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_24_reg_pull_up_down_cfg

const uint32_t dt_24_reg_pull_up_down_cfg[1] = NAI_DT_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_24_reg_read_io

const uint32_t dt_24_reg_read_io[1] = NAI_DT_GEN5_REG_READ_IO_ADD
static

◆ dt_24_reg_reset_overcurrent

const uint32_t dt_24_reg_reset_overcurrent[1] = NAI_DT_GEN5_REG_RESET_OVERCURRENT_ADD
static

◆ dt_24_reg_src_sink_current

const uint32_t dt_24_reg_src_sink_current[4] = NAI_DT_GEN5_REG_SOURCE_SINK_CURRENT_ADD
static

◆ dt_24_reg_status

const uint32_t dt_24_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DT_GEN5_REG_BIT_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_BIT_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_OVERCURRENT_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_MAX_HI_THRESHOLD_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_MID_RANGE_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_MID_RANGE_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_LO_HI_TRANS_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_HI_LO_TRANS_REALTIME_STATUS_ADD,
NAI_GEN5_SUMMARY_STATUS_LATCHED_ADD,
NAI_GEN5_SUMMARY_STATUS_REAL_TIME_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_REALTIME_STATUS_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_LATCHED_STATUS_ADD,
NAI_DT_GEN5_REG_WATCHDOG_TIMER_INTER_FPGA_FAULT_REALTIME_STATUS_ADD
}

◆ dt_24_reg_thresh

const uint32_t* const dt_24_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_24_reg_thresh_maxhi[24]
Definition naibrd_dt.c:349
static const uint32_t dt_24_reg_thresh_minlo[24]
Definition naibrd_dt.c:352
static const uint32_t dt_24_reg_thresh_upper[24]
Definition naibrd_dt.c:350
static const uint32_t dt_24_reg_thresh_lower[24]
Definition naibrd_dt.c:351

◆ dt_24_reg_thresh_lower

const uint32_t dt_24_reg_thresh_lower[24] = NAI_DT_GEN5_REG_LOWER_THRESHOLD_ADD
static

◆ dt_24_reg_thresh_maxhi

const uint32_t dt_24_reg_thresh_maxhi[24] = NAI_DT_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_24_reg_thresh_minlo

const uint32_t dt_24_reg_thresh_minlo[24] = NAI_DT_GEN5_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_24_reg_thresh_upper

const uint32_t dt_24_reg_thresh_upper[24] = NAI_DT_GEN5_REG_UPPER_THRESHOLD_ADD
static

◆ dt_24_reg_vcc_reading

const uint32_t dt_24_reg_vcc_reading[4] = NAI_DT_GEN5_REG_VCC_VALUE_ADD
static

◆ dt_24_reg_voltage_reading

const uint32_t dt_24_reg_voltage_reading[24] = NAI_DT_GEN5_REG_VOLTAGERDG_ADD
static

◆ dt_24_reg_write_output

const uint32_t dt_24_reg_write_output[1] = NAI_DT_GEN5_REG_WRITE_OUTPUT_ADD
static

◆ dt_48_reg_current_reading

const uint32_t dt_48_reg_current_reading[48] = NAI_DT_GEN3_48_REG_CURRENTRDG_ADD
static

◆ dt_48_reg_current_share_cfg

const uint32_t dt_48_reg_current_share_cfg[3] = NAI_DT_GEN3_48_REG_CURRENT_SHARE_CONFIG_ADD
static

◆ dt_48_reg_debounce_time

const uint32_t dt_48_reg_debounce_time[48] = NAI_DT_GEN3_48_REG_DEBOUNCE_TIME_ADD
static

◆ dt_48_reg_io_format

const uint32_t dt_48_reg_io_format[6] = NAI_DT_GEN3_48_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_48_reg_pull_up_down_cfg

const uint32_t dt_48_reg_pull_up_down_cfg[1] = NAI_DT_GEN3_48_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_48_reg_read_io

const uint32_t dt_48_reg_read_io[3] = NAI_DT_GEN3_48_REG_READ_IO_ADD
static

◆ dt_48_reg_reset_overcurrent

const uint32_t dt_48_reg_reset_overcurrent[3] = NAI_DT_GEN3_48_REG_RESET_OVERCURRENT_ADD
static

◆ dt_48_reg_src_sink_current

const uint32_t dt_48_reg_src_sink_current[12] = NAI_DT_GEN3_48_REG_SOURCE_SINK_CURRENT_ADD
static

◆ dt_48_reg_status

const uint32_t* const dt_48_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const uint32_t dt_48_reg_status_mid_range_fault_latched[3]
Definition naibrd_dt.c:121
static const uint32_t dt_48_reg_status_lohi_trans_latched[3]
Definition naibrd_dt.c:122
static const uint32_t dt_48_reg_status_minlo_latched[3]
Definition naibrd_dt.c:120
static const uint32_t dt_48_reg_status_bit_latched[3]
Definition naibrd_dt.c:117
static const uint32_t dt_48_reg_status_overcurrent_latched[3]
Definition naibrd_dt.c:118
static const uint32_t dt_48_reg_status_maxhi_latched[3]
Definition naibrd_dt.c:119
static const uint32_t dt_48_reg_status_hilo_trans_latched[3]
Definition naibrd_dt.c:123

◆ dt_48_reg_status_bit_latched

const uint32_t dt_48_reg_status_bit_latched[3] = NAI_DT_GEN3_48_REG_BIT_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_hilo_trans_latched

const uint32_t dt_48_reg_status_hilo_trans_latched[3] = NAI_DT_GEN3_48_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_lohi_trans_latched

const uint32_t dt_48_reg_status_lohi_trans_latched[3] = NAI_DT_GEN3_48_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_maxhi_latched

const uint32_t dt_48_reg_status_maxhi_latched[3] = NAI_DT_GEN3_48_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_mid_range_fault_latched

const uint32_t dt_48_reg_status_mid_range_fault_latched[3] = NAI_DT_GEN3_48_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_minlo_latched

const uint32_t dt_48_reg_status_minlo_latched[3] = NAI_DT_GEN3_48_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_48_reg_status_overcurrent_latched

const uint32_t dt_48_reg_status_overcurrent_latched[3] = NAI_DT_GEN3_48_REG_OVERCURRENT_LATCHED_STATUS_ADD
static

◆ dt_48_reg_thresh

const uint32_t* const dt_48_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_48_reg_thresh_minlo[48]
Definition naibrd_dt.c:115
static const uint32_t dt_48_reg_thresh_maxhi[48]
Definition naibrd_dt.c:112
static const uint32_t dt_48_reg_thresh_upper[48]
Definition naibrd_dt.c:113
static const uint32_t dt_48_reg_thresh_lower[48]
Definition naibrd_dt.c:114

◆ dt_48_reg_thresh_lower

const uint32_t dt_48_reg_thresh_lower[48] = NAI_DT_GEN3_48_REG_LOWER_THRESHOLD_ADD
static

◆ dt_48_reg_thresh_maxhi

const uint32_t dt_48_reg_thresh_maxhi[48] = NAI_DT_GEN3_48_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_48_reg_thresh_minlo

const uint32_t dt_48_reg_thresh_minlo[48] = NAI_DT_GEN3_48_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_48_reg_thresh_upper

const uint32_t dt_48_reg_thresh_upper[48] = NAI_DT_GEN3_48_REG_UPPER_THRESHOLD_ADD
static

◆ dt_48_reg_vcc_reading

const uint32_t dt_48_reg_vcc_reading[12] = NAI_DT_GEN3_48_REG_VCC_VALUE_ADD
static

◆ dt_48_reg_voltage_reading

const uint32_t dt_48_reg_voltage_reading[48] = NAI_DT_GEN3_48_REG_VOLTAGERDG_ADD
static

◆ dt_48_reg_write_output

const uint32_t dt_48_reg_write_output[3] = NAI_DT_GEN3_48_REG_WRITE_OUTPUT_ADD
static

◆ DT_CF1_GEN5_CountDataResetRegAddr

const uint32_t DT_CF1_GEN5_CountDataResetRegAddr[1] = NAI_CF1_GEN5_REG_RESET_TIMER_ADD
static

◆ DT_CF1_GEN5_EnhancedModeSelectAddr

const uint32_t DT_CF1_GEN5_EnhancedModeSelectAddr[12] = NAI_CF1_GEN5_REG_MODE_SELECT_ADD
static

◆ DT_CF1_GEN5_FIFO_CountRegAddr

const uint32_t DT_CF1_GEN5_FIFO_CountRegAddr[12] = NAI_CF1_GEN5_REG_COUNT_ADD
static

◆ DT_CF1_GEN5_FIFO_DataRegAddr

const uint32_t DT_CF1_GEN5_FIFO_DataRegAddr[12] = NAI_CF1_GEN5_REG_FIFO_DATA_ADD
static

◆ DT_CF1_GEN5_FIFO_ResetRegAddr

const uint32_t DT_CF1_GEN5_FIFO_ResetRegAddr[1] = NAI_CF1_GEN5_REG_RESET_FIFO_ADD
static

◆ DT_CF1_GEN5_FIFO_StatusRegAddr

const uint32_t DT_CF1_GEN5_FIFO_StatusRegAddr[12] = NAI_CF1_GEN5_REG_FIFO_STATUS_ADD
static

◆ DT_CF1_GEN5_TimebaseIntervalRegAddr

const uint32_t DT_CF1_GEN5_TimebaseIntervalRegAddr[12] = NAI_CF1_GEN5_REG_TIMEBASE_INTERVAL_ADD
static

◆ dt_cf1_reg_allchan

const uint32_t* const dt_cf1_reg_allchan[NAIBRD_DT_ALL_CHAN_COUNT]
static
Initial value:
=
{
NULL,
}
static const uint32_t dt_cf1_reg_read_io[1]
Definition naibrd_dt.c:599

◆ dt_cf1_reg_debounce_time

const uint32_t dt_cf1_reg_debounce_time[12] = NAI_CF1_GEN5_REG_DEBOUNCE_TIME_ADD
static

◆ dt_cf1_reg_pull_up_down_cfg

const uint32_t dt_cf1_reg_pull_up_down_cfg[1] = NAI_CF1_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_cf1_reg_read_io

const uint32_t dt_cf1_reg_read_io[1] = NAI_CF1_DT_GEN5_REG_READ_IO_ADD
static

◆ dt_cf1_reg_src_sink_current

const uint32_t dt_cf1_reg_src_sink_current[2] = NAI_CF1_GEN5_REG_SOURCE_SINK_CURRENT_ADD
static

◆ dt_cf1_reg_thresh_lower

const uint32_t dt_cf1_reg_thresh_lower[12] = NAI_CF1_GEN5_REG_LOWER_THRESHOLD_ADD
static

◆ dt_cf1_reg_thresh_maxhi

const uint32_t dt_cf1_reg_thresh_maxhi[12] = NAI_CF1_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_cf1_reg_thresh_minlo

const uint32_t dt_cf1_reg_thresh_minlo[12] = NAI_CF1_GEN5_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_cf1_reg_thresh_upper

const uint32_t dt_cf1_reg_thresh_upper[12] = NAI_CF1_GEN5_REG_UPPER_THRESHOLD_ADD
static

◆ dt_cf1_reg_threshold

const uint32_t* const dt_cf1_reg_threshold[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_cf1_reg_thresh_lower[12]
Definition naibrd_dt.c:608
static const uint32_t dt_cf1_reg_thresh_upper[12]
Definition naibrd_dt.c:607
static const uint32_t dt_cf1_reg_thresh_minlo[12]
Definition naibrd_dt.c:609
static const uint32_t dt_cf1_reg_thresh_maxhi[12]
Definition naibrd_dt.c:606

◆ dt_cf1_reg_vcc_reading

const uint32_t dt_cf1_reg_vcc_reading[1] = NAI_CF1_GEN5_REG_VCC_VALUE_ADD
static

◆ dt_cf1_reg_voltage_reading

const uint32_t dt_cf1_reg_voltage_reading[12] = NAI_CF1_GEN5_REG_VOLTAGERDG_ADD
static

◆ DT_GEN5_CountDataRegAddr

const uint32_t DT_GEN5_CountDataRegAddr[24] = NAI_DT_GEN5_REG_COUNT_DATA_ADD
static

◆ DT_GEN5_CountDataResetRegAddr

const uint32_t DT_GEN5_CountDataResetRegAddr[1] = { NAI_DT_GEN5_REG_RESET_TIMER_ADD }
static

◆ DT_GEN5_EnhancedModeMappedVal

const uint32_t DT_GEN5_EnhancedModeMappedVal[] = NAI_DT_GEN5_MODE_MAPPED_VALUE
static

◆ DT_GEN5_EnhancedModeSelectAddr

const uint32_t DT_GEN5_EnhancedModeSelectAddr[24] = NAI_DT_GEN5_REG_MODE_SELECT_ADD
static

◆ DT_GEN5_FIFO_CountRegAddr

const uint32_t DT_GEN5_FIFO_CountRegAddr[24] = NAI_DT_GEN5_REG_COUNT_ADD
static

◆ DT_GEN5_FIFO_DataRegAddr

const uint32_t DT_GEN5_FIFO_DataRegAddr[24] = NAI_DT_GEN5_REG_FIFO_DATA_ADD
static

◆ DT_GEN5_FIFO_ResetRegAddr

const uint32_t DT_GEN5_FIFO_ResetRegAddr[1] = { NAI_DT_GEN5_REG_RESET_FIFO_ADD }
static

◆ DT_GEN5_FIFO_StatusRegAddr

const uint32_t DT_GEN5_FIFO_StatusRegAddr[24] = NAI_DT_GEN5_REG_FIFO_STATUS_ADD
static

◆ DT_GEN5_PWM_BurstCountRegAddr

const uint32_t DT_GEN5_PWM_BurstCountRegAddr[24] = NAI_DT_GEN5_REG_PWM_BURST_COUNT_ADD
static

◆ DT_GEN5_PWM_PeriodRegAddr

const uint32_t DT_GEN5_PWM_PeriodRegAddr[24] = NAI_DT_GEN5_REG_PWM_PERIOD_ADD
static

◆ DT_GEN5_PWM_PulseWidthRegAddr

const uint32_t DT_GEN5_PWM_PulseWidthRegAddr[24] = NAI_DT_GEN5_REG_PWM_PULSEWIDTH_ADD
static

◆ DT_GEN5_PWMPolarityRegAddr

const uint32_t DT_GEN5_PWMPolarityRegAddr[1] = { NAI_DT_GEN5_PWM_POLARITY_SELECT_ADD }
static

◆ DT_GEN5_TimebaseIntervalRegAddr

const uint32_t DT_GEN5_TimebaseIntervalRegAddr[24] = NAI_DT_GEN5_REG_TIMEBASE_INTERVAL_ADD
static

◆ dt_inbrd_gen5_PWM_polarity

const uint32_t dt_inbrd_gen5_PWM_polarity[1] = NAI_DTI_GEN5_REG_PWM_POLARITY_ADD
static

◆ dt_inbrd_gen5_reg_current_reading

const uint32_t dt_inbrd_gen5_reg_current_reading[24] = NAI_DTI_GEN5_REG_CURRENTRDG_ADD
static

◆ dt_inbrd_gen5_reg_debounce_time

const uint32_t dt_inbrd_gen5_reg_debounce_time[24] = NAI_DTI_GEN5_REG_DEBOUNCE_TIME_ADD
static

◆ dt_inbrd_gen5_reg_enh_enable

const uint32_t dt_inbrd_gen5_reg_enh_enable[1] = NAI_DTI_GEN5_REG_ENHANCED_ENABLE_ADD
static

◆ dt_inbrd_gen5_reg_Enh_Period

const uint32_t dt_inbrd_gen5_reg_Enh_Period[24] = NAI_DTI_GEN5_ENH_PERIOD_ADD
static

◆ dt_inbrd_gen5_reg_fifo_count

const uint32_t dt_inbrd_gen5_reg_fifo_count[24] = NAI_DTI_GEN5_FIFO_COUNT_ADD
static

◆ dt_inbrd_gen5_reg_fifo_read

const uint32_t dt_inbrd_gen5_reg_fifo_read[24] = NAI_DTI_GEN5_READ_FIFO_ADD
static

◆ dt_inbrd_gen5_reg_fifo_status

const uint32_t dt_inbrd_gen5_reg_fifo_status[24] = NAI_DTI_GEN5_FIFO_STATUS_ADD
static

◆ dt_inbrd_gen5_reg_io_format

const uint32_t dt_inbrd_gen5_reg_io_format[2] = NAI_DTI_GEN5_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_inbrd_gen5_reg_mode

const uint32_t dt_inbrd_gen5_reg_mode[24] = NAI_DTI_GEN5_REG_MODE_ADD
static

◆ dt_inbrd_gen5_reg_pattern_burst

const uint32_t dt_inbrd_gen5_reg_pattern_burst[1] = NAI_DTI_GEN5_REG_PATTERN_BURST_ADD
static

◆ dt_inbrd_gen5_reg_pattern_ctrl

const uint32_t dt_inbrd_gen5_reg_pattern_ctrl[1] = NAI_DTI_GEN5_REG_PATTERN_CTRL_ADD
static

◆ dt_inbrd_gen5_reg_pattern_end_addr

const uint32_t dt_inbrd_gen5_reg_pattern_end_addr[1] = NAI_DTI_GEN5_REG_PATTERN_END_ADD
static

◆ dt_inbrd_gen5_reg_pattern_period

const uint32_t dt_inbrd_gen5_reg_pattern_period[1] = NAI_DTI_GEN5_REG_PATTERN_PERIOD_ADD
static

◆ dt_inbrd_gen5_reg_pattern_start_addr

const uint32_t dt_inbrd_gen5_reg_pattern_start_addr[1] = NAI_DTI_GEN5_REG_PATTERN_START_ADD
static

◆ dt_inbrd_gen5_reg_pull_up_down_cfg

const uint32_t dt_inbrd_gen5_reg_pull_up_down_cfg[1] = NAI_DTI_GEN5_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_inbrd_gen5_reg_PWM_burst_count

const uint32_t dt_inbrd_gen5_reg_PWM_burst_count[24] = NAI_DTI_GEN5_PWM_BURST_COUNT_ADD
static

◆ dt_inbrd_gen5_reg_PWM_pulse_width

const uint32_t dt_inbrd_gen5_reg_PWM_pulse_width[24] = NAI_DTI_GEN5_PWM_PULSE_WIDTH_ADD
static

◆ dt_inbrd_gen5_reg_read_io

const uint32_t dt_inbrd_gen5_reg_read_io[1] = NAI_DTI_GEN5_REG_READ_IO_ADD
static

◆ dt_inbrd_gen5_reg_reset_fifo_cfg

const uint32_t dt_inbrd_gen5_reg_reset_fifo_cfg[1] = NAI_DTI_GEN5_REG_RESET_FIFO_ADD
static

◆ dt_inbrd_gen5_reg_reset_ovcurrent_cfg

const uint32_t dt_inbrd_gen5_reg_reset_ovcurrent_cfg[1] = NAI_DTI_GEN5_REG_RESET_OVERCURRENT_ADD
static

◆ dt_inbrd_gen5_reg_reset_timer_cfg

const uint32_t dt_inbrd_gen5_reg_reset_timer_cfg[1] = NAI_DTI_GEN5_REG_RESET_FIFO_TIMER_ADD
static

◆ dt_inbrd_gen5_reg_src_sink_current

const uint32_t dt_inbrd_gen5_reg_src_sink_current[4] = NAI_DTI_GEN5_REG_SOURCE_SINK_CURRENT_ADD
static

◆ dt_inbrd_gen5_reg_status

const uint32_t dt_inbrd_gen5_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DTI_GEN5_REG_BIT_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_BIT_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_SUMMARY_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_SUMMARY_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_REALTIME_STATUS_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_LATCHED_STATUS_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_REALTIME_STATUS_ADD,
}

◆ dt_inbrd_gen5_reg_threshold

const uint32_t* const dt_inbrd_gen5_reg_threshold[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_inbrd_gen5_reg_threshold_lower[24]
Definition naibrd_dt.c:503
static const uint32_t dt_inbrd_gen5_reg_threshold_upper[24]
Definition naibrd_dt.c:502
static const uint32_t dt_inbrd_gen5_reg_threshold_maxhi[24]
Definition naibrd_dt.c:501
static const uint32_t dt_inbrd_gen5_reg_threshold_minlo[24]
Definition naibrd_dt.c:504

◆ dt_inbrd_gen5_reg_threshold_lower

const uint32_t dt_inbrd_gen5_reg_threshold_lower[24] = NAI_DTI_GEN5_REG_LOWER_THRESHOLD_ADD
static

◆ dt_inbrd_gen5_reg_threshold_maxhi

const uint32_t dt_inbrd_gen5_reg_threshold_maxhi[24] = NAI_DTI_GEN5_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_inbrd_gen5_reg_threshold_minlo

const uint32_t dt_inbrd_gen5_reg_threshold_minlo[24] = NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_inbrd_gen5_reg_threshold_upper

const uint32_t dt_inbrd_gen5_reg_threshold_upper[24] = NAI_DTI_GEN5_REG_UPPER_THRESHOLD_ADD
static

◆ dt_inbrd_gen5_reg_vcc_reading

const uint32_t dt_inbrd_gen5_reg_vcc_reading[4] = NAI_DTI_GEN5_REG_VCC_VALUE_ADD
static

◆ dt_inbrd_gen5_reg_voltage_reading

const uint32_t dt_inbrd_gen5_reg_voltage_reading[24] = NAI_DTI_GEN5_REG_VOLTAGERDG_ADD
static

◆ dt_inbrd_gen5_reg_write_output

const uint32_t dt_inbrd_gen5_reg_write_output[1] = NAI_DTI_GEN5_REG_WRITE_OUTPUT_ADD
static

◆ dt_inbrd_mod_non_status_offset

const uint32_t dt_inbrd_mod_non_status_offset[4] = NAI_DTI_GEN5_REG_MOD_NON_STATUS_OFFSET
static

◆ dt_inbrd_mod_status_offset

const uint32_t dt_inbrd_mod_status_offset[4] = NAI_DTI_GEN5_REG_MOD_STATUS_OFFSET
static

◆ dt_inbrd_reg_allchan

const uint32_t* const dt_inbrd_reg_allchan[NAIBRD_DT_ALL_CHAN_COUNT]
static
Initial value:
=
{
}
static const uint32_t dt_inbrd_gen5_reg_write_output[1]
Definition naibrd_dt.c:480
static const uint32_t dt_inbrd_gen5_reg_read_io[1]
Definition naibrd_dt.c:481

◆ dt_inbrd_reg_int_enable

const uint32_t dt_inbrd_reg_int_enable[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DTI_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_SUMMARY_INT_ENABLE_ADD,
NAI_DTI_GEN5_REG_SUMMARY_INT_ENABLE_ADD
}

◆ dt_inbrd_reg_int_type

const uint32_t dt_inbrd_reg_int_type[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NAI_DTI_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_OVERCURRENT_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MAX_HI_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MIN_LOW_THRESHOLD_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_MID_RANGE_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_LO_HI_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_HI_LO_TRANS_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_UWDT_FPGA_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_SUMMARY_EDGE_LEVEL_INT_ADD,
NAI_DTI_GEN5_REG_SUMMARY_EDGE_LEVEL_INT_ADD
}

◆ dt_ka_reg_debounce_time

uint32_t dt_ka_reg_debounce_time[28] = NAI_DT_GEN3_KA_REG_DEBOUNCE_TIME_ADD
static

◆ dt_ka_reg_io_format

const uint32_t dt_ka_reg_io_format[1] = NAI_DT_GEN3_KA_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_ka_reg_pwm_enable

const uint32_t dt_ka_reg_pwm_enable[1] = NAI_DT_GEN3_KA_REG_PWM_ENABLE_ADD
static

◆ dt_ka_reg_pwm_mode

const uint32_t dt_ka_reg_pwm_mode[1] = NAI_DT_GEN3_KA_REG_PWM_MODE_ADD
static

◆ dt_ka_reg_pwm_period

const uint32_t dt_ka_reg_pwm_period[16] = NAI_DT_GEN3_KA_REG_PWM_PERIOD_ADD
static

◆ dt_ka_reg_pwm_polarity

const uint32_t dt_ka_reg_pwm_polarity[16] = NAI_DT_GEN3_KA_REG_PWM_POLARITY_ADD
static

◆ dt_ka_reg_pwm_width

const uint32_t dt_ka_reg_pwm_width[16] = NAI_DT_GEN3_KA_REG_PWM_WIDTH_ADD
static

◆ dt_ka_reg_read_io

const uint32_t dt_ka_reg_read_io[2] = NAI_DT_GEN3_KA_REG_READ_IO_ADD
static

◆ dt_ka_reg_reset_overcurrent

const uint32_t dt_ka_reg_reset_overcurrent[1] = NAI_DT_GEN3_KA_REG_RESET_OVERCURRENT_ADD
static

◆ dt_ka_reg_status

const uint32_t* const dt_ka_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const uint32_t dt_ka_reg_status_minlo_latched[2]
Definition naibrd_dt.c:178
static const uint32_t dt_ka_reg_status_hilo_trans_latched[2]
Definition naibrd_dt.c:181
static const uint32_t dt_ka_reg_status_bit_latched[2]
Definition naibrd_dt.c:175
static const uint32_t dt_ka_reg_status_overcurrent_latched[1]
Definition naibrd_dt.c:176
static const uint32_t dt_ka_reg_status_mid_range_fault_latched[2]
Definition naibrd_dt.c:179
static const uint32_t dt_ka_reg_status_maxhi_latched[2]
Definition naibrd_dt.c:177
static const uint32_t dt_ka_reg_status_lohi_trans_latched[2]
Definition naibrd_dt.c:180

◆ dt_ka_reg_status_bit_latched

const uint32_t dt_ka_reg_status_bit_latched[2] = NAI_DT_GEN3_KA_REG_BIT_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_hilo_trans_latched

const uint32_t dt_ka_reg_status_hilo_trans_latched[2] = NAI_DT_GEN3_KA_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_lohi_trans_latched

const uint32_t dt_ka_reg_status_lohi_trans_latched[2] = NAI_DT_GEN3_KA_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_maxhi_latched

const uint32_t dt_ka_reg_status_maxhi_latched[2] = NAI_DT_GEN3_KA_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_mid_range_fault_latched

const uint32_t dt_ka_reg_status_mid_range_fault_latched[2] = NAI_DT_GEN3_KA_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_minlo_latched

const uint32_t dt_ka_reg_status_minlo_latched[2] = NAI_DT_GEN3_KA_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_status_overcurrent_latched

const uint32_t dt_ka_reg_status_overcurrent_latched[1] = NAI_DT_GEN3_KA_REG_OVERCURRENT_LATCHED_STATUS_ADD
static

◆ dt_ka_reg_thresh

const uint32_t* const dt_ka_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_ka_reg_thresh_upper[28]
Definition naibrd_dt.c:171
static const uint32_t dt_ka_reg_thresh_lower[28]
Definition naibrd_dt.c:172
static const uint32_t dt_ka_reg_thresh_maxhi[28]
Definition naibrd_dt.c:170
static const uint32_t dt_ka_reg_thresh_minlo[28]
Definition naibrd_dt.c:173

◆ dt_ka_reg_thresh_lower

const uint32_t dt_ka_reg_thresh_lower[28] = NAI_DT_GEN3_KA_REG_LOWER_THRESHOLD_ADD
static

◆ dt_ka_reg_thresh_maxhi

const uint32_t dt_ka_reg_thresh_maxhi[28] = NAI_DT_GEN3_KA_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_ka_reg_thresh_minlo

const uint32_t dt_ka_reg_thresh_minlo[28] = NAI_DT_GEN3_KA_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_ka_reg_thresh_upper

const uint32_t dt_ka_reg_thresh_upper[28] = NAI_DT_GEN3_KA_REG_UPPER_THRESHOLD_ADD
static

◆ dt_ka_reg_write_output

const uint32_t dt_ka_reg_write_output[1] = NAI_DT_GEN3_KA_REG_WRITE_OUTPUT_ADD
static

◆ dt_kb_reg_io_format

const uint32_t dt_kb_reg_io_format[2] = NAI_DT_GEN3_KB_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_kb_reg_pullupdown_cfg

const uint32_t dt_kb_reg_pullupdown_cfg[2] = NAI_DT_GEN3_KB_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_kb_reg_read_io

const uint32_t dt_kb_reg_read_io[2] = NAI_DT_GEN3_KB_REG_READ_IO_ADD
static

◆ dt_kb_reg_reset_overcurrent

const uint32_t dt_kb_reg_reset_overcurrent[1] = NAI_DT_GEN3_KB_REG_RESET_OVERCURRENT_ADD
static

◆ dt_kb_reg_status

const uint32_t* const dt_kb_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const uint32_t dt_kb_reg_status_bit_latched[2]
Definition naibrd_dt.c:294
static const uint32_t dt_kb_reg_status_overcurrent_latched[2]
Definition naibrd_dt.c:295
static const uint32_t dt_kb_reg_status_minlo_latched[2]
Definition naibrd_dt.c:298
static const uint32_t dt_kb_reg_status_hilo_trans_latched[2]
Definition naibrd_dt.c:300
static const uint32_t dt_kb_reg_status_lohi_trans_latched[2]
Definition naibrd_dt.c:299
static const uint32_t dt_kb_reg_status_midrange_latched[2]
Definition naibrd_dt.c:297
static const uint32_t dt_kb_reg_status_maxhi_latched[2]
Definition naibrd_dt.c:296

◆ dt_kb_reg_status_bit_latched

const uint32_t dt_kb_reg_status_bit_latched[2] = NAI_DT_GEN3_KB_REG_BIT_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_hilo_trans_latched

const uint32_t dt_kb_reg_status_hilo_trans_latched[2] = NAI_DT_GEN3_KB_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_lohi_trans_latched

const uint32_t dt_kb_reg_status_lohi_trans_latched[2] = NAI_DT_GEN3_KB_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_maxhi_latched

const uint32_t dt_kb_reg_status_maxhi_latched[2] = NAI_DT_GEN3_KB_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_midrange_latched

const uint32_t dt_kb_reg_status_midrange_latched[2] = NAI_DT_GEN3_KB_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_minlo_latched

const uint32_t dt_kb_reg_status_minlo_latched[2] = NAI_DT_GEN3_KB_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_status_overcurrent_latched

const uint32_t dt_kb_reg_status_overcurrent_latched[2] = NAI_DT_GEN3_KB_REG_OVERCURRENT_LATCHED_STATUS_ADD
static

◆ dt_kb_reg_thresh

const uint32_t* const dt_kb_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_kb_reg_thresh_lower[14]
Definition naibrd_dt.c:291
static const uint32_t dt_kb_reg_thresh_upper[14]
Definition naibrd_dt.c:290
static const uint32_t dt_kb_reg_thresh_minlo[14]
Definition naibrd_dt.c:292
static const uint32_t dt_kb_reg_thresh_maxhi[14]
Definition naibrd_dt.c:289

◆ dt_kb_reg_thresh_lower

const uint32_t dt_kb_reg_thresh_lower[14] = NAI_DT_GEN3_KB_REG_LOWER_THRESHOLD_ADD
static

◆ dt_kb_reg_thresh_maxhi

const uint32_t dt_kb_reg_thresh_maxhi[14] = NAI_DT_GEN3_KB_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_kb_reg_thresh_minlo

const uint32_t dt_kb_reg_thresh_minlo[14] = NAI_DT_GEN3_KB_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_kb_reg_thresh_upper

const uint32_t dt_kb_reg_thresh_upper[14] = NAI_DT_GEN3_KB_REG_UPPER_THRESHOLD_ADD
static

◆ dt_kb_reg_voltage_reading

const uint32_t dt_kb_reg_voltage_reading[14] = NAI_DT_GEN3_KB_REG_VOLTAGERDG_ADD
static

◆ dt_kb_reg_write_output

const uint32_t dt_kb_reg_write_output[2] = NAI_DT_GEN3_KB_REG_WRITE_OUTPUT_ADD
static

◆ dt_pd_reg_debounce_time

const uint32_t dt_pd_reg_debounce_time[18] = NAI_DT_GEN3_PD_REG_DEBOUNCE_TIME_ADD
static

◆ dt_pd_reg_gndswitch_cfg

const uint32_t dt_pd_reg_gndswitch_cfg[2] = NAI_DT_GEN3_PD_REG_GND_SW_CONFIG
static

◆ dt_pd_reg_io_format

const uint32_t dt_pd_reg_io_format[4] = NAI_DT_GEN3_PD_REG_INPUT_OUTPUT_FORMAT_ADD
static

◆ dt_pd_reg_pullupdown_cfg

const uint32_t dt_pd_reg_pullupdown_cfg[4] = NAI_DT_GEN3_PD_REG_PULL_UP_DOWN_CONFIG_ADD
static

◆ dt_pd_reg_read_io

const uint32_t dt_pd_reg_read_io[2] = NAI_DT_GEN3_PD_REG_READ_IO_ADD
static

◆ dt_pd_reg_reset_overcurrent

const uint32_t dt_pd_reg_reset_overcurrent[1] = NAI_DT_GEN3_PD_REG_RESET_OVERCURRENT_ADD
static

◆ dt_pd_reg_status

const uint32_t* const dt_pd_reg_status[NAIBRD_DT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const uint32_t dt_pd_reg_status_overcurrent_latched[2]
Definition naibrd_dt.c:237
static const uint32_t dt_pd_reg_status_minlo_latched[2]
Definition naibrd_dt.c:240
static const uint32_t dt_pd_reg_status_maxhi_latched[2]
Definition naibrd_dt.c:238
static const uint32_t dt_pd_reg_status_midrange_latched[2]
Definition naibrd_dt.c:239
static const uint32_t dt_pd_reg_status_bit_latched[2]
Definition naibrd_dt.c:236
static const uint32_t dt_pd_reg_status_hilo_trans_latched[2]
Definition naibrd_dt.c:242
static const uint32_t dt_pd_reg_status_lohi_trans_latched[2]
Definition naibrd_dt.c:241

◆ dt_pd_reg_status_bit_latched

const uint32_t dt_pd_reg_status_bit_latched[2] = NAI_DT_GEN3_PD_REG_BIT_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_hilo_trans_latched

const uint32_t dt_pd_reg_status_hilo_trans_latched[2] = NAI_DT_GEN3_PD_REG_HI_LO_TRANS_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_lohi_trans_latched

const uint32_t dt_pd_reg_status_lohi_trans_latched[2] = NAI_DT_GEN3_PD_REG_LO_HI_TRANS_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_maxhi_latched

const uint32_t dt_pd_reg_status_maxhi_latched[2] = NAI_DT_GEN3_PD_REG_MAX_HI_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_midrange_latched

const uint32_t dt_pd_reg_status_midrange_latched[2] = NAI_DT_GEN3_PD_REG_MID_RANGE_FAULT_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_minlo_latched

const uint32_t dt_pd_reg_status_minlo_latched[2] = NAI_DT_GEN3_PD_REG_MIN_LOW_THRESHOLD_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_status_overcurrent_latched

const uint32_t dt_pd_reg_status_overcurrent_latched[2] = NAI_DT_GEN3_PD_REG_OVERCURRENT_LATCHED_STATUS_ADD
static

◆ dt_pd_reg_thresh

const uint32_t* const dt_pd_reg_thresh[NAIBRD_DT_THRESH_TYPE_ENUM_COUNT]
static
Initial value:
= {
}
static const uint32_t dt_pd_reg_thresh_upper[18]
Definition naibrd_dt.c:232
static const uint32_t dt_pd_reg_thresh_maxhi[18]
Definition naibrd_dt.c:231
static const uint32_t dt_pd_reg_thresh_lower[18]
Definition naibrd_dt.c:233
static const uint32_t dt_pd_reg_thresh_minlo[18]
Definition naibrd_dt.c:234

◆ dt_pd_reg_thresh_lower

const uint32_t dt_pd_reg_thresh_lower[18] = NAI_DT_GEN3_PD_REG_LOWER_THRESHOLD_ADD
static

◆ dt_pd_reg_thresh_maxhi

const uint32_t dt_pd_reg_thresh_maxhi[18] = NAI_DT_GEN3_PD_REG_MAX_HIGH_THRESHOLD_ADD
static

◆ dt_pd_reg_thresh_minlo

const uint32_t dt_pd_reg_thresh_minlo[18] = NAI_DT_GEN3_PD_REG_MIN_LOW_THRESHOLD_ADD
static

◆ dt_pd_reg_thresh_upper

const uint32_t dt_pd_reg_thresh_upper[18] = NAI_DT_GEN3_PD_REG_UPPER_THRESHOLD_ADD
static

◆ dt_pd_reg_voltage_reading

const uint32_t dt_pd_reg_voltage_reading[18] = NAI_DT_GEN3_PD_REG_VOLTAGERDG_ADD
static

◆ dt_pd_reg_write_output

const uint32_t dt_pd_reg_write_output[2] = NAI_DT_GEN3_PD_REG_WRITE_OUTPUT_ADD
static