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

Go to the source code of this file.

Typedefs

typedef enum naibrd_dt_chan_mapped_status_type naibrd_dt_chan_mapped_status_type_t
 
typedef enum naibrd_dt_bit_status_type naibrd_dt_bit_status_type_t
 
typedef enum naibrd_dt_state naibrd_dt_state_t
 
typedef enum naibrd_dt_ioformat naibrd_dt_ioformat_t
 
typedef enum naibrd_dt_thresh_type naibrd_dt_thresh_type_t
 
typedef enum naibrd_dt_pullresconfig_type naibrd_dt_pullresconfig_t
 
typedef enum naibrd_dt_currsharecfg_type naibrd_dt_currsharecfg_t
 
typedef enum naibrd_dt_pullconfig_type naibrd_dt_pullconfig_t
 
typedef enum naibrd_dt_gndswcfg_type naibrd_dt_gndswcfg_t
 
typedef enum naibrd_dt_reset_type naibrd_dt_reset_type_t
 
typedef enum naibrd_dt_interrupt_type naibrd_dt_interrupt_type_t
 
typedef enum naibrd_dt_enable_type naibrd_dt_enable_type_t
 
typedef enum naibrd_dt_enhanced_mode_type naibrd_dt_enhanced_mode_t
 
typedef enum naibrd_dt_event_mapped_status_type naibrd_dt_event_mapped_status_type_t
 
typedef enum naibrd_dt_event_mapped_category_type naibrd_dt_event_mapped_category_type_t
 
typedef enum naibrd_dt_pattern_ctrl_type naibrd_dt_pattern_ctrl_t
 
typedef enum naibrd_dt_pwm_polarity_type naibrd_dt_pwm_polarity_t
 
typedef enum naibrd_dt_pwm_mode_type naibrd_dt_pwm_mode_t
 
typedef enum naibrd_dt_module_power_reset_status_type naibrd_dt_module_power_reset_status_type_t
 
typedef enum naibrd_dt_module_power_reset_type naibrd_dt_module_power_reset_type_t
 
typedef enum naibrd_dt_all_chan_type naibrd_dt_all_chan_type_t
 

Enumerations

enum  naibrd_dt_chan_mapped_status_type {
  NAIBRD_DT_STATUS_BIT_LATCHED , NAIBRD_DT_STATUS_BIT_REALTIME , NAIBRD_DT_STATUS_OVERCURRENT_LATCHED , NAIBRD_DT_STATUS_OVERCURRENT_REALTIME ,
  NAIBRD_DT_STATUS_MAX_HI_LATCHED , NAIBRD_DT_STATUS_MAX_HI_REALTIME , NAIBRD_DT_STATUS_MIN_LO_LATCHED , NAIBRD_DT_STATUS_MIN_LO_REALTIME ,
  NAIBRD_DT_STATUS_MID_RANGE_LATCHED , NAIBRD_DT_STATUS_MID_RANGE_REALTIME , NAIBRD_DT_STATUS_LO_HI_TRANS_LATCHED , NAIBRD_DT_STATUS_LO_HI_TRANS_REALTIME ,
  NAIBRD_DT_STATUS_HI_LO_TRANS_LATCHED , NAIBRD_DT_STATUS_HI_LO_TRANS_REALTIME , NAIBRD_DT_STATUS_SUMMARY_LATCHED , NAIBRD_DT_STATUS_SUMMARY_REALTIME ,
  NAIBRD_DT_STATUS_WATCHDOG_TIMER_FAULT_LATCHED , NAIBRD_DT_STATUS_WATCHDOG_TIMER_FAULT_REALTIME , NAIBRD_DT_STATUS_INTER_FPGA_FAULT_LATCHED , NAIBRD_DT_STATUS_INTER_FPGA_FAULT_REALTIME
}
 
enum  naibrd_dt_bit_status_type { NAIBRD_DT_STATUS_BIT_LATCHED_VOLTAGE , NAIBRD_DT_STATUS_BIT_LATCHED_DRIVER , NAIBRD_DT_STATUS_BIT_REALTIME_VOLTAGE , NAIBRD_DT_STATUS_BIT_REALTIME_DRIVER }
 
