Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_vr.h File Reference

Go to the source code of this file.

Typedefs

typedef enum naibrd_vr_chan_mapped_status_type naibrd_vr_chan_mapped_status_type_t
 
typedef enum naibrd_vr_measured_value_type naibrd_vr_measured_value_type_t
 
typedef enum naibrd_vr_config_value_type naibrd_vr_config_value_type_t
 
typedef enum naibrd_vr_chan_mapped_control_type naibrd_vr_chan_mapped_control_type_t
 
typedef enum naibrd_vr_conversion_type naibrd_vr_conversion_type_t
 
typedef enum naibrd_vr_range_select_type naibrd_vr_range_select_type_t
 
typedef enum naibrd_vr_auto_down_range_time_type naibrd_vr_auto_down_range_time_type_t
 
typedef enum naibrd_vr_raw naibrd_vr_raw_t
 
typedef enum naibrd_vr_test_enable naibrd_vr_test_enable_t
 
typedef enum naibrd_vr_channel_raw naibrd_vr_channel_raw_t
 

Enumerations

enum  naibrd_vr_chan_mapped_status_type {
  NAIBRD_VR_CHAN_MAPPED_STATUS_BIT_LATCHED , NAIBRD_VR_CHAN_MAPPED_STATUS_BIT_REALTIME , NAIBRD_VR_CHAN_MAPPED_STATUS_TERMINATION_FAULT_LATCHED , NAIBRD_VR_CHAN_MAPPED_STATUS_TERMINATION_FAULT_REALTIME ,
  NAIBRD_VR_CHAN_MAPPED_STATUS_SIGNAL_LOSS_LATCHED , NAIBRD_VR_CHAN_MAPPED_STATUS_SIGNAL_LOSS_REALTIME , NAIBRD_VR_CHAN_MAPPED_STATUS_SUMMARY_LATCHED , NAIBRD_VR_CHAN_MAPPED_STATUS_SUMMARY_REALTIME
}
 
enum  naibrd_vr_measured_value_type {
  NAIBRD_VR_MEASURED_PERIOD , NAIBRD_VR_MEASURED_PHASE , NAIBRD_VR_MEASURED_PERCENT_TORQUE , NAIBRD_VR_MEASURED_AMPLITUDE ,
  NAIBRD_VR_MEASURED_FREQUENCY , NAIBRD_VR_MEASURED_RPM , NAIBRD_VR_MEASURED_CYCLE_COUNT
}
 
enum  naibrd_vr_config_value_type {
  NAIBRD_VR_CONFIG_VOLTAGE_THRESHOLD_HIGH , NAIBRD_VR_CONFIG_VOLTAGE_THRESHOLD_LOW , NAIBRD_VR_CONFIG_ZERO_TORQUE_SIGNAL_PHASE , NAIBRD_VR_CONFIG_MAX_TORQUE_SIGNAL_PHASE ,
  NAIBRD_VR_CONFIG_NUMBER_OF_TEETH , NAIBRD_VR_CONFIG_AVERAGING_TIME , NAIBRD_VR_CONFIG_DEBOUNCE_TIME , NAIBRD_VR_CONFIG_MINIMUM_AMPLITUDE ,
  NAIBRD_VR_CONFIG_MINIMUM_FREQUENCY , NAIBRD_VR_CONFIG_AUTO_THRESHOLD_PERCENT , NAIBRD_VR_CONFIG_AUTO_THRESHOLD_HYSTERESIS
}
 
enum  naibrd_vr_chan_mapped_control_type {
  NAIBRD_VR_CHAN_MAPPED_CONTROL_CHANNEL_ENABLE , NAIBRD_VR_CHAN_MAPPED_CONTROL_DIPOLE_ENABLE , NAIBRD_VR_CHAN_MAPPED_CONTROL_FALLING_EDGE_MEASUREMENT_ENABLE , NAIBRD_VR_CHAN_MAPPED_CONTROL_TERMINATION_ENABLE ,
  NAIBRD_VR_CHAN_MAPPED_CONTROL_AC_COUPLE_ENABLE , NAIBRD_VR_CHAN_MAPPED_CONTROL_AUTO_THRESHOLD_ENABLE
}
 
