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

Go to the source code of this file.

Typedefs

typedef enum naibrd_sd_chan_mapped_status_type naibrd_sd_chan_mapped_status_type_t
 
typedef enum naibrd_sd_raw naibrd_sd_raw_t
 
typedef enum naibrd_sd_test_enable naibrd_sd_test_enable_t
 
typedef enum naibrd_sd_channel_raw naibrd_sd_channel_raw_t
 
typedef enum naibrd_sd_threshold naibrd_sd_threshold_t
 
typedef enum naibrd_sd_event_mapped_category_type naibrd_sd_event_mapped_category_type_t
 
typedef enum naibrd_sd_event_mapped_status_type naibrd_sd_event_mapped_status_type_t
 
typedef enum naibrd_sd_floating_point_attributes naibrd_sd_floating_point_attributes_t
 

Enumerations

enum  naibrd_sd_chan_mapped_status_type {
  NAIBRD_SD_CHAN_MAPPED_STATUS_BIT_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_BIT_REALTIME , NAIBRD_SD_CHAN_MAPPED_STATUS_SIGNAL_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_SIGNAL_REALTIME ,
  NAIBRD_SD_CHAN_MAPPED_STATUS_REF_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_REF_REALTIME , NAIBRD_SD_CHAN_MAPPED_STATUS_2SPDLOCKLOSS_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_2SPDLOCKLOSS_REALTIME ,
  NAIBRD_SD_CHAN_MAPPED_STATUS_ANGLEDELTA_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_ANGLEDELTA_REALTIME , NAIBRD_SD_CHAN_MAPPED_STATUS_OPEN_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_OPEN_REALTIME ,
  NAIBRD_SD_CHAN_MAPPED_STATUS_SHORT_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_SHORT_REALTIME , NAIBRD_SD_CHAN_MAPPED_STATUS_REF_FAULT_HIGH_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_REF_FAULT_HIGH_REALTIME ,
  NAIBRD_SD_CHAN_MAPPED_STATUS_SIG_FAULT_HIGH_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_SIG_FAULT_HIGH_REALTIME , NAIBRD_SD_CHAN_MAPPED_STATUS_SUMMARY_LATCHED , NAIBRD_SD_CHAN_MAPPED_STATUS_SUMMARY_REALTIME
}
 
enum  naibrd_sd_raw {
  NAIBRD_SD_RAW_ACTIVE_CHANNEL , NAIBRD_SD_RAW_LATCH , NAIBRD_SD_RAW_TEST_ENABLE , NAIBRD_SD_RAW_TEST_ANGLE ,
  NAIBRD_SD_RAW_ONBOARD_REF_FREQ , NAIBRD_SD_RAW_ONBOARD_REF_VOLT
}
 
enum  naibrd_sd_test_enable { NAIBRD_SD_TEST_ENABLE_D0 = 0x0001 , NAIBRD_SD_TEST_ENABLE_D2 = 0x0004 , NAIBRD_SD_TEST_ENABLE_D3 = 0x0008 }
 
enum  naibrd_sd_channel_raw {
  NAIBRD_SD_CHAN_RAW_ANGLE , NAIBRD_SD_CHAN_RAW_ANGLE_COMBINED , NAIBRD_SD_CHAN_RAW_VELOCITY , NAIBRD_SD_CHAN_RAW_BANDWIDTH ,
  NAIBRD_SD_CHAN_RAW_ANGLE_DELTA , NAIBRD_SD_CHAN_RAW_FREQUENCY , NAIBRD_SD_CHAN_RAW_SIGNAL_VOLTAGE , NAIBRD_SD_CHAN_RAW_REF_VOLTAGE ,
  NAIBRD_SD_CHAN_RAW_SIG_LOSS_THRESHOLD , NAIBRD_SD_CHAN_RAW_REF_LOSS_THRESHOLD , NAIBRD_SD_CHAN_RAW_ENC_COMM , NAIBRD_SD_CHAN_RAW_SINE ,
  NAIBRD_SD_CHAN_RAW_COSINE , NAIBRD_SD_CHAN_RAW_BIT_ERROR_LIMIT , NAIBRD_SD_CHAN_RAW_SIG_FAULT_HI_THRESHOLD , NAIBRD_SD_CHAN_RAW_REF_FAULT_HI_THRESHOLD ,
  NAIBRD_SD_CHAN_RAW_OPEN_THRESHOLD , NAIBRD_SD_CHAN_RAW_SHORT_THRESHOLD
}
 
