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

Go to the source code of this file.

Typedefs

typedef int32_t nai_dt_enhanced_mode_t
 
typedef uint32_t nai_dt_raw_group_t
 
typedef uint32_t nai_dt_raw_channel_t
 

Enumerations

enum  nai_dt_enhanced_mode {
  NAI_DT_MODE_STD_INPUT_OUTPUT , NAI_DT_MODE_MEASURE_HIGH_TIME , NAI_DT_MODE_MEASURE_LOW_TIME , NAI_DT_MODE_TIMESTAMP_RISING_EDGES ,
  NAI_DT_MODE_TIMESTAMP_FALLING_EDGES , NAI_DT_MODE_TIMESTAMP_ALL_EDGES , NAI_DT_MODE_COUNT_RISING_EDGES , NAI_DT_MODE_COUNT_FALLING_EDGES ,
  NAI_DT_MODE_COUNT_ALL_EDGES , NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE , NAI_DT_MODE_MEASURE_FREQUENCY , NAI_DT_MODE_OUTPUT_PWM_FOREVER ,
  NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAI_DT_MODE_OUTPUT_PATTERN_RAM , NAI_DT_MODE_ENHANCED_INPUT , NAI_DT_MODE_BASIC_INPUT ,
  NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE , NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE , NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL , NAI_DT_MODE_TYPE_ENUM_COUNT ,
  NAI_DT_MODE_STD_INPUT_OUTPUT , NAI_DT_MODE_MEASURE_HIGH_TIME , NAI_DT_MODE_MEASURE_LOW_TIME , NAI_DT_MODE_TIMESTAMP_RISING_EDGES ,
  NAI_DT_MODE_TIMESTAMP_FALLING_EDGES , NAI_DT_MODE_TIMESTAMP_ALL_EDGES , NAI_DT_MODE_COUNT_RISING_EDGES , NAI_DT_MODE_COUNT_FALLING_EDGES ,
  NAI_DT_MODE_COUNT_ALL_EDGES , NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE , NAI_DT_MODE_MEASURE_FREQUENCY , NAI_DT_MODE_OUTPUT_PWM_FOREVER ,
  NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAI_DT_MODE_OUTPUT_PATTERN_RAM , NAI_DT_MODE_ENHANCED_INPUT , NAI_DT_MODE_BASIC_INPUT ,
  NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE , NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE , NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL , NAI_DT_MODE_TYPE_ENUM_COUNT
}
 
enum  nai_dt_enhanced_mode {
  NAI_DT_MODE_STD_INPUT_OUTPUT , NAI_DT_MODE_MEASURE_HIGH_TIME , NAI_DT_MODE_MEASURE_LOW_TIME , NAI_DT_MODE_TIMESTAMP_RISING_EDGES ,
  NAI_DT_MODE_TIMESTAMP_FALLING_EDGES , NAI_DT_MODE_TIMESTAMP_ALL_EDGES , NAI_DT_MODE_COUNT_RISING_EDGES , NAI_DT_MODE_COUNT_FALLING_EDGES ,
  NAI_DT_MODE_COUNT_ALL_EDGES , NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE , NAI_DT_MODE_MEASURE_FREQUENCY , NAI_DT_MODE_OUTPUT_PWM_FOREVER ,
  NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAI_DT_MODE_OUTPUT_PATTERN_RAM , NAI_DT_MODE_ENHANCED_INPUT , NAI_DT_MODE_BASIC_INPUT ,
  NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE , NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE , NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL , NAI_DT_MODE_TYPE_ENUM_COUNT ,
  NAI_DT_MODE_STD_INPUT_OUTPUT , NAI_DT_MODE_MEASURE_HIGH_TIME , NAI_DT_MODE_MEASURE_LOW_TIME , NAI_DT_MODE_TIMESTAMP_RISING_EDGES ,
  NAI_DT_MODE_TIMESTAMP_FALLING_EDGES , NAI_DT_MODE_TIMESTAMP_ALL_EDGES , NAI_DT_MODE_COUNT_RISING_EDGES , NAI_DT_MODE_COUNT_FALLING_EDGES ,
  NAI_DT_MODE_COUNT_ALL_EDGES , NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE , NAI_DT_MODE_MEASURE_FREQUENCY , NAI_DT_MODE_OUTPUT_PWM_FOREVER ,
  NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAI_DT_MODE_OUTPUT_PATTERN_RAM , NAI_DT_MODE_ENHANCED_INPUT , NAI_DT_MODE_BASIC_INPUT ,
  NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE , NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE , NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL , NAI_DT_MODE_TYPE_ENUM_COUNT
}
 
enum  nai_dt_raw_group_type {
  NAI_DT_RAW_GROUP_OUTPUT_STATE , NAI_DT_RAW_GROUP_INPUT_STATE , NAI_DT_RAW_GROUP_CURRENT_SHARE , NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT ,
  NAI_DT_RAW_GROUP_OUTPUT_STATE , NAI_DT_RAW_GROUP_INPUT_STATE , NAI_DT_RAW_GROUP_CURRENT_SHARE , NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT
}
 