enum  naibrd_vr_conversion_type {
  NAIBRD_VR_CONVERSION_TYPE_VOLTAGE , NAIBRD_VR_CONVERSION_TYPE_HZ , NAIBRD_VR_CONVERSION_TYPE_DEGREES , NAIBRD_VR_CONVERSION_TYPE_PERCENT ,
  NAIBRD_VR_CONVERSION_TYPE_RPM , NAIBRD_VR_CONVERSION_TYPE_USEC , NAIBRD_VR_CONVERSION_TYPE_NSEC
}
 
enum  naibrd_vr_range_select_type {
  NAIBRD_VR_RANGE_AUTO , NAIBRD_VR_RANGE_50mV , NAIBRD_VR_RANGE_100mV , NAIBRD_VR_RANGE_250mV ,
  NAIBRD_VR_RANGE_500mV , NAIBRD_VR_RANGE_1V , NAIBRD_VR_RANGE_2P5V , NAIBRD_VR_RANGE_5V ,
  NAIBRD_VR_RANGE_12P5V , NAIBRD_VR_RANGE_25V , NAIBRD_VR_RANGE_50V , NAIBRD_VR_RANGE_100V ,
  NAIBRD_VR_RANGE_UNKNOWN
}
 
enum  naibrd_vr_auto_down_range_time_type {
  NAIBRD_VR_AUTO_DOWN_RANGE_TIME_100MS , NAIBRD_VR_AUTO_DOWN_RANGE_TIME_500MS , NAIBRD_VR_AUTO_DOWN_RANGE_TIME_1S , NAIBRD_VR_AUTO_DOWN_RANGE_TIME_2S ,
  NAIBRD_VR_AUTO_DOWN_RANGE_TIME_5S , NAIBRD_VR_AUTO_DOWN_RANGE_TIME_10S , NAIBRD_VR_AUTO_DOWN_RANGE_TIME_UNKNOWN
}
 
enum  naibrd_vr_raw {
  NAIBRD_VR_RAW_TEST_ENABLE , NAIBRD_VR_RAW_POWER_SUPPLY_ENABLE , NAIBRD_VR_RAW_CHAN_STATUS_ENABLE , NAIBRD_VR_RAW_CHANNEL_ENABLE ,
  NAIBRD_VR_RAW_DIPOLE_ENABLE , NAIBRD_VR_RAW_FALLING_EDGE_MEASUREMENT_ENABLE , NAIBRD_VR_RAW_TERMINATION_ENABLE , NAIBRD_VR_RAW_AC_COUPLE_ENABLE ,
  NAIBRD_VR_RAW_RANGE_SELECT , NAIBRD_VR_RAW_SET_ZERO_TORQUE_SIGNAL_PHASE , NAIBRD_VR_RAW_RESET_CYCLE_COUNT , NAIBRD_VR_RAW_AUTO_THRESHOLD_ENABLE
}
 
enum  naibrd_vr_test_enable { NAIBRD_VR_TEST_ENABLE_IBIT_D3 = 0x0008 }
 
enum  naibrd_vr_channel_raw {
  NAIBRD_VR_CHAN_RAW_VOLTAGE_THRESHOLD_HIGH , NAIBRD_VR_CHAN_RAW_VOLTAGE_THRESHOLD_LOW , NAIBRD_VR_CHAN_RAW_ZERO_TORQUE_SIGNAL_PHASE , NAIBRD_VR_CHAN_RAW_MAX_TORQUE_SIGNAL_PHASE ,
  NAIBRD_VR_CHAN_RAW_MEASURED_PERIOD , NAIBRD_VR_CHAN_RAW_MEASURED_PHASE , NAIBRD_VR_CHAN_RAW_MEASURED_PERCENT_TORQUE , NAIBRD_VR_CHAN_RAW_MEASURED_AMPLITUDE ,
  NAIBRD_VR_CHAN_RAW_MEASURED_FREQUENCY , NAIBRD_VR_CHAN_RAW_NUMBER_OF_TEETH , NAIBRD_VR_CHAN_RAW_MEASURED_RPM , NAIBRD_VR_CHAN_RAW_AVERAGING_TIME ,
  NAIBRD_VR_CHAN_RAW_DEBOUNCE_TIME , NAIBRD_VR_CHAN_RAW_MINIMUM_AMPLITUDE , NAIBRD_VR_CHAN_RAW_MINIMUM_FREQUENCY , NAIBRD_VR_CHAN_RAW_CYCLE_COUNT ,
  NAIBRD_VR_CHAN_RAW_AUTO_THRESHOLD_PERCENT , NAIBRD_VR_CHAN_RAW_AUTO_THRESHOLD_HYSTERESIS , NAIBRD_VR_CHAN_RAW_AUTO_DOWN_RANGE_TIME
}
 

