Software Library API naibrd 1.62
See all documentation at naii.docs.com
naibrd_dsw.h
Go to the documentation of this file.
1
4typedef uint32_t nai_dsw_thresh_type_t;
28typedef uint32_t nai_dsw_status_type_t;
72typedef int32_t nai_dsw_reset_type_t;
94{
95 NAI_DSW_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
96 NAI_DSW_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
97 NAI_DSW_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
98 NAI_DSW_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
99 NAI_DSW_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
100 NAI_DSW_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
101 NAI_DSW_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
102 NAI_DSW_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
103 NAI_DSW_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
104 NAI_DSW_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
105 NAI_DSW_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
106 NAI_DSW_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
107 NAI_DSW_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
108 NAI_DSW_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
112{
113 NAI_DSW_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
114 NAI_DSW_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
115 NAI_DSW_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
116 NAI_DSW_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
117 NAI_DSW_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
118 NAI_DSW_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
119 NAI_DSW_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
120 NAI_DSW_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
121 NAI_DSW_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
122 NAI_DSW_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
123 NAI_DSW_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
124 NAI_DSW_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
125 NAI_DSW_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
126 NAI_DSW_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
128};
156typedef uint32_t nai_dsw_group_raw_t;
178typedef uint32_t nai_dsw_channel_raw_t;
nai_dsw_pattern_ctrl
Definition naibrd_dsw.h:138
@ NAI_DSW_PATTERN_RAM_CONTROL_PAUSE
Definition naibrd_dsw.h:141
@ NAI_DSW_PATTERN_RAM_CONTROL_ENABLE
Definition naibrd_dsw.h:139
@ NAI_DSW_PATTERN_RAM_CONTROL_BURST
Definition naibrd_dsw.h:140
uint32_t nai_dsw_thresh_type_t
Definition naibrd_dsw.h:4
nai_dsw_channel_raw
Definition naibrd_dsw.h:180
@ NAI_DSW_CHAN_RAW_BANK_CURRENT
Definition naibrd_dsw.h:182
@ NAI_DSW_CHAN_RAW_THRESH_LOWER
Definition naibrd_dsw.h:185
@ NAI_DSW_CHAN_RAW_THRESH_MIN_LO
Definition naibrd_dsw.h:186
@ NAI_DSW_CHAN_RAW_THRESH_UPPER
Definition naibrd_dsw.h:184
@ NAI_DSW_CHAN_RAW_DEBOUNCE
Definition naibrd_dsw.h:187
@ NAI_DSW_CHAN_RAW_ENUM_COUNT
Definition naibrd_dsw.h:192
@ NAI_DSW_CHAN_RAW_THRESH_MAX_HI
Definition naibrd_dsw.h:183
@ NAI_DSW_ENHANCED_RAW_CHAN_PERIOD
Definition naibrd_dsw.h:188
@ NAI_DSW_ENHANCED_RAW_CHAN_MODEREG
Definition naibrd_dsw.h:191
@ NAI_DSW_ENHANCED_RAW_CHAN_BURSTCOUNT
Definition naibrd_dsw.h:190
@ NAI_DSW_CHAN_RAW_VOLTAGE
Definition naibrd_dsw.h:181
@ NAI_DSW_ENHANCED_RAW_CHAN_PULSEWIDTH
Definition naibrd_dsw.h:189
uint32_t nai_dsw_channel_raw_t
Definition naibrd_dsw.h:178
nai_dsw_enhanced_mode
Definition naibrd_dsw.h:94
@ NAI_DSW_MODE_MEASURE_LOW_TIME
Definition naibrd_dsw.h:97
@ NAI_DSW_MODE_TYPE_ENUM_COUNT
Definition naibrd_dsw.h:109
@ NAI_DSW_MODE_COUNT_RISING_EDGES
Definition naibrd_dsw.h:101
@ NAI_DSW_MODE_TIMESTAMP_FALLING_EDGES
Definition naibrd_dsw.h:99
@ NAI_DSW_MODE_COUNT_FALLING_EDGES
Definition naibrd_dsw.h:102
@ NAI_DSW_MODE_MEASURE_HIGH_TIME
Definition naibrd_dsw.h:96
@ NAI_DSW_MODE_MEASURE_PERIOD_FROM_RISING_EDGE
Definition naibrd_dsw.h:104
@ NAI_DSW_MODE_MEASURE_FREQUENCY
Definition naibrd_dsw.h:105
@ NAI_DSW_MODE_TIMESTAMP_ALL_EDGES
Definition naibrd_dsw.h:100
@ NAI_DSW_MODE_OUTPUT_PATTERN_RAM
Definition naibrd_dsw.h:108
@ NAI_DSW_MODE_OUTPUT_PWM_FOREVER
Definition naibrd_dsw.h:106
@ NAI_DSW_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES
Definition naibrd_dsw.h:107
@ NAI_DSW_MODE_COUNT_ALL_EDGES
Definition naibrd_dsw.h:103
@ NAI_DSW_MODE_STD_INPUT_OUTPUT
Definition naibrd_dsw.h:95
@ NAI_DSW_MODE_TIMESTAMP_RISING_EDGES
Definition naibrd_dsw.h:98
int32_t nai_dsw_enhanced_mode_t
Definition naibrd_dsw.h:92
int32_t nai_dsw_reset_type_t
Definition naibrd_dsw.h:72
nai_dsw_status_type
Definition naibrd_dsw.h:30
@ NAI_DSW_STATUS_MAX_HI_REALTIME
Definition naibrd_dsw.h:36
@ NAI_DSW_STATUS_OVERCURRENT_REALTIME
Definition naibrd_dsw.h:34
@ NAI_DSW_STATUS_HI_LO_TRANS_REALTIME
Definition naibrd_dsw.h:44
@ NAI_DSW_STATUS_BIT_REALTIME
Definition naibrd_dsw.h:32
@ NAI_DSW_STATUS_MAX_HI_LATCHED
Definition naibrd_dsw.h:35
@ NAI_DSW_STATUS_OVERCURRENT_LATCHED
Definition naibrd_dsw.h:33
@ NAI_DSW_STATUS_LO_HI_TRANS_REALTIME
Definition naibrd_dsw.h:42
@ NAI_DSW_STATUS_LO_HI_TRANS_LATCHED
Definition naibrd_dsw.h:41
@ NAI_DSW_STATUS_MIN_LO_REALTIME
Definition naibrd_dsw.h:38
@ NAI_DSW_STATUS_BIT_LATCHED
Definition naibrd_dsw.h:31
@ NAI_DSW_STATUS_HI_LO_TRANS_LATCHED
Definition naibrd_dsw.h:43
@ NAI_DSW_STATUS_TYPE_ENUM_COUNT
Definition naibrd_dsw.h:45
@ NAI_DSW_STATUS_MID_RANGE_LATCHED
Definition naibrd_dsw.h:39
@ NAI_DSW_STATUS_MIN_LO_LATCHED
Definition naibrd_dsw.h:37
@ NAI_DSW_STATUS_MID_RANGE_REALTIME
Definition naibrd_dsw.h:40
nai_dsw_reset_type
Definition naibrd_dsw.h:74
@ NAI_DSW_RESET_TIMER_ONLY
Definition naibrd_dsw.h:75
@ NAI_DSW_RESET_OVERCURRENT
Definition naibrd_dsw.h:76
@ NAI_DSW_RESET_TYPE_ENUM_COUNT
Definition naibrd_dsw.h:77
uint32_t nai_dsw_group_raw_t
Definition naibrd_dsw.h:156
uint32_t nai_dsw_status_type_t
Definition naibrd_dsw.h:28
nai_dsw_thresh_type
Definition naibrd_dsw.h:6
@ NAI_DSW_THRESH_UPPER
Definition naibrd_dsw.h:8
@ NAI_DSW_THRESH_LOWER
Definition naibrd_dsw.h:9
@ NAI_DSW_THRESH_MIN_LO
Definition naibrd_dsw.h:10
@ NAI_DSW_THRESH_TYPE_ENUM_COUNT
Definition naibrd_dsw.h:11
@ NAI_DSW_THRESH_MAX_HI
Definition naibrd_dsw.h:7
nai_dsw_group_raw
Definition naibrd_dsw.h:158
@ NAI_DSW_GROUP_RAW_INPUT_STATE
Definition naibrd_dsw.h:160
@ NAI_DSW_GROUP_RAW_OUTPUT_STATE
Definition naibrd_dsw.h:159
@ NAI_DSW_GROUP_RAW_RESET_OVER_CURRENT
Definition naibrd_dsw.h:161
@ NAI_DSW_GROUP_RAW_ENUM_COUNT
Definition naibrd_dsw.h:162
uint8_t nai_dsw_pattern_ctrl_t
Definition naibrd_dsw.h:136