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

Functions

static nai_status_t naibrd_LVDT_VerifyChannel (uint32_t modId, int32_t channel)
 
static int32_t GetChannelCount (uint32_t modId)
 
static nai_status_t isLVDTGen5Module (uint32_t modId)
 
static nai_status_t isLVDTGen5TwoChannelModule (uint32_t modid)
 
static nai_status_t isLVDTGen5LL2Module (uint32_t modId)
 
static nai_status_t naibrd_LVDT_VerifyBoolean (bool_t boolValue)
 
static nai_status_t naibrd_LVDT_VerifyChanMappedStatusType (naibrd_lvdt_chan_mapped_status_type_t statusType)
 
static nai_status_t naibrd_LVDT_VerifyChanMappedStatusLatchType (naibrd_lvdt_chan_mapped_status_type_t statusType)
 
static nai_status_t naibrd_LVDT_VerifyRawType (naibrd_lvdt_raw_t type)
 
static nai_status_t naibrd_LVDT_VerifyModeType (naibrd_lvdt_format_t type)
 
static nai_status_t naibrd_LVDT_VerifyBandwidth (uint32_t bandwidth)
 
static nai_status_t naibrd_LVDT_VerifyBWSel (naibrd_lvdt_bandwidth_select_t type)
 
static nai_status_t naibrd_LVDT_VerifyChanRaw (naibrd_lvdt_channel_raw_t type)
 
static nai_status_t naibrd_LVDT_VerifyChanRawWriteable (naibrd_lvdt_channel_raw_t type)
 
static nai_status_t naibrd_LVDT_VerifyFloatingPointAttributesType (naibrd_lvdt_floating_point_attributes_t type)
 
static nai_status_t naibrd_LVDT_VerifyThresholdType (naibrd_lvdt_threshold_t type)
 
static nai_status_t naibrd_LVDT_VerifyThresholdValue (naibrd_lvdt_threshold_t type, float64_t value)
 
static nai_status_t naibrd_LVDT_VerifySignalType (naibrd_lvdt_signal_type_t type)
 
static nai_status_t naibrd_LVDT_VerifyWiredetectType (naibrd_lvdt_detect_t type)
 
static nai_status_t naibrd_LVDT_VerifySignalIversionType (naibrd_lvdt_signal_inversion_type_t type)
 
static nai_status_t naibrd_LVDT_VerifySignalInversionRespType (naibrd_lvdt_signal_inversion_resp_value_type_t type)
 
static nai_status_t naibrd_LVDT_VerifyEventMappedStatusType (naibrd_lvdt_event_mapped_status_type_t statusType)
 
static nai_status_t naibrd_LVDT_VerifyEventMappedStatusLatchType (naibrd_lvdt_event_mapped_status_type_t statusType)
 
static nai_status_t naibrd_LVDT_VerifyEventMappedStatusCategoryType (naibrd_lvdt_event_mapped_category_type_t type)
 
static nai_status_t naibrd_LVDT_VerifyTwoWireType (naibrd_lvdt_2_wire_t type)
 
static nai_status_t naibrd_LVDT_VerifyFIFOSampleRateValue (float64_t value)
 
static nai_status_t naibrd_LVDT_VerifyFIFOSampleRate (uint32_t sampleRate)
 
static nai_status_t naibrd_LVDT_VerifyFIFODataType (uint32_t dataType)
 
static nai_status_t naibrd_LVDT_VerifyFIFOTrigMode (uint32_t trigMode)
 
static nai_status_t naibrd_LVDT_VerifyInterruptTriggerType (naibrd_int_trigger_type_t triggerType)
 
static nai_status_t naibrd_LVDT_VerifyPosition (float64_t testPosition)
 
static nai_status_t naibrd_LVDT_VerifyStatusAccessType (nai_status_access_type_t accessType)
 
static nai_status_t naibrd_LVDT_VerifyInterruptSteeringType (naibrd_int_steering_t steering)
 
static nai_status_t naibrd_LVDT_VerifyTestEnableType (naibrd_lvdt_test_enable_t type)
 
static nai_status_t naibrd_LVDT_VerifyLatchType (uint32_t latch)
 
static nai_status_t naibrd_LVDT_GetEventMappedInterruptShift (naibrd_lvdt_event_mapped_status_type_t type, int32_t *p_outShiftCount)
 
NAIBRDFUNC int32_t NAIAPI naibrd_LVDT_GetChannelCount (uint32_t modId)
 Returns the number of channels for the specified LVDT Module ID.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outposition)
 Retrieves the position from the specified channel. The position value is scaled between -100 to +100.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTwoWirePosition (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *p_outposition)
 Retrieves the position in 2 wire A or B side of the specified channel. The position value is scaled between -100 to +100.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetVelocity (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outvelocity)
 Retrieves the velocity from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTwoWireVelocity (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *p_outvelocity)
 Retrieves the velocity in 2 wire A or B side of the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFrequency (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outfrequency)
 Retrieves the reference source frequency in Hertz from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetSignalVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outsigVolt)
 Retrieves the signal voltage (VLL) in volts from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetRefVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outrefVolt)
 Retrieves the reference voltage in volts from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, nai_status_bit_t *p_outstatusBit)
 Retrieves the LVDT Status specified by the status type of a specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType)
 Clear the LVDT Status specified by the status type of a specified channel. note If any realtime status type is provided, the function will return NAI_ERROR_INVALID_VALUE since realtime status bits are not cleared by the user.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetLatch (int32_t cardIndex, int32_t module, int32_t channel, uint32_t latch)
 Sets the Latch Control register to Latch the Position Data for the specified channel. The Latch Control register allows for simultaneously measurement. After latching the channel, the position data is latched until it is released by reading the channel's Position Data register or setting the Latch Control register to 0.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetLatch (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outlatch)
 Retrieves the state of the Latch Control bit of the Latch Control Register for the specified channel. The Latch Control register allows simultaneous input measurements. After latching the channel, the position data is latched until it is released by reading the channel's Position Data register or setting the Latch Control register to 0.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetSignalMagnitude (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_type_t type, float64_t *p_outsignal)
 Retrieves the signal Root-Mean-Square(RMS) value of the selected LVDT signal. The available selected LVDT signals are Va, Vb, and Va + Vb. This function works with LVDT modules that support hardware floating point operation only.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetSignalInversion (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_inversion_type_t sigType, naibrd_lvdt_signal_inversion_resp_value_type_t sigInvRespType)
 Sets the invert signal selection. The signal inversion control is bit mapped to a register and is defined below: Definition: D0: Inverted Va = 1, Non-inverted Va = 0. D1: Inverted Vb = 1, Non-inverted Vb = 0. D2: Inverted Ref = 1, Non-inverted Ref = 0. D3: Vb-Va = 1, Va-Vb = 0. This function works with LVDT modules that support hardware floating point operation only.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetSignalInversion (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_signal_inversion_type_t sigType, naibrd_lvdt_signal_inversion_resp_value_type_t *p_outsigInvRespType)
 Retrieves the invert signal selection. The signal inversion control is bit mapped to a register and is defined below: Definition: D0: Inverted Va = 1, Non-inverted Va = 0. D1: Inverted Vb = 1, Non-inverted Vb = 0. D2: Inverted Ref = 1, Non-inverted Ref = 0. D3: Vb-Va = 1, Va-Vb = 0. This function works with LVDT modules that support hardware floating point operation only.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_format_t mode)
 Sets the LVDT Configuration Mode (2/3-wires, 4-wries) for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_format_t *p_outmode)
 Retrieves the LVDT Configuration Mode (2/3-wires, 4-wries) from the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Sets the channel status enable bit for the specified channel. When the channel status enable is set to "NAIBRD_LVDT_CHAN_STATUS_ENABLE_ACTIVE", it will report any bad status in the following module functions: 1. BIT Status,.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Gets the channel status enable bit for the specified channel. When the channel status enable is set to "NAIBRD_LVDT_CHAN_STATUS_ENABLE_ACTIVE", it will report any bad status in the following module functions: 1. BIT Status,.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_threshold_t type, float64_t threshold)
 Sets the threshold (depending on the naibrd_lvdt_threshold_t type specified) for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetThreshold (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_threshold_t type, float64_t *p_outthreshold)
 Retrieves threshold (depending on the naibrd_lvdt_threshold_t type specified) for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointPositionOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t positionOffset)
 Sets the HW floating point position offset for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointPositionOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outpositionOffset)
 Retrieves the HW floating point position offset for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointPositionScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t positionScale)
 Sets the HW floating point position scale factor for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointPositionScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outpositionScale)
 Retrieves the HW floating point position scale factor for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointVelocityOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t velocityOffset)
 Sets the HW floating point velocity offset for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointVelocityOffset (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outVelocityOffset)
 Retrieves the HW floating point velocity offset for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointVelocityScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t velocityScale)
 Sets the HW floating point velocity scale factor for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointVelocityScale (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, float64_t *outVelocityScale)
 Retrieves the HW floating point velocity scale factor for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetBandwidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t bandwidth)
 Sets the Bandwidth for the specified channel in 2 Hz resolution from 6Hz to 1280Hz.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetBandwidth (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outbandwidth)
 Retrieves the Bandwidth from the specified channel in 2 Hz resolution from 6Hz to 1280Hz.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetBandwidthSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_bandwidth_select_t bwSelect)
 Sets the Bandwidth Select for the specified channel. The BW Select can be set to "Automatic" or "Manual". When in "Automatic BW" mode, the input reference frequency is read and the bandwidth is automatically adjusted to approximately 1/10 of the carrier frequency. The Auto Bandwidth range has a minimum value of 10 Hz and a maximum value of 100 Hz. When in "Manual BW" mode, the user can enter the bandwidth between the range of 6 Hz and 1280 Hz, in 2 Hz increments.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetBandwidthSelect (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_bandwidth_select_t *p_outbwSelect)
 Retrieves the Bandwidth Select from the specified channel. The BW Select can be set to "Automatic" or "Manual". When in "Automatic BW" mode, the input reference frequency is read and the bandwidth is automatically adjusted to approximately 1/10 of the carrier frequency. The Auto Bandwidth range has a minimum value of 10 Hz and a maximum value of 100 Hz. When in "Manual BW" mode, the user can enter the bandwidth between the range of 6 Hz and 1280 Hz, in 2 Hz increments.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetLVDTScale (int32_t cardIndex, int32_t module, int32_t channel, uint32_t scale)
 Sets the LVDT scale from a specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetLVDTScale (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outscale)
 Retrieves the LVDT scale from a specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetTRValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t trValue)
 Sets the LVDT transformation ratio value for 2-wire A side of a specified channel (only for 2-Wire mode).
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTRValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outTrValue)
 Retrieves the LVDT transformation ratio value for 2-wire A side of a specified channel (only for 2-Wire mode).
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetTwoWireTRValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, uint32_t trValue)
 Sets the LVDT transformation ratio value for 2-wire A or B side of the specified channel (only for 2-Wire mode). Currently independent TR value for B-side is not supported. Use naibrd_lvdt_2_wire_t type with the value NAIBRD_LVDT_TWO_WIRE_A to set the TR ratio for both A and B side of the specific channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTwoWireTRValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_2_wire_t type, uint32_t *p_outTrValue)
 Retrieves the LVDT transformation ratio value for 2-wire A or B side of the specified channel (only for 2-Wire mode). Currently independent TR value for B-side is not supported. Use naibrd_lvdt_2_wire_t type with the value NAIBRD_LVDT_TWO_WIRE_A to set the TR ratio for both A and B side of the specific channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_floating_point_attributes_t attributeType, float64_t attributeValue)
 Sets the HW floating point position or velocity offset or scale factor (depending on the specified naibrd_lvdt_floating_point_attributes_t type) for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_floating_point_attributes_t attributeType, float64_t *p_outAttributeValue)
 Retrieves the HW floating point position or velocity offset or scale factor (depending on the specified naibrd_lvdt_floating_point_attributes_t type) for the specified LVDT channel. This feature is only applicable when the HW floating point conversion mode is enabled (See naibrd_SetFloatingPointModeEnable()). Not all modules support HW floating point conversions, please refer to the module's HW specification for details.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetDetectValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_detect_t detectType, float64_t *p_outdetect)
 Retrieves the Va/Vb detect value (depending on the naibrd_lvdt_detect_t type specified) for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetBITErrorLimit (int32_t cardIndex, int32_t module, int32_t channel, float64_t bitErrorLimit)
 Sets the BIT Test Error Limit for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetBITErrorLimit (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outbitErrorLimit)
 Retrieves the BIT Test Error Limit for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t deltaPosition)
 Sets the Delta Position Value for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outDeltaPosition)
 Retrieves the Delta Position Value for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetInitDeltaPosition (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Sets the Init Delta Position Register Value for the specified LVDT channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, bool_t enable)
 Sets the Interrupt Enable for the specified LVDT channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, bool_t *p_outenable)
 Retrieves the Interrupt Enable for the specified LVDT channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t triggerType)
 Sets the Interrupt Edge/Level property for the specified LVDT channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_chan_mapped_status_type_t statusType, naibrd_int_trigger_type_t *p_outtriggerType)
 Retrieves the Interrupt Edge/Level property for the specified LVDT channel and interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t vector)
 Sets the Interrupt Vector for the specified interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outVector)
 Retrieves the Interrupt Vector for the specified interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_lvdt_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_LVDT_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_lvdt_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_LVDT_SetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t bitEnable)
 Enables/Disables the BIT test specified by the type parameter. BITs are described as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetModuleBITEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t *p_outbitEnable)
 Retrieves the state (Enabled or disabled) of the BIT test specified by the type parameter. BITs are described as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_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_LVDT_SetTestPosition (int32_t cardIndex, int32_t module, float64_t testPosition)
 Sets the Test Position used for the D0 Test.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTestPosition (int32_t cardIndex, int32_t module, float64_t *p_outtestPosition)
 Retrieves the Test Position used for the D0 Test.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetD2TestVerifyValue (int32_t cardIndex, int32_t module, uint32_t value)
 Sets the D2 Test Verify value. When the D2 test is enabled, the board will set the D2 Test Verify register to 0x55. An external application can write a value to the D2 Test Verify register and then read it after 30 seconds to verify that the background bit testing (D2 test) is activated.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetD2TestVerifyValue (int32_t cardIndex, int32_t module, uint32_t *p_outvalue)
 Retrieves the D2 Test Verify value. When the D2 test is enabled, the board will set the D2 Test Verify register to 0x55. An external application can write a value to the D2 Test Verify register and then read it after 30 seconds to verify that the background bit testing (D2 test) is activated.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOCount (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcount)
 Retrieves the number of items in the LVDT Buffer Fifo for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ReadFIFORaw32 (int32_t cardIndex, int32_t module, int32_t channel, uint32_t count, uint32_t outdata[], uint32_t *p_outread)
 Retrieves multiple values from the LVDT Fifo Buffer for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOValue (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outvalue)
 Retrieves one value from the LVDT Fifo Buffer for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOAlmostEmptyThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold)
 Sets the number of data words the FIFO will have left before setting the AlmostEmpty bit in the FIFO status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOAlmostEmptyThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold)
 Retrieves the count set in the AlmostEmpty register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOAlmostFullThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold)
 Sets the number of data words the FIFO will receive before setting the AlmostFull bit in the FIFO status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOAlmostFullThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold)
 Retrieves the count set in the AlmostFull register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOLoThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold)
 Sets the number of data words the FIFO will have left before setting the LoThreshold bit in the FIFO status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOLoThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold)
 Retrieves the count set in the LoThreshold register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOHiThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t threshold)
 Sets the number of data words the FIFO will receive before setting the HiThreshold bit in the FIFO status register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOHiThreshold (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outthreshold)
 Retrieves the count set in the HiThreshold register.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFODelay (int32_t cardIndex, int32_t module, int32_t channel, uint32_t delay)
 Sets the time delay before samples are taken after the trigger occurs. The LSB of this value is 10.24us. The maximum delay is about 335 ms.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFODelay (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdelay)
 Retrieves the time delay before samples are taken after the trigger occurs. This LSB of this value is 10.24us.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOSize (int32_t cardIndex, int32_t module, int32_t channel, uint32_t size)
 Sets the number of samples we take after the trigger occurs.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOSize (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outsize)
 Retrieves the number of samples we take after the trigger occurs.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOSampleRateValue (int32_t cardIndex, int32_t module, int32_t channel, float64_t samplerate)
 Sets the time in usec between samples taken (4.096 us to 268431.36 us) in intervals of 4.096 usec.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOSampleRateValue (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outsamplerate)
 Retrieves the time in usec between samples taken (4.096 us to 268431.36 us) in intervals of 4.096 usec.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOSampleRate (int32_t cardIndex, int32_t module, int32_t channel, uint32_t samplerate)
 Sets the time between samples taken. The LSB is 4.096us.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOSampleRate (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outsamplerate)
 Retrieves the time between samples taken. The LSB is 4.096us.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFODataType (int32_t cardIndex, int32_t module, int32_t channel, uint32_t datatype)
 Sets the type of data to acquire in the buffer.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFODataType (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdatatype)
 Retrieves the type of data to acquire in the buffer.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearFIFO (int32_t cardIndex, int32_t module, int32_t channel)
 Clears the LVDT FIFO buffers for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetFIFOTrigMode (int32_t cardIndex, int32_t module, int32_t channel, uint32_t trigmode)
 Sets the trigger mode to start data buffering.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetFIFOTrigMode (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outtrigmode)
 Retrieves the trigger mode to start data buffering.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SoftwareTrigger (int32_t cardIndex, int32_t module)
 Sends a software trigger to all channels.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t statusType, nai_status_bit_t *p_outstatus)
 Retrieves the event mapped status of a channel for a specific event mapped status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearEventMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t statusType)
 Clears the LVDT Event Mapped Latched Status for the specified channel and status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, bool_t enable)
 Sets the Event Mapped Interrupt Enable for the specified LVDT channel and event mapped interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, bool_t *p_outenable)
 Retrieves the Event Mapped Interrupt Enable for the specified LVDT channel and event mapped interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, naibrd_int_trigger_type_t triggerType)
 Sets the Event Mapped Interrupt Edge/Level property for the specified LVDT channel and event mapped interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outtriggerType)
 Retrieves the Event Mapped Interrupt Edge/Level property for the specified LVDT channel and event mapped interrupt status type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t vector)
 Sets the Event Mapped Interrupt Vector for the specified LVDT channel and event mapped interrupt status category type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedInterruptVector (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outVector)
 Retrieves the Event Mapped Interrupt Vector for the specified LVDT channel and event mapped interrupt status category type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, naibrd_int_steering_t steering)
 Sets the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified LVDT channel and event mapped interrupt status category type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedInterruptSteering (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, naibrd_int_steering_t *p_outSteering)
 Retrieves the Event Mapped Interrupt Steering, which indicates the interrupt direction, for the specified LVDT channel and event mapped interrupt status category type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToPosition (uint32_t modId, uint32_t rawData, float64_t *p_outposition)
 Converts raw position data to a position value in % scaled between -100.0% and 100.0%.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToPositionRaw (uint32_t modId, float64_t position, uint32_t *p_outrawData)
 Converts scaled position value to raw position data.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToVelocity (uint32_t modId, uint32_t rawData, float64_t *p_outvelocity)
 Converts raw velocity data to a scaled velocity value in %/second.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToFrequency (uint32_t modId, uint32_t rawData, float64_t *p_outfreq)
 Converts raw frequency data to a frequency value represented as a 64 bit float.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToVoltage (uint32_t modId, uint32_t rawData, float64_t *p_outvoltage)
 Converts raw voltage data to a voltage value represented as a 64 bit float.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ConvertToVoltageRaw (uint32_t modId, float64_t voltage, uint32_t *p_outrawData)
 Converts scaled voltage value to raw voltage data.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_raw_t type, uint32_t rawData)
 Sets the raw data value in the register associated to the register type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_raw_t type, uint32_t *p_outrawData)
 Sets the raw data value in the register associated with the register type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_channel_raw_t type, uint32_t rawData)
 Sets the raw data value in the register associated with the channel and channel register type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_channel_raw_t type, uint32_t *p_outrawData)
 Retrieves the raw data value in the register associated with the channel and channel register type.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outstatusRaw)
 Retrieves the raw data value in the status register associated with the status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearChanMappedStatusRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t statusRaw)
 Sets the raw data value in the status register associated with the status type specified. This function may be used to clear multiple latched status bits in the status word.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t enableRaw)
 Sets the raw data value in the interrupt enable register associated with the status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetChanMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, naibrd_lvdt_chan_mapped_status_type_t statusType, uint32_t *p_outEnableRaw)
 Retrieves the raw data value in the interrupt enable register associated with the status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_status_access_type_t accessType, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outstatusRaw)
 Retrieves the raw data value in the event mapped status register associated with the LVDT channel and status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearEventMappedStatusRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t statusRaw)
 Clears the raw data value in the event mapped status register associated with the LVDT channel and status type specified and the bits specified in the parameter statusRaw.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetEventMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t enableRaw)
 Sets the raw data value in the event mapped interrupt enable register associated with the LVDT channel and status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetEventMappedInterruptEnableRaw (int32_t cardIndex, int32_t module, int32_t channel, naibrd_lvdt_event_mapped_category_type_t type, uint32_t *p_outEnableRaw)
 Retrieves the raw data value in the event mapped interrupt enable register associated with the LVDT channel and status type specified.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_lvdt_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 LVDT module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_ClearModulePowerResetStatus (int32_t cardIndex, int32_t module, naibrd_lvdt_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 LVDT module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_lvdt_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 LVDT module. If the bit was set, the hardware will acknowledge it by setting the corresponding bit back to 0.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetModulePowerReset (int32_t cardIndex, int32_t module, naibrd_lvdt_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 LVDT module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_SetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t enable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_LVDT_GetTestEnable (int32_t cardIndex, int32_t module, naibrd_lvdt_test_enable_t type, bool_t *p_outenable)
 

Variables

static const uint32_t lvdt_gen5_reg_position_data [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_POSITION_DATA_ADD
 
static const uint32_t lvdt_gen5_reg_2wire_b_pos_data [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_B_POS_DATA_ADD
 
static const uint32_t lvdt_gen5_reg_velocity_data [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VELOCITY_DATA_ADD
 
static const uint32_t lvdt_gen5_reg_2wire_b_vel_data [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_B_VEL_DATA_ADD
 
static const uint32_t lvdt_gen5_reg_bandwidth [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BANDWIDTH_ADD
 
static const uint32_t lvdt_gen5_reg_bandwidth_select [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BANDWIDTH_SELECT_ADD
 
static const uint32_t lvdt_gen5_reg_vref [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VREF_ADD
 
static const uint32_t lvdt_gen5_reg_vll [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIGNAL_ADD
 
static const uint32_t lvdt_gen5_reg_frequency [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FREQUENCY_ADD
 
static const uint32_t lvdt_gen5_reg_sig_fault_low_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_ref_fault_low_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_REF_FAULT_LOW_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_sig_fault_high_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_ref_fault_high_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_lvdt_scale [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_LVDT_SCALE_ADD
 
static const uint32_t lvdt_gen5_reg_2wire_tr_value_a [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_TR_VALUE_ADD
 
static const uint32_t lvdt_gen5_reg_2wire_4wire [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_4WIRE_ADD
 
static const uint32_t lvdt_gen5_reg_signalInversionCtrl [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIGNAL_INVERSION_CTRL_ADD
 
static const uint32_t lvdt_gen5_reg_bit_error_limit [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BIT_ERROR_LIMIT_ADD
 
static const uint32_t lvdt_gen5_reg_delta_position [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_DELTA_POSITION_ADD
 
static const uint32_t lvdt_gen5_reg_init_delta_position [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_INIT_DELTA_POSITION_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_word [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DATA_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_count [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_COUNT_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_realtime_status [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_REALTIME_STATUS_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_latched_status [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_LATCHED_STATUS_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_int_enable [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_INT_ENABLE_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_edge_level_int [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_EDGE_LEVEL_INT_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_almost_empty [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_ALMOST_EMPTY_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_almost_full [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_ALMOST_FULL_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_hi_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_HI_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_lo_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_LO_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_delay [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DELAY_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_size [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_SIZE_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_sample_rate [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_SAMPLE_RATE_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_clear_fifo [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_CLEAR_FIFO_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_data_type [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DATA_TYPE_ADD
 
static const uint32_t lvdt_gen5_reg_fifo_trig_mode [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_TRIG_MODE_ADD
 
static const int32_t lvdt_gen5_fifo_int_num [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_INT_VECTOR_STEERING_INTNUM
 
static const uint32_t lvdt_gen5_reg_floating_point_position_offset [][NAI_LVDT_GEN5_CHANNELS]
 
static const uint32_t lvdt_gen5_reg_floating_point_position_scale [][NAI_LVDT_GEN5_CHANNELS]
 
static const uint32_t lvdt_gen5_reg_floating_point_velocity_offset [][NAI_LVDT_GEN5_CHANNELS]
 
static const uint32_t lvdt_gen5_reg_floating_point_velocity_scale [][NAI_LVDT_GEN5_CHANNELS]
 
static const uint32_t lvdt_gen5_reg_open_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_OPEN_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_short_threshold [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SHORT_THRESHOLD_ADD
 
static const uint32_t lvdt_gen5_reg_va_detect [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VA_DETECT_ADD
 
static const uint32_t lvdt_gen5_reg_vb_detect [NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VB_DETECT_ADD
 
static const uint32_t lvdt_gen5_reg_status [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_LL2_status [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_int_enable [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_LL2_int_enable [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_int_type [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_LL2_int_type [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const int32_t lvdt_gen5_interrupt_num [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const int32_t lvdt_gen5_LL2_interrupt_num [NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_raw [NAIBRD_LVDT_RAW_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_LL2_reg_raw [NAIBRD_LVDT_RAW_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_chan_raw [NAIBRD_LVDT_CHAN_RAW_ENUM_COUNT][NAI_LVDT_GEN5_CHANNELS]
 
static const uint32_t *const lvdt_gen5_LL2_reg_chan_raw [NAIBRD_LVDT_CHAN_RAW_ENUM_COUNT]
 
static const uint32_t lvdt_gen5_reg_chan_signalType [NAIBRD_LVDT_SIGNAL_TYPE_ENUM_COUNT][NAI_LVDT_GEN5_CHANNELS]
 

Function Documentation

◆ GetChannelCount()

static int32_t GetChannelCount ( uint32_t modId)
static

◆ isLVDTGen5LL2Module()

static nai_status_t isLVDTGen5LL2Module ( uint32_t modId)
static

◆ isLVDTGen5Module()

static nai_status_t isLVDTGen5Module ( uint32_t modId)
static

◆ isLVDTGen5TwoChannelModule()

static nai_status_t isLVDTGen5TwoChannelModule ( uint32_t modid)
static

◆ naibrd_LVDT_GetEventMappedInterruptShift()

static nai_status_t naibrd_LVDT_GetEventMappedInterruptShift ( naibrd_lvdt_event_mapped_status_type_t type,
int32_t * p_outShiftCount )
static

◆ naibrd_LVDT_VerifyBandwidth()

static nai_status_t naibrd_LVDT_VerifyBandwidth ( uint32_t bandwidth)
static

◆ naibrd_LVDT_VerifyBoolean()

static nai_status_t naibrd_LVDT_VerifyBoolean ( bool_t boolValue)
static

◆ naibrd_LVDT_VerifyBWSel()

static nai_status_t naibrd_LVDT_VerifyBWSel ( naibrd_lvdt_bandwidth_select_t type)
static

◆ naibrd_LVDT_VerifyChanMappedStatusLatchType()

static nai_status_t naibrd_LVDT_VerifyChanMappedStatusLatchType ( naibrd_lvdt_chan_mapped_status_type_t statusType)
static

◆ naibrd_LVDT_VerifyChanMappedStatusType()

static nai_status_t naibrd_LVDT_VerifyChanMappedStatusType ( naibrd_lvdt_chan_mapped_status_type_t statusType)
static

◆ naibrd_LVDT_VerifyChannel()

static nai_status_t naibrd_LVDT_VerifyChannel ( uint32_t modId,
int32_t channel )
static

◆ naibrd_LVDT_VerifyChanRaw()

static nai_status_t naibrd_LVDT_VerifyChanRaw ( naibrd_lvdt_channel_raw_t type)
static

◆ naibrd_LVDT_VerifyChanRawWriteable()

static nai_status_t naibrd_LVDT_VerifyChanRawWriteable ( naibrd_lvdt_channel_raw_t type)
static

◆ naibrd_LVDT_VerifyEventMappedStatusCategoryType()

static nai_status_t naibrd_LVDT_VerifyEventMappedStatusCategoryType ( naibrd_lvdt_event_mapped_category_type_t type)
static

◆ naibrd_LVDT_VerifyEventMappedStatusLatchType()

static nai_status_t naibrd_LVDT_VerifyEventMappedStatusLatchType ( naibrd_lvdt_event_mapped_status_type_t statusType)
static

◆ naibrd_LVDT_VerifyEventMappedStatusType()

static nai_status_t naibrd_LVDT_VerifyEventMappedStatusType ( naibrd_lvdt_event_mapped_status_type_t statusType)
static

◆ naibrd_LVDT_VerifyFIFODataType()

static nai_status_t naibrd_LVDT_VerifyFIFODataType ( uint32_t dataType)
static

◆ naibrd_LVDT_VerifyFIFOSampleRate()

static nai_status_t naibrd_LVDT_VerifyFIFOSampleRate ( uint32_t sampleRate)
static

◆ naibrd_LVDT_VerifyFIFOSampleRateValue()

static nai_status_t naibrd_LVDT_VerifyFIFOSampleRateValue ( float64_t value)
static

◆ naibrd_LVDT_VerifyFIFOTrigMode()

static nai_status_t naibrd_LVDT_VerifyFIFOTrigMode ( uint32_t trigMode)
static

◆ naibrd_LVDT_VerifyFloatingPointAttributesType()

static nai_status_t naibrd_LVDT_VerifyFloatingPointAttributesType ( naibrd_lvdt_floating_point_attributes_t type)
static

◆ naibrd_LVDT_VerifyInterruptSteeringType()

static nai_status_t naibrd_LVDT_VerifyInterruptSteeringType ( naibrd_int_steering_t steering)
static

◆ naibrd_LVDT_VerifyInterruptTriggerType()

static nai_status_t naibrd_LVDT_VerifyInterruptTriggerType ( naibrd_int_trigger_type_t triggerType)
static

◆ naibrd_LVDT_VerifyLatchType()

static nai_status_t naibrd_LVDT_VerifyLatchType ( uint32_t latch)
static

◆ naibrd_LVDT_VerifyModeType()

static nai_status_t naibrd_LVDT_VerifyModeType ( naibrd_lvdt_format_t type)
static

◆ naibrd_LVDT_VerifyPosition()

static nai_status_t naibrd_LVDT_VerifyPosition ( float64_t testPosition)
static

◆ naibrd_LVDT_VerifyRawType()

static nai_status_t naibrd_LVDT_VerifyRawType ( naibrd_lvdt_raw_t type)
static

◆ naibrd_LVDT_VerifySignalInversionRespType()

static nai_status_t naibrd_LVDT_VerifySignalInversionRespType ( naibrd_lvdt_signal_inversion_resp_value_type_t type)
static

◆ naibrd_LVDT_VerifySignalIversionType()

static nai_status_t naibrd_LVDT_VerifySignalIversionType ( naibrd_lvdt_signal_inversion_type_t type)
static

◆ naibrd_LVDT_VerifySignalType()

static nai_status_t naibrd_LVDT_VerifySignalType ( naibrd_lvdt_signal_type_t type)
static

◆ naibrd_LVDT_VerifyStatusAccessType()

static nai_status_t naibrd_LVDT_VerifyStatusAccessType ( nai_status_access_type_t accessType)
static

◆ naibrd_LVDT_VerifyTestEnableType()

static nai_status_t naibrd_LVDT_VerifyTestEnableType ( naibrd_lvdt_test_enable_t type)
static

◆ naibrd_LVDT_VerifyThresholdType()

static nai_status_t naibrd_LVDT_VerifyThresholdType ( naibrd_lvdt_threshold_t type)
static

◆ naibrd_LVDT_VerifyThresholdValue()

static nai_status_t naibrd_LVDT_VerifyThresholdValue ( naibrd_lvdt_threshold_t type,
float64_t value )
static

◆ naibrd_LVDT_VerifyTwoWireType()

static nai_status_t naibrd_LVDT_VerifyTwoWireType ( naibrd_lvdt_2_wire_t type)
static

◆ naibrd_LVDT_VerifyWiredetectType()

static nai_status_t naibrd_LVDT_VerifyWiredetectType ( naibrd_lvdt_detect_t type)
static

Variable Documentation

◆ lvdt_gen5_fifo_int_num

const int32_t lvdt_gen5_fifo_int_num[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_INT_VECTOR_STEERING_INTNUM
static

◆ lvdt_gen5_interrupt_num

const int32_t lvdt_gen5_interrupt_num[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_DELTA_POS_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_DELTA_POS_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_OPEN_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_OPEN_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SHORT_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SHORT_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM
}

◆ lvdt_gen5_LL2_interrupt_num

const int32_t lvdt_gen5_LL2_interrupt_num[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_BIT_INT_VECTOR_STEERING_INTNUM,
0,
0,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_VECTOR_STEERING_INTNUM,
0,
0,
0,
0,
0,
0,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_VECTOR_STEERING_INTNUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM,
NAI_GEN5_SUMMARY_INTERRUPT_NUM
}

◆ lvdt_gen5_LL2_reg_chan_raw

const uint32_t* const lvdt_gen5_LL2_reg_chan_raw[NAIBRD_LVDT_CHAN_RAW_ENUM_COUNT]
static

◆ lvdt_gen5_LL2_reg_raw

const uint32_t lvdt_gen5_LL2_reg_raw[NAIBRD_LVDT_RAW_ENUM_COUNT]
static
Initial value:
= {
NAI_GEN5_REG_CHANNEL_STATUS_ENABLE_ADD,
0u,
NAI_LVDT_GEN5_REG_TEST_ENABLE_ADD,
NAI_LVDT_GEN5_REG_TEST_POSITION_ADD,
0u,
0u,
}

◆ lvdt_gen5_reg_2wire_4wire

const uint32_t lvdt_gen5_reg_2wire_4wire[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_4WIRE_ADD
static

◆ lvdt_gen5_reg_2wire_b_pos_data

const uint32_t lvdt_gen5_reg_2wire_b_pos_data[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_B_POS_DATA_ADD
static

◆ lvdt_gen5_reg_2wire_b_vel_data

const uint32_t lvdt_gen5_reg_2wire_b_vel_data[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_B_VEL_DATA_ADD
static

◆ lvdt_gen5_reg_2wire_tr_value_a

const uint32_t lvdt_gen5_reg_2wire_tr_value_a[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_2WIRE_TR_VALUE_ADD
static

◆ lvdt_gen5_reg_bandwidth

const uint32_t lvdt_gen5_reg_bandwidth[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BANDWIDTH_ADD
static

◆ lvdt_gen5_reg_bandwidth_select

const uint32_t lvdt_gen5_reg_bandwidth_select[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BANDWIDTH_SELECT_ADD
static

◆ lvdt_gen5_reg_bit_error_limit

const uint32_t lvdt_gen5_reg_bit_error_limit[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_BIT_ERROR_LIMIT_ADD
static

◆ lvdt_gen5_reg_chan_raw

const uint32_t lvdt_gen5_reg_chan_raw[NAIBRD_LVDT_CHAN_RAW_ENUM_COUNT][NAI_LVDT_GEN5_CHANNELS]
static

◆ lvdt_gen5_reg_chan_signalType

const uint32_t lvdt_gen5_reg_chan_signalType[NAIBRD_LVDT_SIGNAL_TYPE_ENUM_COUNT][NAI_LVDT_GEN5_CHANNELS]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_SIGNAL_VA_ADD ,\
NAI_LVDT_GEN5_REG_SIGNAL_VB_ADD ,\
NAI_LVDT_GEN5_REG_SIGNAL_VA_AND_VB_ADD
}

◆ lvdt_gen5_reg_delta_position

const uint32_t lvdt_gen5_reg_delta_position[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_DELTA_POSITION_ADD
static

◆ lvdt_gen5_reg_fifo_almost_empty

const uint32_t lvdt_gen5_reg_fifo_almost_empty[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_ALMOST_EMPTY_ADD
static

◆ lvdt_gen5_reg_fifo_almost_full

const uint32_t lvdt_gen5_reg_fifo_almost_full[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_ALMOST_FULL_ADD
static

◆ lvdt_gen5_reg_fifo_clear_fifo

const uint32_t lvdt_gen5_reg_fifo_clear_fifo[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_CLEAR_FIFO_ADD
static

◆ lvdt_gen5_reg_fifo_count

const uint32_t lvdt_gen5_reg_fifo_count[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_COUNT_ADD
static

◆ lvdt_gen5_reg_fifo_data_type

const uint32_t lvdt_gen5_reg_fifo_data_type[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DATA_TYPE_ADD
static

◆ lvdt_gen5_reg_fifo_delay

const uint32_t lvdt_gen5_reg_fifo_delay[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DELAY_ADD
static

◆ lvdt_gen5_reg_fifo_edge_level_int

const uint32_t lvdt_gen5_reg_fifo_edge_level_int[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_EDGE_LEVEL_INT_ADD
static

◆ lvdt_gen5_reg_fifo_hi_threshold

const uint32_t lvdt_gen5_reg_fifo_hi_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_HI_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_fifo_int_enable

const uint32_t lvdt_gen5_reg_fifo_int_enable[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_INT_ENABLE_ADD
static

◆ lvdt_gen5_reg_fifo_latched_status

const uint32_t lvdt_gen5_reg_fifo_latched_status[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_LATCHED_STATUS_ADD
static

◆ lvdt_gen5_reg_fifo_lo_threshold

const uint32_t lvdt_gen5_reg_fifo_lo_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_LO_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_fifo_realtime_status

const uint32_t lvdt_gen5_reg_fifo_realtime_status[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_REALTIME_STATUS_ADD
static

◆ lvdt_gen5_reg_fifo_sample_rate

const uint32_t lvdt_gen5_reg_fifo_sample_rate[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_SAMPLE_RATE_ADD
static

◆ lvdt_gen5_reg_fifo_size

const uint32_t lvdt_gen5_reg_fifo_size[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_SIZE_ADD
static

◆ lvdt_gen5_reg_fifo_trig_mode

const uint32_t lvdt_gen5_reg_fifo_trig_mode[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_TRIG_MODE_ADD
static

◆ lvdt_gen5_reg_fifo_word

const uint32_t lvdt_gen5_reg_fifo_word[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FIFO_DATA_ADD
static

◆ lvdt_gen5_reg_floating_point_position_offset

const uint32_t lvdt_gen5_reg_floating_point_position_offset[][NAI_LVDT_GEN5_CHANNELS]
static
Initial value:
=
{ NAI_LVDT_GEN5_REG_FLOATING_POINT_POSITION_OFFSET_ADD, NAI_LVDT_GEN5_REG_FLOATING_POINT_POSITIONB_OFFSET_ADD}

◆ lvdt_gen5_reg_floating_point_position_scale

const uint32_t lvdt_gen5_reg_floating_point_position_scale[][NAI_LVDT_GEN5_CHANNELS]
static
Initial value:
=
{ NAI_LVDT_GEN5_REG_FLOATING_POINT_POSITION_SCALE_ADD, NAI_LVDT_GEN5_REG_FLOATING_POINT_POSITIONB_SCALE_ADD }

◆ lvdt_gen5_reg_floating_point_velocity_offset

const uint32_t lvdt_gen5_reg_floating_point_velocity_offset[][NAI_LVDT_GEN5_CHANNELS]
static
Initial value:
=
{ NAI_LVDT_GEN5_REG_FLOATING_POINT_VELOCITY_OFFSET_ADD, NAI_LVDT_GEN5_REG_FLOATING_POINT_VELOCITYB_OFFSET_ADD }

◆ lvdt_gen5_reg_floating_point_velocity_scale

const uint32_t lvdt_gen5_reg_floating_point_velocity_scale[][NAI_LVDT_GEN5_CHANNELS]
static
Initial value:
=
{ NAI_LVDT_GEN5_REG_FLOATING_POINT_VELOCITY_SCALE_ADD, NAI_LVDT_GEN5_REG_FLOATING_POINT_VELOCITYB_SCALE_ADD }

◆ lvdt_gen5_reg_frequency

const uint32_t lvdt_gen5_reg_frequency[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_FREQUENCY_ADD
static

◆ lvdt_gen5_reg_init_delta_position

const uint32_t lvdt_gen5_reg_init_delta_position[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_INIT_DELTA_POSITION_ADD
static

◆ lvdt_gen5_reg_int_enable

const uint32_t lvdt_gen5_reg_int_enable[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_OPEN_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_OPEN_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SHORT_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SHORT_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD
}

◆ lvdt_gen5_reg_int_type

const uint32_t lvdt_gen5_reg_int_type[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_OPEN_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_OPEN_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SHORT_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SHORT_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD
}

◆ lvdt_gen5_reg_LL2_int_enable

const uint32_t lvdt_gen5_reg_LL2_int_enable[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_BIT_INT_ENABLE_ADD,
0u,
0u,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_INT_ENABLE_ADD,
0u,
0u,
0u,
0u,
0u,
0u,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_ENABLE_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_INT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_ENABLE_ADD
}

◆ lvdt_gen5_reg_LL2_int_type

const uint32_t lvdt_gen5_reg_LL2_int_type[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_BIT_EDGE_LEVEL_INT_ADD,
0u,
0u,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_EDGE_LEVEL_INT_ADD,
0u,
0u,
0u,
0u,
0u,
0u,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_EDGE_LEVEL_INT_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD,
NAI_GEN5_SUMMARY_INTERRUPT_EDGE_LEVEL_MODE_ADD
}

◆ lvdt_gen5_reg_LL2_status

const uint32_t lvdt_gen5_reg_LL2_status[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_BIT_REALTIME_STATUS_ADD,
0u,
0u,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_REALTIME_STATUS_ADD,
0u,
0u,
0u,
0u,
0u,
0u,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_REALTIME_STATUS_ADD,
NAI_GEN5_SUMMARY_STATUS_LATCHED_ADD,
NAI_GEN5_SUMMARY_STATUS_REAL_TIME_ADD
}

◆ lvdt_gen5_reg_lvdt_scale

const uint32_t lvdt_gen5_reg_lvdt_scale[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_LVDT_SCALE_ADD
static

◆ lvdt_gen5_reg_open_threshold

const uint32_t lvdt_gen5_reg_open_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_OPEN_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_position_data

const uint32_t lvdt_gen5_reg_position_data[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_POSITION_DATA_ADD
static

◆ lvdt_gen5_reg_raw

const uint32_t lvdt_gen5_reg_raw[NAIBRD_LVDT_RAW_ENUM_COUNT]
static
Initial value:
= {
NAI_GEN5_REG_CHANNEL_STATUS_ENABLE_ADD,
NAI_LVDT_GEN5_REG_LATCH_CTL_ADD,
NAI_LVDT_GEN5_REG_TEST_ENABLE_ADD,
NAI_LVDT_GEN5_REG_TEST_POSITION_ADD,
0u,
0u,
}

◆ lvdt_gen5_reg_ref_fault_high_threshold

const uint32_t lvdt_gen5_reg_ref_fault_high_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_ref_fault_low_threshold

const uint32_t lvdt_gen5_reg_ref_fault_low_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_REF_FAULT_LOW_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_short_threshold

const uint32_t lvdt_gen5_reg_short_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SHORT_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_sig_fault_high_threshold

const uint32_t lvdt_gen5_reg_sig_fault_high_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_sig_fault_low_threshold

const uint32_t lvdt_gen5_reg_sig_fault_low_threshold[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_THRESHOLD_ADD
static

◆ lvdt_gen5_reg_signalInversionCtrl

const uint32_t lvdt_gen5_reg_signalInversionCtrl[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIGNAL_INVERSION_CTRL_ADD
static

◆ lvdt_gen5_reg_status

const uint32_t lvdt_gen5_reg_status[NAIBRD_LVDT_STATUS_TYPE_ENUM_COUNT]
static
Initial value:
=
{
NAI_LVDT_GEN5_REG_BIT_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_BIT_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_LOW_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_LOW_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_DELTA_POS_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_OPEN_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_OPEN_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_SHORT_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_SHORT_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_SIG_FAULT_HIGH_REALTIME_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_LATCHED_STATUS_ADD,
NAI_LVDT_GEN5_REG_REF_FAULT_HIGH_REALTIME_STATUS_ADD,
NAI_GEN5_SUMMARY_STATUS_LATCHED_ADD,
NAI_GEN5_SUMMARY_STATUS_REAL_TIME_ADD
}

◆ lvdt_gen5_reg_va_detect

const uint32_t lvdt_gen5_reg_va_detect[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VA_DETECT_ADD
static

◆ lvdt_gen5_reg_vb_detect

const uint32_t lvdt_gen5_reg_vb_detect[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VB_DETECT_ADD
static

◆ lvdt_gen5_reg_velocity_data

const uint32_t lvdt_gen5_reg_velocity_data[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VELOCITY_DATA_ADD
static

◆ lvdt_gen5_reg_vll

const uint32_t lvdt_gen5_reg_vll[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_SIGNAL_ADD
static

◆ lvdt_gen5_reg_vref

const uint32_t lvdt_gen5_reg_vref[NAI_LVDT_GEN5_CHANNELS] = NAI_LVDT_GEN5_REG_VREF_ADD
static