enum  naibrd_dt_state { NAIBRD_DT_STATE_LO = 0u , NAIBRD_DT_STATE_HI = 1u , NAIBRD_DT_STATE_UNKNOWN = 2u }
 
enum  naibrd_dt_ioformat {
  NAIBRD_DT_IOFORMAT_INPUT , NAIBRD_DT_IOFORMAT_OUTPUT_LOW , NAIBRD_DT_IOFORMAT_OUTPUT_HIGH , NAIBRD_DT_IOFORMAT_OUTPUT_PUSHPULL ,
  NAIBRD_DT_IOFORMAT_UNKNOWN
}
 
enum  naibrd_dt_thresh_type { NAIBRD_DT_THRESH_MAX_HI , NAIBRD_DT_THRESH_UPPER , NAIBRD_DT_THRESH_LOWER , NAIBRD_DT_THRESH_MIN_LO }
 
enum  naibrd_dt_pullresconfig_type {
  NAIBRD_DT_PULLRESCONFIG_OFF , NAIBRD_DT_PULLRESCONFIG_PULLDOWN , NAIBRD_DT_PULLRESCONFIG_PULLUP , NAIBRD_DT_PULLRESCONFIG_BOTH ,
  NAIBRD_DT_PULLRESCONFIG_UNKNOWN
}
 
enum  naibrd_dt_currsharecfg_type {
  NAIBRD_DT_CURSHARECFG_NONE = 0u , NAIBRD_DT_CURSHARECFG_SH12_IND34 = 2u , NAIBRD_DT_CURSHARECFG_SH123_IND4 = 6u , NAIBRD_DT_CURSHARECFG_SH34_IND12 = 8u ,
  NAIBRD_DT_CURSHARECFG_SH12_SH34 = 10u , NAIBRD_DT_CURSHARECFG_ALL = 15u , NAIBRD_DT_CURSHARECFG_UNKNOWN = 16u
}
 
enum  naibrd_dt_pullconfig_type { NAIBRD_DT_PULLCONFIG_PULLDOWN , NAIBRD_DT_PULLCONFIG_PULLUP , NAIBRD_DT_PULLCONFIG_UNKNOWN }
 
enum  naibrd_dt_gndswcfg_type { NAIBRD_DT_GNDSWCFG_DISABLED , NAIBRD_DT_GNDSWCFG_ENABLED , NAIBRD_DT_GNDSWCFG_UNKNOWN }
 
enum  naibrd_dt_reset_type { NAIBRD_DT_RESET_TIMER , NAIBRD_DT_RESET_OVERCURRENT }
 
enum  naibrd_dt_interrupt_type { NAIBRD_DT_EDGE_INTERRUPT , NAIBRD_DT_LEVEL_INTERRUPT }
 
enum  naibrd_dt_enable_type { NAIBRD_DT_DISABLE , NAIBRD_DT_ENABLE , NAIBRD_DT_ENABLE_UNKNOWN }
 
enum  naibrd_dt_enhanced_mode_type {
  NAIBRD_DT_MODE_STD_INPUT_OUTPUT , NAIBRD_DT_MODE_MEASURE_HIGH_TIME , NAIBRD_DT_MODE_MEASURE_LOW_TIME , NAIBRD_DT_MODE_TIMESTAMP_RISING_EDGES ,
  NAIBRD_DT_MODE_TIMESTAMP_FALLING_EDGES , NAIBRD_DT_MODE_TIMESTAMP_ALL_EDGES , NAIBRD_DT_MODE_COUNT_RISING_EDGES , NAIBRD_DT_MODE_COUNT_FALLING_EDGES ,
  NAIBRD_DT_MODE_COUNT_ALL_EDGES , NAIBRD_DT_MODE_MEASURE_PERIOD_RISING_EDGE , NAIBRD_DT_MODE_MEASURE_FREQUENCY , NAIBRD_DT_MODE_OUTPUT_PWM_FOREVER ,
  NAIBRD_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAIBRD_DT_MODE_OUTPUT_PATTERN_RAM , NAIBRD_DT_MODE_UNKNOWN
}
 
