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

Go to the source code of this file.

Typedefs

typedef enum naibrd_dif_chan_mapped_status_type naibrd_dif_chan_mapped_status_type_t
 
typedef enum naibrd_dif_reset_type naibrd_dif_reset_type_t
 
typedef enum naibrd_dif_debounce_idx naibrd_dif_debounce_idx_t
 
typedef enum naibrd_dif_enhanced_mode naibrd_dif_enhanced_mode_t
 
typedef enum naibrd_dif_pattern_ctrl naibrd_dif_pattern_ctrl_t
 
typedef enum naibrd_dif_raw_module_type naibrd_dif_raw_module_t
 
typedef enum naibrd_dif_raw_channel_type naibrd_dif_raw_channel_t
 

Enumerations

enum  naibrd_dif_chan_mapped_status_type {
  NAIBRD_DIF_STATUS_BIT_LATCHED , NAIBRD_DIF_STATUS_BIT_REALTIME , NAIBRD_DIF_STATUS_OVERCURRENT_LATCHED , NAIBRD_DIF_STATUS_OVERCURRENT_REALTIME ,
  NAIBRD_DIF_STATUS_LO_HI_TRANS_LATCHED , NAIBRD_DIF_STATUS_LO_HI_TRANS_REALTIME , NAIBRD_DIF_STATUS_HI_LO_TRANS_LATCHED , NAIBRD_DIF_STATUS_HI_LO_TRANS_REALTIME ,
  NAIBRD_DIF_CTS_STATUS_RUN_LATCHED , NAIBRD_DIF_CTS_STATUS_RUN_REALTIME
}
 
enum  naibrd_dif_reset_type { NAIBRD_DIF_RESET_TIMER_ONLY , NAIBRD_DIF_RESET_OVERCURRENT }
 
enum  naibrd_dif_debounce_idx {
  NAIBRD_DIF_DEBOUNCE_IDX_0_00016MS , NAIBRD_DIF_DEBOUNCE_IDX_0_00032MS , NAIBRD_DIF_DEBOUNCE_IDX_0_00064MS , NAIBRD_DIF_DEBOUNCE_IDX_0_00128MS ,
  NAIBRD_DIF_DEBOUNCE_IDX_0_00256MS , NAIBRD_DIF_DEBOUNCE_IDX_0_00512MS , NAIBRD_DIF_DEBOUNCE_IDX_0_01024MS , NAIBRD_DIF_DEBOUNCE_IDX_0_02048MS ,
  NAIBRD_DIF_DEBOUNCE_IDX_0_04096MS , NAIBRD_DIF_DEBOUNCE_IDX_0_08192MS , NAIBRD_DIF_DEBOUNCE_IDX_0_16384MS , NAIBRD_DIF_DEBOUNCE_IDX_0_32768MS ,
  NAIBRD_DIF_DEBOUNCE_IDX_0_65536MS , NAIBRD_DIF_DEBOUNCE_IDX_1_31072MS , NAIBRD_DIF_DEBOUNCE_IDX_2_62144MS , NAIBRD_DIF_DEBOUNCE_IDX_5_24288MS
}
 
enum  naibrd_dif_enhanced_mode {
  NAIBRD_DIF_MODE_STD_INPUT_OUTPUT , NAIBRD_DIF_MODE_MEASURE_HIGH_TIME , NAIBRD_DIF_MODE_MEASURE_LOW_TIME , NAIBRD_DIF_MODE_TIMESTAMP_RISING_EDGES ,
  NAIBRD_DIF_MODE_TIMESTAMP_FALLING_EDGES , NAIBRD_DIF_MODE_TIMESTAMP_ALL_EDGES , NAIBRD_DIF_MODE_COUNT_RISING_EDGES , NAIBRD_DIF_MODE_COUNT_FALLING_EDGES ,
  NAIBRD_DIF_MODE_COUNT_ALL_EDGES , NAIBRD_DIF_MODE_MEASURE_PERIOD_FROM_RISING_EDGE , NAIBRD_DIF_MODE_MEASURE_FREQUENCY , NAIBRD_DIF_MODE_OUTPUT_PWM_FOREVER ,
  NAIBRD_DIF_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAIBRD_DIF_MODE_OUTPUT_PATTERN_RAM
}
 
enum  naibrd_dif_pattern_ctrl {
  NAIBRD_DIF_PATTERN_RAM_CONTROL_ENABLE , NAIBRD_DIF_PATTERN_RAM_CONTROL_BURST , NAIBRD_DIF_PATTERN_RAM_CONTROL_PAUSE , NAIBRD_DIF_CTRL_PATTERN_SYNC_RISING ,
  NAIBRD_DIF_CTRL_PATTERN_SYNC_FALLING
}
 
enum  naibrd_dif_raw_module_type {
  NAIBRD_DIF_RAW_MODULE_DEBOUNCELSB , NAIBRD_DIF_RAW_MODULE_POLARITY , NAIBRD_DIF_RAW_MODULE_SLEWRATE , NAIBRD_DIF_RAW_MODULE_TERMINATION ,
  NAIBRD_DIF_RAW_MODULE_OUTPUT_STATE , NAIBRD_DIF_RAW_MODULE_IO_FORMAT
}
 
