Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_dt_legacy.h
Go to the documentation of this file.
1
4typedef int32_t nai_dt_enhanced_mode_t;
6{
7 NAI_DT_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
8 NAI_DT_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
9 NAI_DT_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
10 NAI_DT_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
11 NAI_DT_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
12 NAI_DT_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
13 NAI_DT_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
14 NAI_DT_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
15 NAI_DT_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
16 NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
17 NAI_DT_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
18 NAI_DT_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
19 NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
20 NAI_DT_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
21 NAI_DT_MODE_ENHANCED_INPUT, /* Enhanced input mode Deprecated as of rev 10.2 */
22 NAI_DT_MODE_BASIC_INPUT, /* Basic input mode Deprecated as of rev 10.2 */
23 NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE, /* Basic output mode, low side drive, Deprecated as of rev 10.2 */
24 NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE, /* Basic output mode, high side drive, Deprecated as of rev 10.2 */
25 NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL, /* Basic output mode, push/pull drive, Deprecated as of rev 10.2 */
27};
29{
30 NAI_DT_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
31 NAI_DT_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
32 NAI_DT_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
33 NAI_DT_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
34 NAI_DT_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
35 NAI_DT_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
36 NAI_DT_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
37 NAI_DT_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
38 NAI_DT_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
39 NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
40 NAI_DT_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
41 NAI_DT_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
42 NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
43 NAI_DT_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
44 NAI_DT_MODE_ENHANCED_INPUT, /* Enhanced input mode Deprecated as of rev 10.2 */
45 NAI_DT_MODE_BASIC_INPUT, /* Basic input mode Deprecated as of rev 10.2 */
46 NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE, /* Basic output mode, low side drive, Deprecated as of rev 10.2 */
47 NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE, /* Basic output mode, high side drive, Deprecated as of rev 10.2 */
48 NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL, /* Basic output mode, push/pull drive, Deprecated as of rev 10.2 */
50};
58typedef uint32_t nai_dt_raw_group_t;
80typedef uint32_t nai_dt_raw_channel_t;
uint32_t nai_dt_raw_group_t
Definition naibrd_dt_legacy.h:58
int32_t nai_dt_enhanced_mode_t
Definition naibrd_dt_legacy.h:4
nai_dt_raw_channel_type
Definition naibrd_dt_legacy.h:82
@ NAI_DT_RAW_CHAN_THRESH_MIN_LO
Definition naibrd_dt_legacy.h:88
@ NAI_DT_RAW_CHAN_PULSEWIDTH
Definition naibrd_dt_legacy.h:91
@ NAI_DT_RAW_CHAN_TYPE_ENUM_COUNT
Definition naibrd_dt_legacy.h:94
@ NAI_DT_RAW_CHAN_PERIOD
Definition naibrd_dt_legacy.h:90
@ NAI_DT_RAW_CHAN_BURSTCOUNT
Definition naibrd_dt_legacy.h:92
@ NAI_DT_RAW_CHAN_BANK_CURRENT
Definition naibrd_dt_legacy.h:84
@ NAI_DT_RAW_CHAN_DEBOUNCETIME
Definition naibrd_dt_legacy.h:89
@ NAI_DT_RAW_CHAN_VOLTAGE
Definition naibrd_dt_legacy.h:83
@ NAI_DT_RAW_CHAN_MODEREG
Definition naibrd_dt_legacy.h:93
@ NAI_DT_RAW_CHAN_THRESH_MAX_HI
Definition naibrd_dt_legacy.h:85
@ NAI_DT_RAW_CHAN_THRESH_LOWER
Definition naibrd_dt_legacy.h:87
@ NAI_DT_RAW_CHAN_THRESH_UPPER
Definition naibrd_dt_legacy.h:86
nai_dt_raw_group_type
Definition naibrd_dt_legacy.h:60
@ NAI_DT_RAW_GROUP_CURRENT_SHARE
Definition naibrd_dt_legacy.h:63
@ NAI_DT_RAW_GROUP_TYPE_ENUM_COUNT
Definition naibrd_dt_legacy.h:64
@ NAI_DT_RAW_GROUP_INPUT_STATE
Definition naibrd_dt_legacy.h:62
@ NAI_DT_RAW_GROUP_OUTPUT_STATE
Definition naibrd_dt_legacy.h:61
nai_dt_enhanced_mode
Definition naibrd_dt_legacy.h:6
@ NAI_DT_MODE_STD_INPUT_OUTPUT
Definition naibrd_dt_legacy.h:7
@ NAI_DT_MODE_COUNT_ALL_EDGES
Definition naibrd_dt_legacy.h:15
@ NAI_DT_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES
Definition naibrd_dt_legacy.h:19
@ NAI_DT_MODE_MEASURE_HIGH_TIME
Definition naibrd_dt_legacy.h:8
@ NAI_DT_MODE_COUNT_RISING_EDGES
Definition naibrd_dt_legacy.h:13
@ NAI_DT_MODE_BASIC_INPUT
Definition naibrd_dt_legacy.h:22
@ NAI_DT_MODE_OUTPUT_PWM_FOREVER
Definition naibrd_dt_legacy.h:18
@ NAI_DT_MODE_ENHANCED_INPUT
Definition naibrd_dt_legacy.h:21
@ NAI_DT_MODE_COUNT_FALLING_EDGES
Definition naibrd_dt_legacy.h:14
@ NAI_DT_MODE_TIMESTAMP_ALL_EDGES
Definition naibrd_dt_legacy.h:12
@ NAI_DT_MODE_TIMESTAMP_RISING_EDGES
Definition naibrd_dt_legacy.h:10
@ NAI_DT_MODE_MEASURE_PERIOD_FROM_RISING_EDGE
Definition naibrd_dt_legacy.h:16
@ NAI_DT_MODE_BASIC_OUTPUT_PUSHPULL
Definition naibrd_dt_legacy.h:25
@ NAI_DT_MODE_BASIC_OUTPUT_HIGHSIDE
Definition naibrd_dt_legacy.h:24
@ NAI_DT_MODE_MEASURE_FREQUENCY
Definition naibrd_dt_legacy.h:17
@ NAI_DT_MODE_TYPE_ENUM_COUNT
Definition naibrd_dt_legacy.h:26
@ NAI_DT_MODE_MEASURE_LOW_TIME
Definition naibrd_dt_legacy.h:9
@ NAI_DT_MODE_TIMESTAMP_FALLING_EDGES
Definition naibrd_dt_legacy.h:11
@ NAI_DT_MODE_OUTPUT_PATTERN_RAM
Definition naibrd_dt_legacy.h:20
@ NAI_DT_MODE_BASIC_OUTPUT_LOWSIDE
Definition naibrd_dt_legacy.h:23
uint32_t nai_dt_raw_channel_t
Definition naibrd_dt_legacy.h:80