Typedef Documentation

◆ naibrd_vr_auto_down_range_time_type_t

◆ naibrd_vr_chan_mapped_control_type_t

◆ naibrd_vr_chan_mapped_status_type_t

◆ naibrd_vr_channel_raw_t

◆ naibrd_vr_config_value_type_t

◆ naibrd_vr_conversion_type_t

◆ naibrd_vr_measured_value_type_t

◆ naibrd_vr_range_select_type_t

◆ naibrd_vr_raw_t

◆ naibrd_vr_test_enable_t

Enumeration Type Documentation

◆ naibrd_vr_auto_down_range_time_type

naibrd_vr_auto_down_range_time_type

Enumerator
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_100MS 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_500MS 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_1S 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_2S 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_5S 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_10S 
NAIBRD_VR_AUTO_DOWN_RANGE_TIME_UNKNOWN 

◆ naibrd_vr_chan_mapped_control_type

naibrd_vr_chan_mapped_control_type

Enumerator
NAIBRD_VR_CHAN_MAPPED_CONTROL_CHANNEL_ENABLE 
NAIBRD_VR_CHAN_MAPPED_CONTROL_DIPOLE_ENABLE 
NAIBRD_VR_CHAN_MAPPED_CONTROL_FALLING_EDGE_MEASUREMENT_ENABLE 
NAIBRD_VR_CHAN_MAPPED_CONTROL_TERMINATION_ENABLE 
NAIBRD_VR_CHAN_MAPPED_CONTROL_AC_COUPLE_ENABLE 
NAIBRD_VR_CHAN_MAPPED_CONTROL_AUTO_THRESHOLD_ENABLE 

◆ naibrd_vr_chan_mapped_status_type

naibrd_vr_chan_mapped_status_type

Enumerator
NAIBRD_VR_CHAN_MAPPED_STATUS_BIT_LATCHED 
NAIBRD_VR_CHAN_MAPPED_STATUS_BIT_REALTIME 
NAIBRD_VR_CHAN_MAPPED_STATUS_TERMINATION_FAULT_LATCHED 
NAIBRD_VR_CHAN_MAPPED_STATUS_TERMINATION_FAULT_REALTIME 
NAIBRD_VR_CHAN_MAPPED_STATUS_SIGNAL_LOSS_LATCHED 
NAIBRD_VR_CHAN_MAPPED_STATUS_SIGNAL_LOSS_REALTIME 
NAIBRD_VR_CHAN_MAPPED_STATUS_SUMMARY_LATCHED 
NAIBRD_VR_CHAN_MAPPED_STATUS_SUMMARY_REALTIME 

◆ naibrd_vr_channel_raw

naibrd_vr_channel_raw

Enumerator
NAIBRD_VR_CHAN_RAW_VOLTAGE_THRESHOLD_HIGH 
NAIBRD_VR_CHAN_RAW_VOLTAGE_THRESHOLD_LOW 
NAIBRD_VR_CHAN_RAW_ZERO_TORQUE_SIGNAL_PHASE 
NAIBRD_VR_CHAN_RAW_MAX_TORQUE_SIGNAL_PHASE 
NAIBRD_VR_CHAN_RAW_MEASURED_PERIOD 
NAIBRD_VR_CHAN_RAW_MEASURED_PHASE 
NAIBRD_VR_CHAN_RAW_MEASURED_PERCENT_TORQUE 
NAIBRD_VR_CHAN_RAW_MEASURED_AMPLITUDE 
NAIBRD_VR_CHAN_RAW_MEASURED_FREQUENCY 
NAIBRD_VR_CHAN_RAW_NUMBER_OF_TEETH 
NAIBRD_VR_CHAN_RAW_MEASURED_RPM 
NAIBRD_VR_CHAN_RAW_AVERAGING_TIME 
NAIBRD_VR_CHAN_RAW_DEBOUNCE_TIME 
NAIBRD_VR_CHAN_RAW_MINIMUM_AMPLITUDE 
NAIBRD_VR_CHAN_RAW_MINIMUM_FREQUENCY 
NAIBRD_VR_CHAN_RAW_CYCLE_COUNT 
NAIBRD_VR_CHAN_RAW_AUTO_THRESHOLD_PERCENT 
NAIBRD_VR_CHAN_RAW_AUTO_THRESHOLD_HYSTERESIS 
NAIBRD_VR_CHAN_RAW_AUTO_DOWN_RANGE_TIME 