enum  naibrd_dt_event_mapped_status_type {
  NAIBRD_DT_EVENT_STATUS_FIFO_BTWN_ALMOST_EMPTY_FULL_REALTIME = 0u , 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
}
 
enum  naibrd_dt_event_mapped_category_type { NAIBRD_DT_EVENT_MAP_FIFO }
 
enum  naibrd_dt_pattern_ctrl_type {
  NAIBRD_DT_CTRL_PATTERN_ENABLE , NAIBRD_DT_CTRL_PATTERN_BURST , NAIBRD_DT_CTRL_PATTERN_PAUSE , NAIBRD_DT_CTRL_PATTERN_SYNC_RISING ,
  NAIBRD_DT_CTRL_PATTERN_SYNC_FALLING
}
 
enum  naibrd_dt_pwm_polarity_type { NAIBRD_DT_PWMPOLARITY_POS , NAIBRD_DT_PWMPOLARITY_NEG , NAIBRD_DT_PWMPOLARITY_UNKNOWN }
 
enum  naibrd_dt_pwm_mode_type { NAIBRD_DT_PWM_MODE_OFF , NAIBRD_DT_PWM_MODE_ON }
 
enum  naibrd_dt_module_power_reset_status_type {
  NAIBRD_DT_MODULE_POWER_RESET_STATUS_POWERED_DOWN , NAIBRD_DT_MODULE_POWER_RESET_STATUS_NOT_DETECTED , NAIBRD_DT_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT , NAIBRD_DT_MODULE_POWER_RESET_STATUS_FW_NOT_READY ,
  NAIBRD_DT_MODULE_POWER_RESET_STATUS_COMM_ERROR
}
 
enum  naibrd_dt_module_power_reset_type { NAIBRD_DT_MODULE_POWER_RESET_REQUEST_RESET = 0 , NAIBRD_DT_MODULE_POWER_RESET_REQUEST_POWER_DOWN , NAIBRD_DT_MODULE_POWER_RESET_REQUEST_POWER_UP }
 
enum  naibrd_dt_all_chan_type { NAIBRD_DT_ALL_CHAN_OUTPUT_STATE , NAIBRD_DT_ALL_CHAN_INPUT_STATE }
 

Typedef Documentation

◆ naibrd_dt_all_chan_type_t

◆ naibrd_dt_bit_status_type_t

◆ naibrd_dt_chan_mapped_status_type_t

◆ naibrd_dt_currsharecfg_t

◆ naibrd_dt_enable_type_t

◆ naibrd_dt_enhanced_mode_t

◆ naibrd_dt_event_mapped_category_type_t

◆ naibrd_dt_event_mapped_status_type_t

◆ naibrd_dt_gndswcfg_t

◆ naibrd_dt_interrupt_type_t

◆ naibrd_dt_ioformat_t

◆ naibrd_dt_module_power_reset_status_type_t

◆ naibrd_dt_module_power_reset_type_t

◆ naibrd_dt_pattern_ctrl_t

◆ naibrd_dt_pullconfig_t

◆ naibrd_dt_pullresconfig_t

◆ naibrd_dt_pwm_mode_t

◆ naibrd_dt_pwm_polarity_t

◆ naibrd_dt_reset_type_t

◆ naibrd_dt_state_t

◆ naibrd_dt_thresh_type_t

Enumeration Type Documentation

◆ naibrd_dt_all_chan_type

naibrd_dt_all_chan_type

Enumerator
NAIBRD_DT_ALL_CHAN_OUTPUT_STATE 
NAIBRD_DT_ALL_CHAN_INPUT_STATE 

◆ naibrd_dt_bit_status_type

naibrd_dt_bit_status_type

Enumerator
NAIBRD_DT_STATUS_BIT_LATCHED_VOLTAGE 
NAIBRD_DT_STATUS_BIT_LATCHED_DRIVER 
NAIBRD_DT_STATUS_BIT_REALTIME_VOLTAGE 
NAIBRD_DT_STATUS_BIT_REALTIME_DRIVER 

◆ naibrd_dt_chan_mapped_status_type

naibrd_dt_chan_mapped_status_type