enum  nai_dt_raw_group_type {
  NAI_DT_RAW_GROUP_OUTPUT_STATE , NAI_DT_RAW_GROUP_INPUT_STATE , NAI_DT_RAW_GROUP_CURRENT_SHARE , NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT ,
  NAI_DT_RAW_GROUP_OUTPUT_STATE , NAI_DT_RAW_GROUP_INPUT_STATE , NAI_DT_RAW_GROUP_CURRENT_SHARE , NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT
}
 
enum  nai_dt_raw_channel_type {
  NAI_DT_RAW_CHAN_VOLTAGE , NAI_DT_RAW_CHAN_BANK_CURRENT , NAI_DT_RAW_CHAN_THRESH_MAX_HI , NAI_DT_RAW_CHAN_THRESH_UPPER ,
  NAI_DT_RAW_CHAN_THRESH_LOWER , NAI_DT_RAW_CHAN_THRESH_MIN_LO , NAI_DT_RAW_CHAN_DEBOUNCETIME , NAI_DT_RAW_CHAN_PERIOD ,
  NAI_DT_RAW_CHAN_PULSEWIDTH , NAI_DT_RAW_CHAN_BURSTCOUNT , NAI_DT_RAW_CHAN_MODEREG , NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT ,
  NAI_DT_RAW_CHAN_VOLTAGE , NAI_DT_RAW_CHAN_BANK_CURRENT , NAI_DT_RAW_CHAN_THRESH_MAX_HI , NAI_DT_RAW_CHAN_THRESH_UPPER ,
  NAI_DT_RAW_CHAN_THRESH_LOWER , NAI_DT_RAW_CHAN_THRESH_MIN_LO , NAI_DT_RAW_CHAN_DEBOUNCETIME , NAI_DT_RAW_CHAN_PERIOD ,
  NAI_DT_RAW_CHAN_PULSEWIDTH , NAI_DT_RAW_CHAN_BURSTCOUNT , NAI_DT_RAW_CHAN_MODEREG , NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT
}
 
enum  nai_dt_raw_channel_type {
  NAI_DT_RAW_CHAN_VOLTAGE , NAI_DT_RAW_CHAN_BANK_CURRENT , NAI_DT_RAW_CHAN_THRESH_MAX_HI , NAI_DT_RAW_CHAN_THRESH_UPPER ,
  NAI_DT_RAW_CHAN_THRESH_LOWER , NAI_DT_RAW_CHAN_THRESH_MIN_LO , NAI_DT_RAW_CHAN_DEBOUNCETIME , NAI_DT_RAW_CHAN_PERIOD ,
  NAI_DT_RAW_CHAN_PULSEWIDTH , NAI_DT_RAW_CHAN_BURSTCOUNT , NAI_DT_RAW_CHAN_MODEREG , NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT ,
  NAI_DT_RAW_CHAN_VOLTAGE , NAI_DT_RAW_CHAN_BANK_CURRENT , NAI_DT_RAW_CHAN_THRESH_MAX_HI , NAI_DT_RAW_CHAN_THRESH_UPPER ,
  NAI_DT_RAW_CHAN_THRESH_LOWER , NAI_DT_RAW_CHAN_THRESH_MIN_LO , NAI_DT_RAW_CHAN_DEBOUNCETIME , NAI_DT_RAW_CHAN_PERIOD ,
  NAI_DT_RAW_CHAN_PULSEWIDTH , NAI_DT_RAW_CHAN_BURSTCOUNT , NAI_DT_RAW_CHAN_MODEREG , NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT
}
 

Typedef Documentation

◆ nai_dt_enhanced_mode_t

◆ nai_dt_raw_channel_t

typedef uint32_t nai_dt_raw_channel_t

nai_dt_raw_group_type #nai_dt_raw_channel

◆ nai_dt_raw_group_t

typedef uint32_t nai_dt_raw_group_t

nai_dt_enhanced_mode #nai_dt_raw_group

Enumeration Type Documentation

◆ nai_dt_enhanced_mode [1/2]

Enumerator
NAI_DT_MODE_STD_INPUT_OUTPUT 
NAI_DT_MODE_MEASURE_HIGH_TIME 
NAI_DT_MODE_MEASURE_LOW_TIME 
NAI_DT_MODE_TIMESTAMP_RISING_EDGES 
NAI_DT_MODE_TIMESTAMP_FALLING_EDGES 
NAI_DT_MODE_TIMESTAMP_ALL_EDGES 
NAI_DT_MODE_COUNT_RISING_EDGES 
NAI_DT_MODE_COUNT_FALLING_EDGES 
NAI_DT_MODE_COUNT_ALL_EDGES 
NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE 
NAI_DT_MODE_MEASURE_FREQUENCY 
NAI_DT_MODE_OUTPUT_PWM_FOREVER 
NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAI_DT_MODE_OUTPUT_PATTERN_RAM 
NAI_DT_MODE_ENHANCED_INPUT 
NAI_DT_MODE_BASIC_INPUT 
NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE 
NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE 
NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL 
NAI_DT_MODE_TYPE_ENUM_COUNT 
NAI_DT_MODE_STD_INPUT_OUTPUT 
NAI_DT_MODE_MEASURE_HIGH_TIME 
NAI_DT_MODE_MEASURE_LOW_TIME 
NAI_DT_MODE_TIMESTAMP_RISING_EDGES 
NAI_DT_MODE_TIMESTAMP_FALLING_EDGES 
NAI_DT_MODE_TIMESTAMP_ALL_EDGES 
NAI_DT_MODE_COUNT_RISING_EDGES 
NAI_DT_MODE_COUNT_FALLING_EDGES 
NAI_DT_MODE_COUNT_ALL_EDGES 
NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE 
NAI_DT_MODE_MEASURE_FREQUENCY 
NAI_DT_MODE_OUTPUT_PWM_FOREVER 
NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAI_DT_MODE_OUTPUT_PATTERN_RAM 
NAI_DT_MODE_ENHANCED_INPUT 
NAI_DT_MODE_BASIC_INPUT 
NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE 
NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE 
NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL 
NAI_DT_MODE_TYPE_ENUM_COUNT 