◆ naibrd_vr_config_value_type

naibrd_vr_config_value_type

Enumerator
NAIBRD_VR_CONFIG_VOLTAGE_THRESHOLD_HIGH 
NAIBRD_VR_CONFIG_VOLTAGE_THRESHOLD_LOW 
NAIBRD_VR_CONFIG_ZERO_TORQUE_SIGNAL_PHASE 
NAIBRD_VR_CONFIG_MAX_TORQUE_SIGNAL_PHASE 
NAIBRD_VR_CONFIG_NUMBER_OF_TEETH 
NAIBRD_VR_CONFIG_AVERAGING_TIME 
NAIBRD_VR_CONFIG_DEBOUNCE_TIME 
NAIBRD_VR_CONFIG_MINIMUM_AMPLITUDE 
NAIBRD_VR_CONFIG_MINIMUM_FREQUENCY 
NAIBRD_VR_CONFIG_AUTO_THRESHOLD_PERCENT 
NAIBRD_VR_CONFIG_AUTO_THRESHOLD_HYSTERESIS 

◆ naibrd_vr_conversion_type

naibrd_vr_conversion_type

Enumerator
NAIBRD_VR_CONVERSION_TYPE_VOLTAGE 
NAIBRD_VR_CONVERSION_TYPE_HZ 
NAIBRD_VR_CONVERSION_TYPE_DEGREES 
NAIBRD_VR_CONVERSION_TYPE_PERCENT 
NAIBRD_VR_CONVERSION_TYPE_RPM 
NAIBRD_VR_CONVERSION_TYPE_USEC 
NAIBRD_VR_CONVERSION_TYPE_NSEC 

◆ naibrd_vr_measured_value_type

naibrd_vr_measured_value_type

Enumerator
NAIBRD_VR_MEASURED_PERIOD 
NAIBRD_VR_MEASURED_PHASE 
NAIBRD_VR_MEASURED_PERCENT_TORQUE 
NAIBRD_VR_MEASURED_AMPLITUDE 
NAIBRD_VR_MEASURED_FREQUENCY 
NAIBRD_VR_MEASURED_RPM 
NAIBRD_VR_MEASURED_CYCLE_COUNT 

◆ naibrd_vr_range_select_type

naibrd_vr_range_select_type

Enumerator
NAIBRD_VR_RANGE_AUTO 
NAIBRD_VR_RANGE_50mV 
NAIBRD_VR_RANGE_100mV 
NAIBRD_VR_RANGE_250mV 
NAIBRD_VR_RANGE_500mV 
NAIBRD_VR_RANGE_1V 
NAIBRD_VR_RANGE_2P5V 
NAIBRD_VR_RANGE_5V 
NAIBRD_VR_RANGE_12P5V 
NAIBRD_VR_RANGE_25V 
NAIBRD_VR_RANGE_50V 
NAIBRD_VR_RANGE_100V 
NAIBRD_VR_RANGE_UNKNOWN 

◆ naibrd_vr_raw

naibrd_vr_raw

Enumerator
NAIBRD_VR_RAW_TEST_ENABLE 
NAIBRD_VR_RAW_POWER_SUPPLY_ENABLE 
NAIBRD_VR_RAW_CHAN_STATUS_ENABLE 
NAIBRD_VR_RAW_CHANNEL_ENABLE 
NAIBRD_VR_RAW_DIPOLE_ENABLE 
NAIBRD_VR_RAW_FALLING_EDGE_MEASUREMENT_ENABLE 
NAIBRD_VR_RAW_TERMINATION_ENABLE 
NAIBRD_VR_RAW_AC_COUPLE_ENABLE 
NAIBRD_VR_RAW_RANGE_SELECT 
NAIBRD_VR_RAW_SET_ZERO_TORQUE_SIGNAL_PHASE 
NAIBRD_VR_RAW_RESET_CYCLE_COUNT 
NAIBRD_VR_RAW_AUTO_THRESHOLD_ENABLE 

◆ naibrd_vr_test_enable

naibrd_vr_test_enable

Enumerator
NAIBRD_VR_TEST_ENABLE_IBIT_D3