Software Library API naibrd 1.62
See all documentation at naii.docs.com
naibrd_ttl.h
Go to the documentation of this file.
1
4typedef uint32_t nai_ttl_raw_module_t;
30typedef uint32_t nai_ttl_raw_group_t;
48typedef uint32_t nai_ttl_raw_channel_t;
74typedef int32_t nai_ttl_status_type_t;
106typedef int32_t nai_ttl_reset_type_t;
200{
201 NAI_TTL_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
202 NAI_TTL_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
203 NAI_TTL_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
204 NAI_TTL_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
205 NAI_TTL_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
206 NAI_TTL_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
207 NAI_TTL_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
208 NAI_TTL_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
209 NAI_TTL_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
210 NAI_TTL_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
211 NAI_TTL_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
212 NAI_TTL_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
213 NAI_TTL_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
214 NAI_TTL_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
218{
219 NAI_TTL_MODE_STD_INPUT_OUTPUT, /* Input/Output based off ioformat */
220 NAI_TTL_MODE_MEASURE_HIGH_TIME, /* High Time Measurement (uses FIFO to store measurements) */
221 NAI_TTL_MODE_MEASURE_LOW_TIME, /* Low Time Measurement (uses FIFO to store measurements) */
222 NAI_TTL_MODE_TIMESTAMP_RISING_EDGES, /* Rising Edges Timestamps (uses FIFO to store measurements) */
223 NAI_TTL_MODE_TIMESTAMP_FALLING_EDGES, /* Falling Edges Timestamps (uses FIFO to store measurements) */
224 NAI_TTL_MODE_TIMESTAMP_ALL_EDGES, /* All Edges Timestamps (uses FIFO to store measurements) */
225 NAI_TTL_MODE_COUNT_RISING_EDGES, /* Rising Edges Total Count (uses FIFO to store measurements) */
226 NAI_TTL_MODE_COUNT_FALLING_EDGES, /* Falling Edges Total Count (uses FIFO to store measurements) */
227 NAI_TTL_MODE_COUNT_ALL_EDGES, /* All Edges Total Count (uses FIFO to store measurements) */
228 NAI_TTL_MODE_MEASURE_PERIOD_FROM_RISING_EDGE, /* Period from Rising Edge Measurement (uses FIFO to store measurements) */
229 NAI_TTL_MODE_MEASURE_FREQUENCY, /* Frequency Measurement (uses FIFO to store measurements) */
230 NAI_TTL_MODE_OUTPUT_PWM_FOREVER, /* Output PWM Forever */
231 NAI_TTL_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES, /* Output PWM for Specified Number of Cycles */
232 NAI_TTL_MODE_OUTPUT_PATTERN_RAM, /* Output Pattern Generator RAM */
234};
nai_ttl_status_type
Definition naibrd_ttl.h:76
@ NAI_TTL_STATUS_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:85
@ NAI_TTL_STATUS_HI_LO_TRANS_REALTIME
Definition naibrd_ttl.h:84
@ NAI_TTL_STATUS_OVERCURRENT_REALTIME
Definition naibrd_ttl.h:80
@ NAI_TTL_STATUS_HI_LO_TRANS_LATCHED
Definition naibrd_ttl.h:83
@ NAI_TTL_STATUS_BIT_LATCHED
Definition naibrd_ttl.h:77
@ NAI_TTL_STATUS_LO_HI_TRANS_LATCHED
Definition naibrd_ttl.h:81
@ NAI_TTL_STATUS_OVERCURRENT_LATCHED
Definition naibrd_ttl.h:79
@ NAI_TTL_STATUS_LO_HI_TRANS_REALTIME
Definition naibrd_ttl.h:82
@ NAI_TTL_STATUS_BIT_REALTIME
Definition naibrd_ttl.h:78
int32_t nai_ttl_pattern_ctrl_t
Definition naibrd_ttl.h:174
int32_t nai_ttl_debounce_idx_t
Definition naibrd_ttl.h:128
nai_ttl_enhanced_mode
Definition naibrd_ttl.h:200
@ NAI_TTL_MODE_OUTPUT_PATTERN_RAM
Definition naibrd_ttl.h:214
@ NAI_TTL_MODE_OUTPUT_PWM_FOREVER
Definition naibrd_ttl.h:212
@ NAI_TTL_MODE_COUNT_ALL_EDGES
Definition naibrd_ttl.h:209
@ NAI_TTL_MODE_STD_INPUT_OUTPUT
Definition naibrd_ttl.h:201
@ NAI_TTL_MODE_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:215
@ NAI_TTL_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES
Definition naibrd_ttl.h:213
@ NAI_TTL_MODE_TIMESTAMP_RISING_EDGES
Definition naibrd_ttl.h:204
@ NAI_TTL_MODE_MEASURE_PERIOD_FROM_RISING_EDGE
Definition naibrd_ttl.h:210
@ NAI_TTL_MODE_TIMESTAMP_ALL_EDGES
Definition naibrd_ttl.h:206
@ NAI_TTL_MODE_COUNT_RISING_EDGES
Definition naibrd_ttl.h:207
@ NAI_TTL_MODE_MEASURE_FREQUENCY
Definition naibrd_ttl.h:211
@ NAI_TTL_MODE_TIMESTAMP_FALLING_EDGES
Definition naibrd_ttl.h:205
@ NAI_TTL_MODE_MEASURE_LOW_TIME
Definition naibrd_ttl.h:203
@ NAI_TTL_MODE_COUNT_FALLING_EDGES
Definition naibrd_ttl.h:208
@ NAI_TTL_MODE_MEASURE_HIGH_TIME
Definition naibrd_ttl.h:202
uint32_t nai_ttl_raw_group_t
Definition naibrd_ttl.h:30
int32_t nai_ttl_reset_type_t
Definition naibrd_ttl.h:106
nai_ttl_debounce_idx
Definition naibrd_ttl.h:130
@ NAI_TTL_DEBOUNCE_IDX_5_24288MS
Definition naibrd_ttl.h:146
@ NAI_TTL_DEBOUNCE_IDX_0_32768MS
Definition naibrd_ttl.h:142
@ NAI_TTL_DEBOUNCE_IDX_2_62144MS
Definition naibrd_ttl.h:145
@ NAI_TTL_DEBOUNCE_IDX_0_04096MS
Definition naibrd_ttl.h:139
@ NAI_TTL_DEBOUNCE_IDX_0_00256MS
Definition naibrd_ttl.h:135
@ NAI_TTL_DEBOUNCE_IDX_0_16384MS
Definition naibrd_ttl.h:141
@ NAI_TTL_DEBOUNCE_IDX_0_00016MS
Definition naibrd_ttl.h:131
@ NAI_TTL_DEBOUNCE_IDX_0_00128MS
Definition naibrd_ttl.h:134
@ NAI_TTL_DEBOUNCE_IDX_0_02048MS
Definition naibrd_ttl.h:138
@ NAI_TTL_DEBOUNCE_IDX_0_65536MS
Definition naibrd_ttl.h:143
@ NAI_TTL_DEBOUNCE_IDX_0_00512MS
Definition naibrd_ttl.h:136
@ NAI_TTL_DEBOUNCE_IDX_0_01024MS
Definition naibrd_ttl.h:137
@ NAI_TTL_DEBOUNCE_IDX_1_31072MS
Definition naibrd_ttl.h:144
@ NAI_TTL_DEBOUNCE_IDX_0_00064MS
Definition naibrd_ttl.h:133
@ NAI_TTL_DEBOUNCE_IDX_0_08192MS
Definition naibrd_ttl.h:140
@ NAI_TTL_DEBOUNCE_IDX_0_00032MS
Definition naibrd_ttl.h:132
nai_ttl_raw_group_type
Definition naibrd_ttl.h:32
@ NAI_TTL_RAW_GROUP_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:34
@ NAI_TTL_RAW_GROUP_OUTPUT_STATE
Definition naibrd_ttl.h:33
nai_ttl_raw_channel_type
Definition naibrd_ttl.h:50
@ NAI_TTL_RAW_CHAN_PERIOD
Definition naibrd_ttl.h:52
@ NAI_TTL_RAW_CHAN_MODEREG
Definition naibrd_ttl.h:55
@ NAI_TTL_RAW_CHAN_DEBOUNCETIME
Definition naibrd_ttl.h:51
@ NAI_TTL_RAW_CHAN_PULSEWIDTH
Definition naibrd_ttl.h:53
@ NAI_TTL_RAW_CHAN_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:56
@ NAI_TTL_RAW_CHAN_BURSTCOUNT
Definition naibrd_ttl.h:54
nai_ttl_raw_module_type
Definition naibrd_ttl.h:6
@ NAI_TTL_RAW_MODULE_DEBOUNCELSB
Definition naibrd_ttl.h:7
@ NAI_TTL_RAW_MODULE_IO_DIRECTION
Definition naibrd_ttl.h:11
@ NAI_TTL_RAW_MODULE_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:12
@ NAI_TTL_RAW_MODULE_VCCSELECT
Definition naibrd_ttl.h:10
@ NAI_TTL_RAW_MODULE_POLARITY
Definition naibrd_ttl.h:8
@ NAI_TTL_RAW_MODULE_MASTERSELECT
Definition naibrd_ttl.h:9
uint32_t nai_ttl_raw_channel_t
Definition naibrd_ttl.h:48
nai_ttl_pattern_ctrl
Definition naibrd_ttl.h:176
@ NAI_TTL_CTRL_PATTERN_BURST
Definition naibrd_ttl.h:178
@ NAI_TTL_CTRL_PATTERN_PAUSE
Definition naibrd_ttl.h:179
@ NAI_TTL_CTRL_PATTERN_SYNC_FALLING
Definition naibrd_ttl.h:181
@ NAI_TTL_CTRL_PATTERN_SYNC_RISING
Definition naibrd_ttl.h:180
@ NAI_TTL_CTRL_PATTERN_ENABLE
Definition naibrd_ttl.h:177
int32_t nai_ttl_status_type_t
Definition naibrd_ttl.h:74
int32_t nai_ttl_enhanced_mode_t
Definition naibrd_ttl.h:198
nai_ttl_reset_type
Definition naibrd_ttl.h:108
@ NAI_TTL_RESET_TYPE_ENUM_COUNT
Definition naibrd_ttl.h:112
@ NAI_TTL_RESET_OVERCURRENT_STATUS
Definition naibrd_ttl.h:110
@ NAI_TTL_RESET_TIMER_ONLY
Definition naibrd_ttl.h:109
@ NAI_TTL_RESET_OVERCURRENT
Definition naibrd_ttl.h:111
uint32_t nai_ttl_raw_module_t
Definition naibrd_ttl.h:4