enum  naibrd_sd_threshold {
  NAIBRD_SD_OPEN_THRESHOLD = 0x0 , NAIBRD_SD_SHORT_THRESHOLD , NAIBRD_SD_SIG_FAULT_HI_THRESHOLD , NAIBRD_SD_SIG_FAULT_LO_THRESHOLD ,
  NAIBRD_SD_REF_FAULT_HI_THRESHOLD , NAIBRD_SD_REF_FAULT_LO_THRESHOLD
}
 
enum  naibrd_sd_event_mapped_category_type { NAIBRD_SD_EVT_MAP_CATEGORY_FIFO }
 
enum  naibrd_sd_event_mapped_status_type {
  NAIBRD_SD_EVT_MAP_STATUS_FIFO_EMPTY_REAL = 0 , NAIBRD_SD_EVT_MAP_STATUS_FIFO_EMPTY_LATCH , NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_EMPTY_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_EMPTY_LATCH ,
  NAIBRD_SD_EVT_MAP_STATUS_FIFO_LOW_THRESHOLD_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_LOW_THRESHOLD_LATCH , NAIBRD_SD_EVT_MAP_STATUS_FIFO_HIGH_THRESHOLD_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_HIGH_THRESHOLD_LATCH ,
  NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_FULL_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_FULL_LATCH , NAIBRD_SD_EVT_MAP_STATUS_FIFO_FULL_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_FULL_LATCH ,
  NAIBRD_SD_EVT_MAP_STATUS_FIFO_DONE_REAL , NAIBRD_SD_EVT_MAP_STATUS_FIFO_DONE_LATCH
}
 
enum  naibrd_sd_floating_point_attributes { NAIBRD_SD_ANGLE_SCALE = 0x0 , NAIBRD_SD_ANGLE_OFFSET , NAIBRD_SD_VELOCITY_SCALE , NAIBRD_SD_VELOCITY_OFFSET }
 

Typedef Documentation

◆ naibrd_sd_chan_mapped_status_type_t

◆ naibrd_sd_channel_raw_t

◆ naibrd_sd_event_mapped_category_type_t

◆ naibrd_sd_event_mapped_status_type_t

◆ naibrd_sd_floating_point_attributes_t

◆ naibrd_sd_raw_t

◆ naibrd_sd_test_enable_t

◆ naibrd_sd_threshold_t

Enumeration Type Documentation

◆ naibrd_sd_chan_mapped_status_type

naibrd_sd_chan_mapped_status_type

Enumerator
NAIBRD_SD_CHAN_MAPPED_STATUS_BIT_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_BIT_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_SIGNAL_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_SIGNAL_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_REF_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_REF_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_2SPDLOCKLOSS_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_2SPDLOCKLOSS_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_ANGLEDELTA_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_ANGLEDELTA_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_OPEN_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_OPEN_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_SHORT_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_SHORT_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_REF_FAULT_HIGH_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_REF_FAULT_HIGH_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_SIG_FAULT_HIGH_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_SIG_FAULT_HIGH_REALTIME 
NAIBRD_SD_CHAN_MAPPED_STATUS_SUMMARY_LATCHED 
NAIBRD_SD_CHAN_MAPPED_STATUS_SUMMARY_REALTIME 

◆ naibrd_sd_channel_raw

naibrd_sd_channel_raw

Enumerator
NAIBRD_SD_CHAN_RAW_ANGLE 
NAIBRD_SD_CHAN_RAW_ANGLE_COMBINED 
NAIBRD_SD_CHAN_RAW_VELOCITY 
NAIBRD_SD_CHAN_RAW_BANDWIDTH 
NAIBRD_SD_CHAN_RAW_ANGLE_DELTA 
NAIBRD_SD_CHAN_RAW_FREQUENCY 
NAIBRD_SD_CHAN_RAW_SIGNAL_VOLTAGE 
NAIBRD_SD_CHAN_RAW_REF_VOLTAGE 
NAIBRD_SD_CHAN_RAW_SIG_LOSS_THRESHOLD 
NAIBRD_SD_CHAN_RAW_REF_LOSS_THRESHOLD 
NAIBRD_SD_CHAN_RAW_ENC_COMM 
NAIBRD_SD_CHAN_RAW_SINE 
NAIBRD_SD_CHAN_RAW_COSINE 
NAIBRD_SD_CHAN_RAW_BIT_ERROR_LIMIT 
NAIBRD_SD_CHAN_RAW_SIG_FAULT_HI_THRESHOLD 
NAIBRD_SD_CHAN_RAW_REF_FAULT_HI_THRESHOLD 
NAIBRD_SD_CHAN_RAW_OPEN_THRESHOLD 
NAIBRD_SD_CHAN_RAW_SHORT_THRESHOLD 

◆ naibrd_sd_event_mapped_category_type

naibrd_sd_event_mapped_category_type

Enumerator
NAIBRD_SD_EVT_MAP_CATEGORY_FIFO 

◆ naibrd_sd_event_mapped_status_type

naibrd_sd_event_mapped_status_type

Enumerator
NAIBRD_SD_EVT_MAP_STATUS_FIFO_EMPTY_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_EMPTY_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_EMPTY_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_EMPTY_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_LOW_THRESHOLD_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_LOW_THRESHOLD_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_HIGH_THRESHOLD_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_HIGH_THRESHOLD_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_FULL_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_ALMOST_FULL_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_FULL_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_FULL_LATCH 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_DONE_REAL 
NAIBRD_SD_EVT_MAP_STATUS_FIFO_DONE_LATCH 

◆ naibrd_sd_floating_point_attributes

naibrd_sd_floating_point_attributes

Enumerator
NAIBRD_SD_ANGLE_SCALE 
NAIBRD_SD_ANGLE_OFFSET 
NAIBRD_SD_VELOCITY_SCALE 
NAIBRD_SD_VELOCITY_OFFSET 

◆ naibrd_sd_raw

naibrd_sd_raw

Enumerator
NAIBRD_SD_RAW_ACTIVE_CHANNEL 
NAIBRD_SD_RAW_LATCH 
NAIBRD_SD_RAW_TEST_ENABLE 
NAIBRD_SD_RAW_TEST_ANGLE 
NAIBRD_SD_RAW_ONBOARD_REF_FREQ 
NAIBRD_SD_RAW_ONBOARD_REF_VOLT 

◆ naibrd_sd_test_enable

naibrd_sd_test_enable

Enumerator
NAIBRD_SD_TEST_ENABLE_D0 
NAIBRD_SD_TEST_ENABLE_D2 
NAIBRD_SD_TEST_ENABLE_D3 

◆ naibrd_sd_threshold

naibrd_sd_threshold

Enumerator
NAIBRD_SD_OPEN_THRESHOLD 
NAIBRD_SD_SHORT_THRESHOLD 
NAIBRD_SD_SIG_FAULT_HI_THRESHOLD 
NAIBRD_SD_SIG_FAULT_LO_THRESHOLD 
NAIBRD_SD_REF_FAULT_HI_THRESHOLD 
NAIBRD_SD_REF_FAULT_LO_THRESHOLD