Enumerator
NAIBRD_DT_STATUS_BIT_LATCHED 
NAIBRD_DT_STATUS_BIT_REALTIME 
NAIBRD_DT_STATUS_OVERCURRENT_LATCHED 
NAIBRD_DT_STATUS_OVERCURRENT_REALTIME 
NAIBRD_DT_STATUS_MAX_HI_LATCHED 
NAIBRD_DT_STATUS_MAX_HI_REALTIME 
NAIBRD_DT_STATUS_MIN_LO_LATCHED 
NAIBRD_DT_STATUS_MIN_LO_REALTIME 
NAIBRD_DT_STATUS_MID_RANGE_LATCHED 
NAIBRD_DT_STATUS_MID_RANGE_REALTIME 
NAIBRD_DT_STATUS_LO_HI_TRANS_LATCHED 
NAIBRD_DT_STATUS_LO_HI_TRANS_REALTIME 
NAIBRD_DT_STATUS_HI_LO_TRANS_LATCHED 
NAIBRD_DT_STATUS_HI_LO_TRANS_REALTIME 
NAIBRD_DT_STATUS_SUMMARY_LATCHED 
NAIBRD_DT_STATUS_SUMMARY_REALTIME 
NAIBRD_DT_STATUS_WATCHDOG_TIMER_FAULT_LATCHED 
NAIBRD_DT_STATUS_WATCHDOG_TIMER_FAULT_REALTIME 
NAIBRD_DT_STATUS_INTER_FPGA_FAULT_LATCHED 
NAIBRD_DT_STATUS_INTER_FPGA_FAULT_REALTIME 

◆ naibrd_dt_currsharecfg_type

naibrd_dt_currsharecfg_type

Enumerator
NAIBRD_DT_CURSHARECFG_NONE 
NAIBRD_DT_CURSHARECFG_SH12_IND34 
NAIBRD_DT_CURSHARECFG_SH123_IND4 
NAIBRD_DT_CURSHARECFG_SH34_IND12 
NAIBRD_DT_CURSHARECFG_SH12_SH34 
NAIBRD_DT_CURSHARECFG_ALL 
NAIBRD_DT_CURSHARECFG_UNKNOWN 

◆ naibrd_dt_enable_type

naibrd_dt_enable_type

Enumerator
NAIBRD_DT_DISABLE 
NAIBRD_DT_ENABLE 
NAIBRD_DT_ENABLE_UNKNOWN 

◆ naibrd_dt_enhanced_mode_type

naibrd_dt_enhanced_mode_type

Enumerator
NAIBRD_DT_MODE_STD_INPUT_OUTPUT 
NAIBRD_DT_MODE_MEASURE_HIGH_TIME 
NAIBRD_DT_MODE_MEASURE_LOW_TIME 
NAIBRD_DT_MODE_TIMESTAMP_RISING_EDGES 
NAIBRD_DT_MODE_TIMESTAMP_FALLING_EDGES 
NAIBRD_DT_MODE_TIMESTAMP_ALL_EDGES 
NAIBRD_DT_MODE_COUNT_RISING_EDGES 
NAIBRD_DT_MODE_COUNT_FALLING_EDGES 
NAIBRD_DT_MODE_COUNT_ALL_EDGES 
NAIBRD_DT_MODE_MEASURE_PERIOD_RISING_EDGE 
NAIBRD_DT_MODE_MEASURE_FREQUENCY 
NAIBRD_DT_MODE_OUTPUT_PWM_FOREVER 
NAIBRD_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAIBRD_DT_MODE_OUTPUT_PATTERN_RAM 
NAIBRD_DT_MODE_UNKNOWN 

◆ naibrd_dt_event_mapped_category_type

◆ naibrd_dt_event_mapped_status_type

naibrd_dt_event_mapped_status_type

Enumerator
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 

◆ naibrd_dt_gndswcfg_type

naibrd_dt_gndswcfg_type

Enumerator
NAIBRD_DT_GNDSWCFG_DISABLED 
NAIBRD_DT_GNDSWCFG_ENABLED 
NAIBRD_DT_GNDSWCFG_UNKNOWN 