◆ nai_dt_enhanced_mode [2/2]

Enumerator
NAI_DT_MODE_STD_INPUT_OUTPUT 
NAI_DT_MODE_MEASURE_HIGH_TIME 
NAI_DT_MODE_MEASURE_LOW_TIME 
NAI_DT_MODE_TIMESTAMP_RISING_EDGES 
NAI_DT_MODE_TIMESTAMP_FALLING_EDGES 
NAI_DT_MODE_TIMESTAMP_ALL_EDGES 
NAI_DT_MODE_COUNT_RISING_EDGES 
NAI_DT_MODE_COUNT_FALLING_EDGES 
NAI_DT_MODE_COUNT_ALL_EDGES 
NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE 
NAI_DT_MODE_MEASURE_FREQUENCY 
NAI_DT_MODE_OUTPUT_PWM_FOREVER 
NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAI_DT_MODE_OUTPUT_PATTERN_RAM 
NAI_DT_MODE_ENHANCED_INPUT 
NAI_DT_MODE_BASIC_INPUT 
NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE 
NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE 
NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL 
NAI_DT_MODE_TYPE_ENUM_COUNT 
NAI_DT_MODE_STD_INPUT_OUTPUT 
NAI_DT_MODE_MEASURE_HIGH_TIME 
NAI_DT_MODE_MEASURE_LOW_TIME 
NAI_DT_MODE_TIMESTAMP_RISING_EDGES 
NAI_DT_MODE_TIMESTAMP_FALLING_EDGES 
NAI_DT_MODE_TIMESTAMP_ALL_EDGES 
NAI_DT_MODE_COUNT_RISING_EDGES 
NAI_DT_MODE_COUNT_FALLING_EDGES 
NAI_DT_MODE_COUNT_ALL_EDGES 
NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE 
NAI_DT_MODE_MEASURE_FREQUENCY 
NAI_DT_MODE_OUTPUT_PWM_FOREVER 
NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAI_DT_MODE_OUTPUT_PATTERN_RAM 
NAI_DT_MODE_ENHANCED_INPUT 
NAI_DT_MODE_BASIC_INPUT 
NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE 
NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE 
NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL 
NAI_DT_MODE_TYPE_ENUM_COUNT 

◆ nai_dt_raw_channel_type [1/2]

Enumerator
NAI_DT_RAW_CHAN_VOLTAGE 
NAI_DT_RAW_CHAN_BANK_CURRENT 
NAI_DT_RAW_CHAN_THRESH_MAX_HI 
NAI_DT_RAW_CHAN_THRESH_UPPER 
NAI_DT_RAW_CHAN_THRESH_LOWER 
NAI_DT_RAW_CHAN_THRESH_MIN_LO 
NAI_DT_RAW_CHAN_DEBOUNCETIME 
NAI_DT_RAW_CHAN_PERIOD 
NAI_DT_RAW_CHAN_PULSEWIDTH 
NAI_DT_RAW_CHAN_BURSTCOUNT 
NAI_DT_RAW_CHAN_MODEREG 
NAI_DT_RAW_CHAN_T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raw_group_type [1/2]

Enumerator
NAI_DT_RAW_GROUP_OUTPUT_STATE 
NAI_DT_RAW_GROUP_INPUT_STATE 
NAI_DT_RAW_GROUP_CURRENT_SHARE 
NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT 
NAI_DT_RAW_GROUP_OUTPUT_STATE 
NAI_DT_RAW_GROUP_INPUT_STATE 
NAI_DT_RAW_GROUP_CURRENT_SHARE 
NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT 

◆ nai_dt_raw_group_type [2/2]

Enumerator
NAI_DT_RAW_GROUP_OUTPUT_STATE 
NAI_DT_RAW_GROUP_INPUT_STATE 
NAI_DT_RAW_GROUP_CURRENT_SHARE 
NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT 
NAI_DT_RAW_GROUP_OUTPUT_STATE 
NAI_DT_RAW_GROUP_INPUT_STATE 
NAI_DT_RAW_GROUP_CURRENT_SHARE 
NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT