Software Library API naibrd 1.62
See all documentation at naii.docs.com
naibrd_dt_newFormat.h
Go to the documentation of this file.
1
4typedef uint32_t nai_dt_thresh_type_t;
28typedef uint32_t nai_dt_raw_bank_t;
48typedef uint32_t nai_dt_status_type_t;
174typedef int32_t nai_dt_reset_type_t;
198{
199 NAI_DT_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
200 NAI_DT_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
201 NAI_DT_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
202 NAI_DT_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
203 NAI_DT_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
204 NAI_DT_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
205 NAI_DT_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
206 NAI_DT_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
207 NAI_DT_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
208 NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
209 NAI_DT_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
210 NAI_DT_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
211 NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
212 NAI_DT_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
213 NAI_DT_MODE_ENHANCED_INPUT, /* Enhanced input mode Deprecated as of rev 10.2 */
214 NAI_DT_MODE_BASIC_INPUT, /* Basic input mode Deprecated as of rev 10.2 */
215 NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE, /* Basic output mode, low side drive, Deprecated as of rev 10.2 */
216 NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE, /* Basic output mode, high side drive, Deprecated as of rev 10.2 */
217 NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL, /* Basic output mode, push/pull drive, Deprecated as of rev 10.2 */
221{
222 NAI_DT_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
223 NAI_DT_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
224 NAI_DT_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
225 NAI_DT_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
226 NAI_DT_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
227 NAI_DT_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
228 NAI_DT_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
229 NAI_DT_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
230 NAI_DT_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
231 NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
232 NAI_DT_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
233 NAI_DT_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
234 NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
235 NAI_DT_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
236 NAI_DT_MODE_ENHANCED_INPUT, /* Enhanced input mode Deprecated as of rev 10.2 */
237 NAI_DT_MODE_BASIC_INPUT, /* Basic input mode Deprecated as of rev 10.2 */
238 NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE, /* Basic output mode, low side drive, Deprecated as of rev 10.2 */
239 NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE, /* Basic output mode, high side drive, Deprecated as of rev 10.2 */
240 NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL, /* Basic output mode, push/pull drive, Deprecated as of rev 10.2 */
242};
250typedef int32_t nai_dt_pattern_ctrl_t;
274typedef uint32_t nai_dt_raw_module_t;
304typedef uint32_t nai_dt_raw_group_t;
326typedef uint32_t nai_dt_raw_channel_t;
nai_dt_raw_bank_type
Definition naibrd_dt.h:84
nai_dt_raw_module_type
Definition naibrd_dt.h:54
nai_dt_raw_channel_type
Definition naibrd_dt.h:126
nai_dt_thresh_type
Definition naibrd_dt.h:164
nai_dt_bit_status_type
Definition naibrd_dt.h:244
nai_dt_raw_group_type
Definition naibrd_dt.h:104
nai_dt_reset_type
Definition naibrd_dt.h:266
nai_dt_enhanced_mode
Definition naibrd_dt.h:312
nai_dt_pattern_ctrl
Definition naibrd_dt.h:288
nai_dt_module_power_reset_status_type
Definition naibrd_dt.h:6
nai_dt_status_type
Definition naibrd_dt.h:188
nai_dt_module_power_reset_type
Definition naibrd_dt.h:32
@ NAI_DT_RAW_BANK_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:33
@ NAI_DT_RAW_BANK_SRC_SINK_CURRENT
Definition naibrd_dt_newFormat.h:31
@ NAI_DT_RAW_BANK_VCC_VOLTAGE
Definition naibrd_dt_newFormat.h:32
uint32_t nai_dt_raw_group_t
Definition naibrd_dt_newFormat.h:304
@ NAI_DT_RAW_MODULE_PULL_UP_DOWN_RES_CFG
Definition naibrd_dt_newFormat.h:277
@ NAI_DT_RAW_PWM_MODE
Definition naibrd_dt_newFormat.h:280
@ NAI_DT_RAW_MODULE_POWER_RESET_STATUS
Definition naibrd_dt_newFormat.h:282
@ NAI_DT_RAW_MODULE_MASTERSELECT
Definition naibrd_dt_newFormat.h:279
@ NAI_DT_RAW_MODULE_POLARITY
Definition naibrd_dt_newFormat.h:278
@ NAI_DT_RAW_MODULE_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:284
@ NAI_DT_RAW_PWM_ENABLE
Definition naibrd_dt_newFormat.h:281
@ NAI_DT_RAW_MODULE_POWER_RESET
Definition naibrd_dt_newFormat.h:283
int32_t nai_dt_enhanced_mode_t
Definition naibrd_dt_newFormat.h:196
@ NAI_DT_RAW_CHAN_THRESH_MIN_LO
Definition naibrd_dt_newFormat.h:334
@ NAI_DT_RAW_CHAN_THRESH_UPPER
Definition naibrd_dt_newFormat.h:332
@ NAI_DT_RAW_CHAN_BURSTCOUNT
Definition naibrd_dt_newFormat.h:338
@ NAI_DT_RAW_CHAN_PERIOD
Definition naibrd_dt_newFormat.h:336
@ NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:340
@ NAI_DT_RAW_CHAN_DEBOUNCETIME
Definition naibrd_dt_newFormat.h:335
@ NAI_DT_RAW_CHAN_THRESH_LOWER
Definition naibrd_dt_newFormat.h:333
@ NAI_DT_RAW_CHAN_PULSEWIDTH
Definition naibrd_dt_newFormat.h:337
@ NAI_DT_RAW_CHAN_BANK_CURRENT
Definition naibrd_dt_newFormat.h:330
@ NAI_DT_RAW_CHAN_VOLTAGE
Definition naibrd_dt_newFormat.h:329
@ NAI_DT_RAW_CHAN_MODEREG
Definition naibrd_dt_newFormat.h:339
@ NAI_DT_RAW_CHAN_THRESH_MAX_HI
Definition naibrd_dt_newFormat.h:331
@ NAI_DT_THRESH_LOWER
Definition naibrd_dt_newFormat.h:9
@ NAI_DT_THRESH_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:11
@ NAI_DT_THRESH_UPPER
Definition naibrd_dt_newFormat.h:8
@ NAI_DT_THRESH_MAX_HI
Definition naibrd_dt_newFormat.h:7
@ NAI_DT_THRESH_MIN_LO
Definition naibrd_dt_newFormat.h:10
@ NAI_DT_STATUS_BIT_REALTIME_DRIVER
Definition naibrd_dt_newFormat.h:110
@ NAI_DT_STATUS_BIT_LATCHED_VOLTAGE
Definition naibrd_dt_newFormat.h:107
@ NAI_DT_STATUS_BIT_REALTIME_VOLTAGE
Definition naibrd_dt_newFormat.h:109
@ NAI_DT_STATUS_BIT_LATCHED_DRIVER
Definition naibrd_dt_newFormat.h:108
@ NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:310
@ NAI_DT_RAW_GROUP_INPUT_STATE
Definition naibrd_dt_newFormat.h:308
@ NAI_DT_RAW_GROUP_CURRENT_SHARE
Definition naibrd_dt_newFormat.h:309
@ NAI_DT_RAW_GROUP_OUTPUT_STATE
Definition naibrd_dt_newFormat.h:307
@ NAI_DT_RESET_OVERCURRENT
Definition naibrd_dt_newFormat.h:179
@ NAI_DT_RESET_MODE_TIMER
Definition naibrd_dt_newFormat.h:177
@ NAI_DT_RESET_TIMER_ONLY
Definition naibrd_dt_newFormat.h:178
@ NAI_DT_RESET_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:180
uint32_t nai_dt_thresh_type_t
Definition naibrd_dt_newFormat.h:4
uint32_t nai_dt_raw_bank_t
Definition naibrd_dt_newFormat.h:28
int32_t nai_dt_pattern_ctrl_t
Definition naibrd_dt_newFormat.h:250
uint32_t nai_dt_module_power_reset_type_t
Definition naibrd_dt_newFormat.h:152
uint32_t nai_dt_status_type_t
Definition naibrd_dt_newFormat.h:48
@ NAI_DT_MODE_OUTPUT_PWM_FOREVER
Definition naibrd_dt_newFormat.h:210
@ NAI_DT_MODE_TIMESTAMP_ALL_EDGES
Definition naibrd_dt_newFormat.h:204
@ NAI_DT_MODE_BASIC_INPUT
Definition naibrd_dt_newFormat.h:214
@ NAI_DT_MODE_MEASURE_LOW_TIME
Definition naibrd_dt_newFormat.h:201
@ NAI_DT_MODE_COUNT_RISING_EDGES
Definition naibrd_dt_newFormat.h:205
@ NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES
Definition naibrd_dt_newFormat.h:211
@ NAI_DT_MODE_TIMESTAMP_RISING_EDGES
Definition naibrd_dt_newFormat.h:202
@ NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE
Definition naibrd_dt_newFormat.h:208
@ NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE
Definition naibrd_dt_newFormat.h:216
@ NAI_DT_MODE_ENHANCED_INPUT
Definition naibrd_dt_newFormat.h:213
@ NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE
Definition naibrd_dt_newFormat.h:215
@ NAI_DT_MODE_COUNT_ALL_EDGES
Definition naibrd_dt_newFormat.h:207
@ NAI_DT_MODE_STD_INPUT_OUTPUT
Definition naibrd_dt_newFormat.h:199
@ NAI_DT_MODE_TIMESTAMP_FALLING_EDGES
Definition naibrd_dt_newFormat.h:203
@ NAI_DT_MODE_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:218
@ NAI_DT_MODE_COUNT_FALLING_EDGES
Definition naibrd_dt_newFormat.h:206
@ NAI_DT_MODE_MEASURE_FREQUENCY
Definition naibrd_dt_newFormat.h:209
@ NAI_DT_MODE_MEASURE_HIGH_TIME
Definition naibrd_dt_newFormat.h:200
@ NAI_DT_MODE_OUTPUT_PATTERN_RAM
Definition naibrd_dt_newFormat.h:212
@ NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL
Definition naibrd_dt_newFormat.h:217
uint32_t nai_dt_raw_module_t
Definition naibrd_dt_newFormat.h:274
uint32_t nai_dt_raw_channel_t
Definition naibrd_dt_newFormat.h:326
@ NAI_DT_CTRL_PATTERN_BURST
Definition naibrd_dt_newFormat.h:254
@ NAI_DT_CTRL_PATTERN_PAUSE
Definition naibrd_dt_newFormat.h:255
@ NAI_DT_CTRL_PATTERN_SYNC_FALLING
Definition naibrd_dt_newFormat.h:257
@ NAI_DT_CTRL_PATTERN_ENABLE
Definition naibrd_dt_newFormat.h:253
@ NAI_DT_CTRL_PATTERN_SYNC_RISING
Definition naibrd_dt_newFormat.h:256
@ NAI_DT_MODULE_POWER_RESET_STATUS_NOT_DETECTED
Definition naibrd_dt_newFormat.h:130
@ NAI_DT_MODULE_POWER_RESET_STATUS_COMM_ERROR
Definition naibrd_dt_newFormat.h:133
@ NAI_DT_MODULE_POWER_RESET_STATUS_FW_NOT_READY
Definition naibrd_dt_newFormat.h:132
@ NAI_DT_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT
Definition naibrd_dt_newFormat.h:131
@ NAI_DT_MODULE_POWER_RESET_STATUS_POWERED_DOWN
Definition naibrd_dt_newFormat.h:129
@ NAI_DT_MODULE_POWER_RESET_STATUS_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:134
int32_t nai_dt_reset_type_t
Definition naibrd_dt_newFormat.h:174
@ NAI_DT_STATUS_OVERCURRENT_REALTIME
Definition naibrd_dt_newFormat.h:54
@ NAI_DT_STATUS_INTER_FPGA_FAULT_LATCHED
Definition naibrd_dt_newFormat.h:67
@ NAI_DT_STATUS_LO_HI_TRANS_LATCHED
Definition naibrd_dt_newFormat.h:61
@ NAI_DT_STATUS_SUMMARY_REALTIME
Definition naibrd_dt_newFormat.h:70
@ NAI_DT_STATUS_INTER_FPGA_FAULT_REALTIME
Definition naibrd_dt_newFormat.h:68
@ NAI_DT_STATUS_MAX_HI_LATCHED
Definition naibrd_dt_newFormat.h:55
@ NAI_DT_STATUS_WATCHDOG_TIMER_FAULT_LATCHED
Definition naibrd_dt_newFormat.h:65
@ NAI_DT_STATUS_MIN_LO_REALTIME
Definition naibrd_dt_newFormat.h:58
@ NAI_DT_STATUS_BIT_LATCHED
Definition naibrd_dt_newFormat.h:51
@ NAI_DT_STATUS_WATCHDOG_TIMER_FAULT_REALTIME
Definition naibrd_dt_newFormat.h:66
@ NAI_DT_STATUS_OVERCURRENT_LATCHED
Definition naibrd_dt_newFormat.h:53
@ NAI_DT_STATUS_MAX_HI_REALTIME
Definition naibrd_dt_newFormat.h:56
@ NAI_DT_STATUS_LO_HI_TRANS_REALTIME
Definition naibrd_dt_newFormat.h:62
@ NAI_DT_STATUS_MID_RANGE_LATCHED
Definition naibrd_dt_newFormat.h:59
@ NAI_DT_STATUS_MID_RANGE_REALTIME
Definition naibrd_dt_newFormat.h:60
@ NAI_DT_STATUS_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:71
@ NAI_DT_STATUS_MIN_LO_LATCHED
Definition naibrd_dt_newFormat.h:57
@ NAI_DT_STATUS_BIT_REALTIME
Definition naibrd_dt_newFormat.h:52
@ NAI_DT_STATUS_SUMMARY_LATCHED
Definition naibrd_dt_newFormat.h:69
@ NAI_DT_STATUS_HI_LO_TRANS_LATCHED
Definition naibrd_dt_newFormat.h:63
@ NAI_DT_STATUS_HI_LO_TRANS_REALTIME
Definition naibrd_dt_newFormat.h:64
uint32_t nai_dt_bit_status_type_t
Definition naibrd_dt_newFormat.h:104
uint32_t nai_dt_module_power_reset_status_type_t
Definition naibrd_dt_newFormat.h:126
@ NAI_DT_MODULE_POWER_RESET_REQUEST_POWER_DOWN
Definition naibrd_dt_newFormat.h:156
@ NAI_DT_MODULE_POWER_RESET_TYPE_ENUM_COUNT
Definition naibrd_dt_newFormat.h:158
@ NAI_DT_MODULE_POWER_RESET_REQUEST_RESET
Definition naibrd_dt_newFormat.h:155
@ NAI_DT_MODULE_POWER_RESET_REQUEST_POWER_UP
Definition naibrd_dt_newFormat.h:157