enum  naibrd_dif_raw_channel_type {
  NAIBRD_DIF_RAW_CHAN_DEBOUNCETIME , NAIBRD_DIF_RAW_CHAN_PERIOD , NAIBRD_DIF_RAW_CHAN_PULSEWIDTH , NAIBRD_DIF_RAW_CHAN_BURSTCOUNT ,
  NAIBRD_DIF_RAW_CHAN_MODEREG
}
 

Typedef Documentation

◆ naibrd_dif_chan_mapped_status_type_t

◆ naibrd_dif_debounce_idx_t

◆ naibrd_dif_enhanced_mode_t

◆ naibrd_dif_pattern_ctrl_t

◆ naibrd_dif_raw_channel_t

◆ naibrd_dif_raw_module_t

◆ naibrd_dif_reset_type_t

Enumeration Type Documentation

◆ naibrd_dif_chan_mapped_status_type

naibrd_dif_chan_mapped_status_type

Enumerator
NAIBRD_DIF_STATUS_BIT_LATCHED 
NAIBRD_DIF_STATUS_BIT_REALTIME 
NAIBRD_DIF_STATUS_OVERCURRENT_LATCHED 
NAIBRD_DIF_STATUS_OVERCURRENT_REALTIME 
NAIBRD_DIF_STATUS_LO_HI_TRANS_LATCHED 
NAIBRD_DIF_STATUS_LO_HI_TRANS_REALTIME 
NAIBRD_DIF_STATUS_HI_LO_TRANS_LATCHED 
NAIBRD_DIF_STATUS_HI_LO_TRANS_REALTIME 
NAIBRD_DIF_CTS_STATUS_RUN_LATCHED 
NAIBRD_DIF_CTS_STATUS_RUN_REALTIME 

◆ naibrd_dif_debounce_idx

naibrd_dif_debounce_idx

Enumerator
NAIBRD_DIF_DEBOUNCE_IDX_0_00016MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_00032MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_00064MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_00128MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_00256MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_00512MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_01024MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_02048MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_04096MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_08192MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_16384MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_32768MS 
NAIBRD_DIF_DEBOUNCE_IDX_0_65536MS 
NAIBRD_DIF_DEBOUNCE_IDX_1_31072MS 
NAIBRD_DIF_DEBOUNCE_IDX_2_62144MS 
NAIBRD_DIF_DEBOUNCE_IDX_5_24288MS 

◆ naibrd_dif_enhanced_mode

naibrd_dif_enhanced_mode

Enumerator
NAIBRD_DIF_MODE_STD_INPUT_OUTPUT 
NAIBRD_DIF_MODE_MEASURE_HIGH_TIME 
NAIBRD_DIF_MODE_MEASURE_LOW_TIME 
NAIBRD_DIF_MODE_TIMESTAMP_RISING_EDGES 
NAIBRD_DIF_MODE_TIMESTAMP_FALLING_EDGES 
NAIBRD_DIF_MODE_TIMESTAMP_ALL_EDGES 
NAIBRD_DIF_MODE_COUNT_RISING_EDGES 
NAIBRD_DIF_MODE_COUNT_FALLING_EDGES 
NAIBRD_DIF_MODE_COUNT_ALL_EDGES 
NAIBRD_DIF_MODE_MEASURE_PERIOD_FROM_RISING_EDGE 
NAIBRD_DIF_MODE_MEASURE_FREQUENCY 
NAIBRD_DIF_MODE_OUTPUT_PWM_FOREVER 
NAIBRD_DIF_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAIBRD_DIF_MODE_OUTPUT_PATTERN_RAM 

◆ naibrd_dif_pattern_ctrl

naibrd_dif_pattern_ctrl

Enumerator
NAIBRD_DIF_PATTERN_RAM_CONTROL_ENABLE 
NAIBRD_DIF_PATTERN_RAM_CONTROL_BURST 
NAIBRD_DIF_PATTERN_RAM_CONTROL_PAUSE 
NAIBRD_DIF_CTRL_PATTERN_SYNC_RISING 
NAIBRD_DIF_CTRL_PATTERN_SYNC_FALLING 

◆ naibrd_dif_raw_channel_type

naibrd_dif_raw_channel_type

Enumerator
NAIBRD_DIF_RAW_CHAN_DEBOUNCETIME 
NAIBRD_DIF_RAW_CHAN_PERIOD 
NAIBRD_DIF_RAW_CHAN_PULSEWIDTH 
NAIBRD_DIF_RAW_CHAN_BURSTCOUNT 
NAIBRD_DIF_RAW_CHAN_MODEREG 

◆ naibrd_dif_raw_module_type

naibrd_dif_raw_module_type

Enumerator
NAIBRD_DIF_RAW_MODULE_DEBOUNCELSB 
NAIBRD_DIF_RAW_MODULE_POLARITY 
NAIBRD_DIF_RAW_MODULE_SLEWRATE 
NAIBRD_DIF_RAW_MODULE_TERMINATION 
NAIBRD_DIF_RAW_MODULE_OUTPUT_STATE 
NAIBRD_DIF_RAW_MODULE_IO_FORMAT 

◆ naibrd_dif_reset_type

naibrd_dif_reset_type

Enumerator
NAIBRD_DIF_RESET_TIMER_ONLY 
NAIBRD_DIF_RESET_OVERCURRENT