◆ naibrd_dt_interrupt_type

naibrd_dt_interrupt_type

Enumerator
NAIBRD_DT_EDGE_INTERRUPT 
NAIBRD_DT_LEVEL_INTERRUPT 

◆ naibrd_dt_ioformat

naibrd_dt_ioformat

Enumerator
NAIBRD_DT_IOFORMAT_INPUT 
NAIBRD_DT_IOFORMAT_OUTPUT_LOW 
NAIBRD_DT_IOFORMAT_OUTPUT_HIGH 
NAIBRD_DT_IOFORMAT_OUTPUT_PUSHPULL 
NAIBRD_DT_IOFORMAT_UNKNOWN 

◆ naibrd_dt_module_power_reset_status_type

naibrd_dt_module_power_reset_status_type

Enumerator
NAIBRD_DT_MODULE_POWER_RESET_STATUS_POWERED_DOWN 
NAIBRD_DT_MODULE_POWER_RESET_STATUS_NOT_DETECTED 
NAIBRD_DT_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT 
NAIBRD_DT_MODULE_POWER_RESET_STATUS_FW_NOT_READY 
NAIBRD_DT_MODULE_POWER_RESET_STATUS_COMM_ERROR 

◆ naibrd_dt_module_power_reset_type

naibrd_dt_module_power_reset_type

Enumerator
NAIBRD_DT_MODULE_POWER_RESET_REQUEST_RESET 
NAIBRD_DT_MODULE_POWER_RESET_REQUEST_POWER_DOWN 
NAIBRD_DT_MODULE_POWER_RESET_REQUEST_POWER_UP 

◆ naibrd_dt_pattern_ctrl_type

naibrd_dt_pattern_ctrl_type

Enumerator
NAIBRD_DT_CTRL_PATTERN_ENABLE 
NAIBRD_DT_CTRL_PATTERN_BURST 
NAIBRD_DT_CTRL_PATTERN_PAUSE 
NAIBRD_DT_CTRL_PATTERN_SYNC_RISING 
NAIBRD_DT_CTRL_PATTERN_SYNC_FALLING 

◆ naibrd_dt_pullconfig_type

naibrd_dt_pullconfig_type

Enumerator
NAIBRD_DT_PULLCONFIG_PULLDOWN 
NAIBRD_DT_PULLCONFIG_PULLUP 
NAIBRD_DT_PULLCONFIG_UNKNOWN 

◆ naibrd_dt_pullresconfig_type

naibrd_dt_pullresconfig_type

Enumerator
NAIBRD_DT_PULLRESCONFIG_OFF 
NAIBRD_DT_PULLRESCONFIG_PULLDOWN 
NAIBRD_DT_PULLRESCONFIG_PULLUP 
NAIBRD_DT_PULLRESCONFIG_BOTH 
NAIBRD_DT_PULLRESCONFIG_UNKNOWN 

◆ naibrd_dt_pwm_mode_type

naibrd_dt_pwm_mode_type

Enumerator
NAIBRD_DT_PWM_MODE_OFF 
NAIBRD_DT_PWM_MODE_ON 

◆ naibrd_dt_pwm_polarity_type

naibrd_dt_pwm_polarity_type

Enumerator
NAIBRD_DT_PWMPOLARITY_POS 
NAIBRD_DT_PWMPOLARITY_NEG 
NAIBRD_DT_PWMPOLARITY_UNKNOWN 

◆ naibrd_dt_reset_type

naibrd_dt_reset_type

Enumerator
NAIBRD_DT_RESET_TIMER 
NAIBRD_DT_RESET_OVERCURRENT 

◆ naibrd_dt_state

naibrd_dt_state

Enumerator
NAIBRD_DT_STATE_LO 
NAIBRD_DT_STATE_HI 
NAIBRD_DT_STATE_UNKNOWN 

◆ naibrd_dt_thresh_type

naibrd_dt_thresh_type

Enumerator
NAIBRD_DT_THRESH_MAX_HI 
NAIBRD_DT_THRESH_UPPER 
NAIBRD_DT_THRESH_LOWER 
NAIBRD_DT_THRESH_MIN_LO