precision-converters-firmware
Macros | Functions | Variables
ad717x_menu_defines.h File Reference
#include "adi_console_menu.h"
Include dependency graph for ad717x_menu_defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ODR_250000   250000.00
 
#define ODR_250000_STR   "250000.00"
 
#define ODR_250000_BITS   0x00
 
#define ODR_125000   125000.00
 
#define ODR_125000_STR   "125000.00"
 
#define ODR_125000_BITS   0x01
 
#define ODR_62500   62500.00
 
#define ODR_62500_STR   "62500.00"
 
#define ODR_62500_BITS   0x02
 
#define ODR_50000   50000.00
 
#define ODR_50000_STR   "50000.00"
 
#define ODR_50000_BITS   0x03
 
#define ODR_31250   31250.00
 
#define ODR_31250_STR   "31250.00"
 
#define ODR_31250_BITS   0x04
 
#define ODR_25000   25000.00
 
#define ODR_25000_STR   "25000.00"
 
#define ODR_25000_BITS   0x05
 
#define ODR_15625   15625.00
 
#define ODR_15625_STR   "15625.00"
 
#define ODR_15625_BITS   0x06
 
#define ODR_10417   10417.00
 
#define ODR_10417_STR   "10417.00"
 
#define ODR_10417_BITS   0x07
 
#define ODR_10000   10000.00
 
#define ODR_10000_STR   "10000.00"
 
#define ODR_10000_BITS   0x07
 
#define ODR_5208   5208.00
 
#define ODR_5208_STR   "5208.00"
 
#define ODR_5208_BITS   0x08
 
#define ODR_5000   5000.00
 
#define ODR_5000_STR   "5000.00"
 
#define ODR_5000_BITS   0x08
 
#define ODR_5194   5194
 
#define ODR_5194_STR   "5194.00"
 
#define ODR_5194_BITS   0x08
 
#define ODR_3906   3906.00
 
#define ODR_3906_STR   "3906.00"
 
#define ODR_3906_BITS   0x09
 
#define ODR_2604   2604.00
 
#define ODR_2604_STR   "2604.00"
 
#define ODR_2604_BITS   0x09
 
#define ODR_2597   2597.00
 
#define ODR_2597_STR   "2597.00"
 
#define ODR_2597_BITS   0x09
 
#define ODR_2500   2500.00
 
#define ODR_2500_STR   "2500.00"
 
#define ODR_2500_BITS   0x09
 
#define ODR_2496   2496.00
 
#define ODR_2496_STR   "2496.00"
 
#define ODR_2496_BITS   0x09
 
#define ODR_1157   1157.00
 
#define ODR_1157_STR   "1157.00"
 
#define ODR_1157_BITS   0x0A
 
#define ODR_1008   1008.00
 
#define ODR_1008_STR   "1008.00"
 
#define ODR_1008_BITS   0x0A
 
#define ODR_1007   1007.00
 
#define ODR_1007_STR   "1007.00"
 
#define ODR_1007_BITS   0x0A
 
#define ODR_1000   1000.00
 
#define ODR_1000_STR   "1000.00"
 
#define ODR_1000_BITS   0x0A
 
#define ODR_539   539.00
 
#define ODR_539_STR   "539.00"
 
#define ODR_539_BITS   0x0B
 
#define ODR_504   504.00
 
#define ODR_504_STR   "504.00"
 
#define ODR_504_BITS   0x0B
 
#define ODR_503_8   503.80
 
#define ODR_503_8_STR   "503.80"
 
#define ODR_503_8_BITS   0x0B
 
#define ODR_500   500.00
 
#define ODR_500_STR   "500.00"
 
#define ODR_500_BITS   0x0B
 
#define ODR_499   499.9
 
#define ODR_499_STR   "499.9"
 
#define ODR_499_BITS   0x0B
 
#define ODR_401   401.00
 
#define ODR_401_STR   "401.00"
 
#define ODR_401_BITS   0x0C
 
#define ODR_400_6   400.60
 
#define ODR_400_6_STR   "400.60"
 
#define ODR_400_6_BITS   0x0C
 
#define ODR_400   400.00
 
#define ODR_400_STR   "400.00"
 
#define ODR_400_BITS   0x0C
 
#define ODR_397_5   397.50
 
#define ODR_397_5_STR   "397.50"
 
#define ODR_397_5_BITS   0x0C
 
#define ODR_397   397.00
 
#define ODR_397_STR   "397.00"
 
#define ODR_397_BITS   0x0C
 
#define ODR_390   390.6
 
#define ODR_390_STR   "390.60"
 
#define ODR_390_BITS   0x0C
 
#define ODR_381   381.00
 
#define ODR_381_STR   "381.00"
 
#define ODR_381_BITS   0x0C
 
#define ODR_206   206.00
 
#define ODR_206_STR   "206.00"
 
#define ODR_206_BITS   0x0D
 
#define ODR_200_3   200.3
 
#define ODR_200_3_STR   "200.30"
 
#define ODR_200_3_BITS   0x0D
 
#define ODR_200   200.00
 
#define ODR_200_STR   "200.00"
 
#define ODR_200_BITS   0x0D
 
#define ODR_102   102.00
 
#define ODR_102_STR   "102.00"
 
#define ODR_102_BITS   0x0E
 
#define ODR_100_2   100.20
 
#define ODR_100_2_STR   "100.20"
 
#define ODR_100_2_BITS   0x0E
 
#define ODR_100   100.00
 
#define ODR_100_STR   "100.00"
 
#define ODR_100_BITS   0x0E
 
#define ODR_60   60.00
 
#define ODR_60_STR   "60.00"
 
#define ODR_60_BITS   0x0F
 
#define ODR_59_98   59.98
 
#define ODR_59_98_STR   "59.98"
 
#define ODR_59_98_BITS   0x0F
 
#define ODR_59_94   59.94
 
#define ODR_59_94_STR   "59.94"
 
#define ODR_59_94_BITS   0x0F
 
#define ODR_59_75   59.75
 
#define ODR_59_75_STR   "59.75"
 
#define ODR_59_75_BITS   0x0F
 
#define ODR_59_52   59.52
 
#define ODR_59_52_STR   "59.52"
 
#define ODR_59_52_BITS   0x0F
 
#define ODR_50   50.00
 
#define ODR_50_STR   "50.00"
 
#define ODR_50_BITS   0x10
 
#define ODR_49_96   49.96
 
#define ODR_49_96_STR   "49.96"
 
#define ODR_49_96_BITS   0x10
 
#define ODR_49_84   49.84
 
#define ODR_49_84_STR   "49.84"
 
#define ODR_49_84_BITS   0x10
 
#define ODR_49_68   49.68
 
#define ODR_49_68_STR   "49.68"
 
#define ODR_49_68_BITS   0x10
 
#define ODR_20_01   20.01
 
#define ODR_20_01_STR   "20.01"
 
#define ODR_20_01_BITS   0x11
 
#define ODR_20   20.00
 
#define ODR_20_STR   "20.00"
 
#define ODR_20_BITS   0x11
 
#define ODR_16_63   16.63
 
#define ODR_16_63_STR   "16.63"
 
#define ODR_16_63_BITS   0x12
 
#define ODR_16_67   16.67
 
#define ODR_16_67_STR   "16.67"
 
#define ODR_16_67_BITS   0x12
 
#define ODR_16_65   16.65
 
#define ODR_16_65_STR   "16.65"
 
#define ODR_16_65_BITS   0x12
 
#define ODR_10   10.00
 
#define ODR_10_STR   "10.00"
 
#define ODR_10_BITS   0x13
 
#define ODR_5   5.00
 
#define ODR_5_STR   "5.00"
 
#define ODR_5_BITS   0x14
 
#define ODR_2_5   2.50
 
#define ODR_2_5_STR   "2.50"
 
#define ODR_2_5_BITS   0x15
 
#define ODR_1_25   1.25
 
#define ODR_1_25_STR   "1.25"
 
#define ODR_1_25_BITS   0x16
 
#define ODR_RES_STR   "RES"
 
#define ODR_RES_BITS   0x17
 
#define VIN0_INPUT_BITS   0x00
 
#define VIN1_INPUT_BITS   0x01
 
#define VIN2_INPUT_BITS   0x02
 
#define VIN3_INPUT_BITS   0x03
 
#define VIN4_INPUT_BITS   0x04
 
#define VIN5_INPUT_BITS   0x05
 
#define VIN6_INPUT_BITS   0x06
 
#define VIN7_INPUT_BITS   0x07
 
#define VIN8_INPUT_BITS   0x08
 
#define VIN9_INPUT_BITS   0x09
 
#define VIN10_INPUT_BITS   0x0A
 
#define VIN11_INPUT_BITS   0x0B
 
#define VIN12_INPUT_BITS   0x0C
 
#define VIN13_INPUT_BITS   0x0D
 
#define VIN14_INPUT_BITS   0x0E
 
#define VIN15_INPUT_BITS   0x0F
 
#define VIN16_INPUT_BITS   0x10
 
#define VINCOM_INPUT_BITS   0x10
 
#define IN0N_INPUT_BITS   0x08
 
#define IN1N_INPUT_BITS   0x09
 
#define IN2N_INPUT_BITS   0x0A
 
#define IN3N_INPUT_BITS   0x0B
 
#define IN3P_INPUT_BITS   0x0C
 
#define IN2P_INPUT_BITS   0x0D
 
#define IN1P_INPUT_BITS   0x0E
 
#define IN0P_INPUT_BITS   0x0F
 
#define TEMP_SENSOR_POS_INP_BITS   0x11
 
#define TEMP_SENSOR_NEG_INP_BITS   0x12
 
#define AVDD1_AVSS_P_BITS   0x13
 
#define AVDD1_AVSS_N_BITS   0x14
 
#define REFP_INPUT_BITS   0x15
 
#define REFN_INPUT_BITS   0x16
 
#define ADCIN11_12_INPUT_BITS   0x16C
 
#define ADCIN12_11_INPUT_BITS   0x18B
 
#define ADCIN13_14_INPUT_BITS   0x1AE
 
#define ADCIN14_13_INPUT_BITS   0x1CD
 
#define ADCIN11_15_INPUT_BITS   0x16F
 
#define ADCIN12_15_INPUT_BITS   0x18F
 
#define ADCIN13_15_INPUT_BITS   0x1AF
 
#define ADCIN14_15_INPUT_BITS   0x1CF
 
#define VIN_PAIR_OFFSET   5
 
#define ADC_CHN(x)   (x)
 
#define CHN_PAIR_OFFSET   4
 
#define CHN_PAIR_MASK   0x0F
 
#define DEVICE_REG_READ_ID   (uint32_t)1
 
#define DEVICE_REG_WRITE_ID   (uint32_t)2
 
#define SELECT_DISBLE   (uint32_t)0
 
#define SELECT_ENABLE   (uint32_t)1
 
#define SINGLE_ENDED_INPUT   (uint32_t)0
 
#define DIFF_ENDED_INPUT   (uint32_t)1
 
#define ANALOG_INP_PAIR_SELECT   (uint32_t)0
 
#define POS_ANALOG_INP_SELECT   (uint32_t)1
 
#define NEG_ANALOG_INP_SELECT   (uint32_t)2
 
#define SINC5_SINC1_FILTER   (uint32_t)0
 
#define SINC3_FILTER   (uint32_t)1
 
#define POST_FILTER_NA   (uint32_t)0
 
#define POST_FLTR_27_SPS   (uint32_t)2
 
#define POST_FLTR_25_SPS   (uint32_t)3
 
#define POST_FLTR_20_SPS   (uint32_t)5
 
#define POST_FLTR_16_67_SPS   (uint32_t)6
 
#define EXTERNAL   (uint32_t)0
 
#define INTERNAL   (uint32_t)2
 
#define AVDD_AVSS   (uint32_t)3
 
#define UNIPOLAR   (uint32_t)0
 
#define BIPOLAR   (uint32_t)1
 

Functions

void display_main_menu_header (void)
 Display the header info for main menu. More...
 
int32_t menu_read_id (uint32_t menu_id)
 Handle the menu to read device ID. More...
 
int32_t menu_read_status (uint32_t menu_id)
 Handle the menu to read device status register. More...
 
int32_t menu_sample_channels (uint32_t menu_id)
 Handle the menu to sample the channels. More...
 
int32_t menu_chn_enable_disable_display (uint32_t menu_id)
 Display the menu to enable/disable channel selection. More...
 
int32_t menu_input_chn_connect_display (uint32_t menu_id)
 Display the menu selections to connect analog input pins to a channel. More...
 
int32_t menu_config_and_assign_setup (uint32_t menu_id)
 Handle the menu to configure and assign the device setup. More...
 
int32_t menu_display_setup (uint32_t menu_id)
 Handle the menu to display device setup. More...
 
int32_t menu_read_temperature (uint32_t menu_id)
 Handle the menu to read die temperature of device. More...
 
int32_t menu_calibrate_adc (uint32_t menu_id)
 Handle the menu to calibrate the device. More...
 
int32_t menu_read_write_device_regs (uint32_t menu_id)
 Handle the menu to read/write device registers. More...
 
int32_t menu_channels_enable_disable (uint32_t action)
 
int32_t menu_analog_input_connect (uint32_t user_analog_input)
 Handle the menu to connect input to channel. More...
 
int32_t menu_input_type_selection (uint32_t input_type_id)
 Handle the menu to select input type for open wire detection. More...
 
int32_t menu_select_chn_pair (uint32_t user_channel_pair)
 Handle the menu to select channel pair for open wire detection. More...
 
int32_t menu_select_input_pair (uint32_t user_input_pair)
 Handle the menu to select input pair for open wire detection. More...
 
int32_t menu_open_wire_detection (uint32_t menu_id)
 Handle the menu to perform open wire detection. More...
 
int32_t menu_rw_ad717x_register (uint32_t rw_id)
 
int32_t menu_single_conversion (uint32_t channel_id)
 Samples all enabled channels once in Single Conversion mode. More...
 
int32_t menu_continuous_conversion_tabular (uint32_t channel_id)
 Samples all enabled channels and displays in tabular form. More...
 
int32_t menu_continuous_conversion_stream (uint32_t channel_id)
 Samples all enabled channels and displays on the console. More...
 
int32_t menu_filter_select (uint32_t user_input_filter_type)
 Handle the menu to select the filter type. More...
 
int32_t menu_postfiler_enable_disable (uint32_t user_action)
 Handle the menu to enable/disable the post filter. More...
 
int32_t menu_postfiler_select (uint32_t user_input_post_filter_type)
 Handle the menu to select the post filter. More...
 
int32_t menu_odr_select (uint32_t user_input_odr_val)
 Handle the menu to select the ODR value. More...
 
int32_t menu_polarity_select (uint32_t user_input_polarity)
 Handle the menu to select the polarity. More...
 
int32_t menu_reference_source_select (uint32_t user_input_reference)
 Handle the menu to select the reference source. More...
 
int32_t menu_ref_buffer_enable_disable (uint32_t user_action)
 Handle the menu to enable/disable the reference buffers. More...
 
int32_t menu_input_buffer_enable_disable (uint32_t user_action)
 Handle the menu to enable/disable the input buffers. More...
 

Variables

const char * enable_disable_status []
 
const char * polarity_status []
 
const char * filter_name []
 
const char * postfilter_name []
 
const char * reference_name []
 
const char * input_pin_map []
 
const float sinc5_sinc1_odr_map []
 
const float sinc3_odr_map []
 
console_menu_item chn_enable_disable_items []
 
console_menu chn_enable_disable_menu
 
console_menu_item analog_input_connect_items []
 
console_menu analog_input_connect_menu
 
console_menu_item open_wire_detect_input_type_items []
 
console_menu open_wire_detect_input_type_menu
 
console_menu_item open_wire_detect_se_channel_items []
 
console_menu open_wire_detect_se_channel_menu
 
console_menu_item open_wire_detect_de_channel_items []
 
console_menu open_wire_detect_de_channel_menu
 
console_menu_item open_wire_detect_se_analog_input_items []
 
console_menu open_wire_detect_se_analog_input_menu
 
console_menu_item open_wire_detect_de_analog_input_items []
 
console_menu open_wire_detect_de_analog_input_menu
 
console_menu_item reg_read_write_items []
 
console_menu reg_read_write_menu
 
console_menu_item acquisition_menu_items []
 
console_menu acquisition_menu
 
console_menu_item filter_select_items []
 
console_menu filter_select_menu
 
console_menu_item postfilter_enable_disable_items []
 
console_menu postfilter_enable_disable_menu
 
console_menu_item postfilter_select_items []
 
console_menu postfilter_select_menu
 
console_menu_item sinc5_1_data_rate_select_items []
 
console_menu sinc5_1_data_rate_select_menu
 
console_menu_item sinc3_data_rate_select_items []
 
console_menu sinc3_data_rate_select_menu
 
console_menu_item polarity_select_items []
 
console_menu polarity_select_menu
 
console_menu_item reference_select_items []
 
console_menu reference_select_menu
 
console_menu_item ref_buffer_enable_disable_items []
 
console_menu ref_buffer_enable_disable_menu
 
console_menu_item input_buffer_enable_disable_items []
 
console_menu input_buffer_enable_disable_menu
 
console_menu_item main_menu_items []
 
console_menu ad717x_main_menu
 

Macro Definition Documentation

◆ ADC_CHN

#define ADC_CHN (   x)    (x)

◆ ADCIN11_12_INPUT_BITS

#define ADCIN11_12_INPUT_BITS   0x16C

◆ ADCIN11_15_INPUT_BITS

#define ADCIN11_15_INPUT_BITS   0x16F

◆ ADCIN12_11_INPUT_BITS

#define ADCIN12_11_INPUT_BITS   0x18B

◆ ADCIN12_15_INPUT_BITS

#define ADCIN12_15_INPUT_BITS   0x18F

◆ ADCIN13_14_INPUT_BITS

#define ADCIN13_14_INPUT_BITS   0x1AE

◆ ADCIN13_15_INPUT_BITS

#define ADCIN13_15_INPUT_BITS   0x1AF

◆ ADCIN14_13_INPUT_BITS

#define ADCIN14_13_INPUT_BITS   0x1CD

◆ ADCIN14_15_INPUT_BITS

#define ADCIN14_15_INPUT_BITS   0x1CF

◆ ANALOG_INP_PAIR_SELECT

#define ANALOG_INP_PAIR_SELECT   (uint32_t)0

◆ AVDD1_AVSS_N_BITS

#define AVDD1_AVSS_N_BITS   0x14

◆ AVDD1_AVSS_P_BITS

#define AVDD1_AVSS_P_BITS   0x13

◆ AVDD_AVSS

#define AVDD_AVSS   (uint32_t)3

◆ BIPOLAR

#define BIPOLAR   (uint32_t)1

◆ CHN_PAIR_MASK

#define CHN_PAIR_MASK   0x0F

◆ CHN_PAIR_OFFSET

#define CHN_PAIR_OFFSET   4

◆ DEVICE_REG_READ_ID

#define DEVICE_REG_READ_ID   (uint32_t)1

◆ DEVICE_REG_WRITE_ID

#define DEVICE_REG_WRITE_ID   (uint32_t)2

◆ DIFF_ENDED_INPUT

#define DIFF_ENDED_INPUT   (uint32_t)1

◆ EXTERNAL

#define EXTERNAL   (uint32_t)0

◆ IN0N_INPUT_BITS

#define IN0N_INPUT_BITS   0x08

◆ IN0P_INPUT_BITS

#define IN0P_INPUT_BITS   0x0F

◆ IN1N_INPUT_BITS

#define IN1N_INPUT_BITS   0x09

◆ IN1P_INPUT_BITS

#define IN1P_INPUT_BITS   0x0E

◆ IN2N_INPUT_BITS

#define IN2N_INPUT_BITS   0x0A

◆ IN2P_INPUT_BITS

#define IN2P_INPUT_BITS   0x0D

◆ IN3N_INPUT_BITS

#define IN3N_INPUT_BITS   0x0B

◆ IN3P_INPUT_BITS

#define IN3P_INPUT_BITS   0x0C

◆ INTERNAL

#define INTERNAL   (uint32_t)2

◆ NEG_ANALOG_INP_SELECT

#define NEG_ANALOG_INP_SELECT   (uint32_t)2

◆ ODR_10

#define ODR_10   10.00

◆ ODR_100

#define ODR_100   100.00

◆ ODR_1000

#define ODR_1000   1000.00

◆ ODR_10000

#define ODR_10000   10000.00

◆ ODR_10000_BITS

#define ODR_10000_BITS   0x07

◆ ODR_10000_STR

#define ODR_10000_STR   "10000.00"

◆ ODR_1000_BITS

#define ODR_1000_BITS   0x0A

◆ ODR_1000_STR

#define ODR_1000_STR   "1000.00"

◆ ODR_1007

#define ODR_1007   1007.00

◆ ODR_1007_BITS

#define ODR_1007_BITS   0x0A

◆ ODR_1007_STR

#define ODR_1007_STR   "1007.00"

◆ ODR_1008

#define ODR_1008   1008.00

◆ ODR_1008_BITS

#define ODR_1008_BITS   0x0A

◆ ODR_1008_STR

#define ODR_1008_STR   "1008.00"

◆ ODR_100_2

#define ODR_100_2   100.20

◆ ODR_100_2_BITS

#define ODR_100_2_BITS   0x0E

◆ ODR_100_2_STR

#define ODR_100_2_STR   "100.20"

◆ ODR_100_BITS

#define ODR_100_BITS   0x0E

◆ ODR_100_STR

#define ODR_100_STR   "100.00"

◆ ODR_102

#define ODR_102   102.00

◆ ODR_102_BITS

#define ODR_102_BITS   0x0E

◆ ODR_102_STR

#define ODR_102_STR   "102.00"

◆ ODR_10417

#define ODR_10417   10417.00

◆ ODR_10417_BITS

#define ODR_10417_BITS   0x07

◆ ODR_10417_STR

#define ODR_10417_STR   "10417.00"

◆ ODR_10_BITS

#define ODR_10_BITS   0x13

◆ ODR_10_STR

#define ODR_10_STR   "10.00"

◆ ODR_1157

#define ODR_1157   1157.00

◆ ODR_1157_BITS

#define ODR_1157_BITS   0x0A

◆ ODR_1157_STR

#define ODR_1157_STR   "1157.00"

◆ ODR_125000

#define ODR_125000   125000.00

◆ ODR_125000_BITS

#define ODR_125000_BITS   0x01

◆ ODR_125000_STR

#define ODR_125000_STR   "125000.00"

◆ ODR_15625

#define ODR_15625   15625.00

◆ ODR_15625_BITS

#define ODR_15625_BITS   0x06

◆ ODR_15625_STR

#define ODR_15625_STR   "15625.00"

◆ ODR_16_63

#define ODR_16_63   16.63

◆ ODR_16_63_BITS

#define ODR_16_63_BITS   0x12

◆ ODR_16_63_STR

#define ODR_16_63_STR   "16.63"

◆ ODR_16_65

#define ODR_16_65   16.65

◆ ODR_16_65_BITS

#define ODR_16_65_BITS   0x12

◆ ODR_16_65_STR

#define ODR_16_65_STR   "16.65"

◆ ODR_16_67

#define ODR_16_67   16.67

◆ ODR_16_67_BITS

#define ODR_16_67_BITS   0x12

◆ ODR_16_67_STR

#define ODR_16_67_STR   "16.67"

◆ ODR_1_25

#define ODR_1_25   1.25

◆ ODR_1_25_BITS

#define ODR_1_25_BITS   0x16

◆ ODR_1_25_STR

#define ODR_1_25_STR   "1.25"

◆ ODR_20

#define ODR_20   20.00

◆ ODR_200

#define ODR_200   200.00

◆ ODR_200_3

#define ODR_200_3   200.3

◆ ODR_200_3_BITS

#define ODR_200_3_BITS   0x0D

◆ ODR_200_3_STR

#define ODR_200_3_STR   "200.30"

◆ ODR_200_BITS

#define ODR_200_BITS   0x0D

◆ ODR_200_STR

#define ODR_200_STR   "200.00"

◆ ODR_206

#define ODR_206   206.00

◆ ODR_206_BITS

#define ODR_206_BITS   0x0D

◆ ODR_206_STR

#define ODR_206_STR   "206.00"

◆ ODR_20_01

#define ODR_20_01   20.01

◆ ODR_20_01_BITS

#define ODR_20_01_BITS   0x11

◆ ODR_20_01_STR

#define ODR_20_01_STR   "20.01"

◆ ODR_20_BITS

#define ODR_20_BITS   0x11

◆ ODR_20_STR

#define ODR_20_STR   "20.00"

◆ ODR_2496

#define ODR_2496   2496.00

◆ ODR_2496_BITS

#define ODR_2496_BITS   0x09

◆ ODR_2496_STR

#define ODR_2496_STR   "2496.00"

◆ ODR_2500

#define ODR_2500   2500.00

◆ ODR_25000

#define ODR_25000   25000.00

◆ ODR_250000

#define ODR_250000   250000.00

◆ ODR_250000_BITS

#define ODR_250000_BITS   0x00

◆ ODR_250000_STR

#define ODR_250000_STR   "250000.00"

◆ ODR_25000_BITS

#define ODR_25000_BITS   0x05

◆ ODR_25000_STR

#define ODR_25000_STR   "25000.00"

◆ ODR_2500_BITS

#define ODR_2500_BITS   0x09

◆ ODR_2500_STR

#define ODR_2500_STR   "2500.00"

◆ ODR_2597

#define ODR_2597   2597.00

◆ ODR_2597_BITS

#define ODR_2597_BITS   0x09

◆ ODR_2597_STR

#define ODR_2597_STR   "2597.00"

◆ ODR_2604

#define ODR_2604   2604.00

◆ ODR_2604_BITS

#define ODR_2604_BITS   0x09

◆ ODR_2604_STR

#define ODR_2604_STR   "2604.00"

◆ ODR_2_5

#define ODR_2_5   2.50

◆ ODR_2_5_BITS

#define ODR_2_5_BITS   0x15

◆ ODR_2_5_STR

#define ODR_2_5_STR   "2.50"

◆ ODR_31250

#define ODR_31250   31250.00

◆ ODR_31250_BITS

#define ODR_31250_BITS   0x04

◆ ODR_31250_STR

#define ODR_31250_STR   "31250.00"

◆ ODR_381

#define ODR_381   381.00

◆ ODR_381_BITS

#define ODR_381_BITS   0x0C

◆ ODR_381_STR

#define ODR_381_STR   "381.00"

◆ ODR_390

#define ODR_390   390.6

◆ ODR_3906

#define ODR_3906   3906.00

◆ ODR_3906_BITS

#define ODR_3906_BITS   0x09

◆ ODR_3906_STR

#define ODR_3906_STR   "3906.00"

◆ ODR_390_BITS

#define ODR_390_BITS   0x0C

◆ ODR_390_STR

#define ODR_390_STR   "390.60"

◆ ODR_397

#define ODR_397   397.00

◆ ODR_397_5

#define ODR_397_5   397.50

◆ ODR_397_5_BITS

#define ODR_397_5_BITS   0x0C

◆ ODR_397_5_STR

#define ODR_397_5_STR   "397.50"

◆ ODR_397_BITS

#define ODR_397_BITS   0x0C

◆ ODR_397_STR

#define ODR_397_STR   "397.00"

◆ ODR_400

#define ODR_400   400.00

◆ ODR_400_6

#define ODR_400_6   400.60

◆ ODR_400_6_BITS

#define ODR_400_6_BITS   0x0C

◆ ODR_400_6_STR

#define ODR_400_6_STR   "400.60"

◆ ODR_400_BITS

#define ODR_400_BITS   0x0C

◆ ODR_400_STR

#define ODR_400_STR   "400.00"

◆ ODR_401

#define ODR_401   401.00

◆ ODR_401_BITS

#define ODR_401_BITS   0x0C

◆ ODR_401_STR

#define ODR_401_STR   "401.00"

◆ ODR_499

#define ODR_499   499.9

◆ ODR_499_BITS

#define ODR_499_BITS   0x0B

◆ ODR_499_STR

#define ODR_499_STR   "499.9"

◆ ODR_49_68

#define ODR_49_68   49.68

◆ ODR_49_68_BITS

#define ODR_49_68_BITS   0x10

◆ ODR_49_68_STR

#define ODR_49_68_STR   "49.68"

◆ ODR_49_84

#define ODR_49_84   49.84

◆ ODR_49_84_BITS

#define ODR_49_84_BITS   0x10

◆ ODR_49_84_STR

#define ODR_49_84_STR   "49.84"

◆ ODR_49_96

#define ODR_49_96   49.96

◆ ODR_49_96_BITS

#define ODR_49_96_BITS   0x10

◆ ODR_49_96_STR

#define ODR_49_96_STR   "49.96"

◆ ODR_5

#define ODR_5   5.00

◆ ODR_50

#define ODR_50   50.00

◆ ODR_500

#define ODR_500   500.00

◆ ODR_5000

#define ODR_5000   5000.00

◆ ODR_50000

#define ODR_50000   50000.00

◆ ODR_50000_BITS

#define ODR_50000_BITS   0x03

◆ ODR_50000_STR

#define ODR_50000_STR   "50000.00"

◆ ODR_5000_BITS

#define ODR_5000_BITS   0x08

◆ ODR_5000_STR

#define ODR_5000_STR   "5000.00"

◆ ODR_500_BITS

#define ODR_500_BITS   0x0B

◆ ODR_500_STR

#define ODR_500_STR   "500.00"

◆ ODR_503_8

#define ODR_503_8   503.80

◆ ODR_503_8_BITS

#define ODR_503_8_BITS   0x0B

◆ ODR_503_8_STR

#define ODR_503_8_STR   "503.80"

◆ ODR_504

#define ODR_504   504.00

◆ ODR_504_BITS

#define ODR_504_BITS   0x0B

◆ ODR_504_STR

#define ODR_504_STR   "504.00"

◆ ODR_50_BITS

#define ODR_50_BITS   0x10

◆ ODR_50_STR

#define ODR_50_STR   "50.00"

◆ ODR_5194

#define ODR_5194   5194

◆ ODR_5194_BITS

#define ODR_5194_BITS   0x08

◆ ODR_5194_STR

#define ODR_5194_STR   "5194.00"

◆ ODR_5208

#define ODR_5208   5208.00

◆ ODR_5208_BITS

#define ODR_5208_BITS   0x08

◆ ODR_5208_STR

#define ODR_5208_STR   "5208.00"

◆ ODR_539

#define ODR_539   539.00

◆ ODR_539_BITS

#define ODR_539_BITS   0x0B

◆ ODR_539_STR

#define ODR_539_STR   "539.00"

◆ ODR_59_52

#define ODR_59_52   59.52

◆ ODR_59_52_BITS

#define ODR_59_52_BITS   0x0F

◆ ODR_59_52_STR

#define ODR_59_52_STR   "59.52"

◆ ODR_59_75

#define ODR_59_75   59.75

◆ ODR_59_75_BITS

#define ODR_59_75_BITS   0x0F

◆ ODR_59_75_STR

#define ODR_59_75_STR   "59.75"

◆ ODR_59_94

#define ODR_59_94   59.94

◆ ODR_59_94_BITS

#define ODR_59_94_BITS   0x0F

◆ ODR_59_94_STR

#define ODR_59_94_STR   "59.94"

◆ ODR_59_98

#define ODR_59_98   59.98

◆ ODR_59_98_BITS

#define ODR_59_98_BITS   0x0F

◆ ODR_59_98_STR

#define ODR_59_98_STR   "59.98"

◆ ODR_5_BITS

#define ODR_5_BITS   0x14

◆ ODR_5_STR

#define ODR_5_STR   "5.00"

◆ ODR_60

#define ODR_60   60.00

◆ ODR_60_BITS

#define ODR_60_BITS   0x0F

◆ ODR_60_STR

#define ODR_60_STR   "60.00"

◆ ODR_62500

#define ODR_62500   62500.00

◆ ODR_62500_BITS

#define ODR_62500_BITS   0x02

◆ ODR_62500_STR

#define ODR_62500_STR   "62500.00"

◆ ODR_RES_BITS

#define ODR_RES_BITS   0x17

◆ ODR_RES_STR

#define ODR_RES_STR   "RES"

◆ POS_ANALOG_INP_SELECT

#define POS_ANALOG_INP_SELECT   (uint32_t)1

◆ POST_FILTER_NA

#define POST_FILTER_NA   (uint32_t)0

◆ POST_FLTR_16_67_SPS

#define POST_FLTR_16_67_SPS   (uint32_t)6

◆ POST_FLTR_20_SPS

#define POST_FLTR_20_SPS   (uint32_t)5

◆ POST_FLTR_25_SPS

#define POST_FLTR_25_SPS   (uint32_t)3

◆ POST_FLTR_27_SPS

#define POST_FLTR_27_SPS   (uint32_t)2

◆ REFN_INPUT_BITS

#define REFN_INPUT_BITS   0x16

◆ REFP_INPUT_BITS

#define REFP_INPUT_BITS   0x15

◆ SELECT_DISBLE

#define SELECT_DISBLE   (uint32_t)0

◆ SELECT_ENABLE

#define SELECT_ENABLE   (uint32_t)1

◆ SINC3_FILTER

#define SINC3_FILTER   (uint32_t)1

◆ SINC5_SINC1_FILTER

#define SINC5_SINC1_FILTER   (uint32_t)0

◆ SINGLE_ENDED_INPUT

#define SINGLE_ENDED_INPUT   (uint32_t)0

◆ TEMP_SENSOR_NEG_INP_BITS

#define TEMP_SENSOR_NEG_INP_BITS   0x12

◆ TEMP_SENSOR_POS_INP_BITS

#define TEMP_SENSOR_POS_INP_BITS   0x11

◆ UNIPOLAR

#define UNIPOLAR   (uint32_t)0

◆ VIN0_INPUT_BITS

#define VIN0_INPUT_BITS   0x00

◆ VIN10_INPUT_BITS

#define VIN10_INPUT_BITS   0x0A

◆ VIN11_INPUT_BITS

#define VIN11_INPUT_BITS   0x0B

◆ VIN12_INPUT_BITS

#define VIN12_INPUT_BITS   0x0C

◆ VIN13_INPUT_BITS

#define VIN13_INPUT_BITS   0x0D

◆ VIN14_INPUT_BITS

#define VIN14_INPUT_BITS   0x0E

◆ VIN15_INPUT_BITS

#define VIN15_INPUT_BITS   0x0F

◆ VIN16_INPUT_BITS

#define VIN16_INPUT_BITS   0x10

◆ VIN1_INPUT_BITS

#define VIN1_INPUT_BITS   0x01

◆ VIN2_INPUT_BITS

#define VIN2_INPUT_BITS   0x02

◆ VIN3_INPUT_BITS

#define VIN3_INPUT_BITS   0x03

◆ VIN4_INPUT_BITS

#define VIN4_INPUT_BITS   0x04

◆ VIN5_INPUT_BITS

#define VIN5_INPUT_BITS   0x05

◆ VIN6_INPUT_BITS

#define VIN6_INPUT_BITS   0x06

◆ VIN7_INPUT_BITS

#define VIN7_INPUT_BITS   0x07

◆ VIN8_INPUT_BITS

#define VIN8_INPUT_BITS   0x08

◆ VIN9_INPUT_BITS

#define VIN9_INPUT_BITS   0x09

◆ VIN_PAIR_OFFSET

#define VIN_PAIR_OFFSET   5

◆ VINCOM_INPUT_BITS

#define VINCOM_INPUT_BITS   0x10

Function Documentation

◆ display_main_menu_header()

void display_main_menu_header ( void  )

Display the header info for main menu.

Returns
None

◆ menu_analog_input_connect()

int32_t menu_analog_input_connect ( uint32_t  user_analog_input)

Handle the menu to connect input to channel.

Parameters
analoginput to be connected
Returns
MENU_CONTINUE

◆ menu_calibrate_adc()

int32_t menu_calibrate_adc ( uint32_t  menu_id)

Handle the menu to calibrate the device.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_channels_enable_disable()

int32_t menu_channels_enable_disable ( uint32_t  action)

◆ menu_chn_enable_disable_display()

int32_t menu_chn_enable_disable_display ( uint32_t  menu_id)

Display the menu to enable/disable channel selection.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_config_and_assign_setup()

int32_t menu_config_and_assign_setup ( uint32_t  menu_id)

Handle the menu to configure and assign the device setup.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_continuous_conversion_stream()

int32_t menu_continuous_conversion_stream ( uint32_t  channel_id)

Samples all enabled channels and displays on the console.

◆ menu_continuous_conversion_tabular()

int32_t menu_continuous_conversion_tabular ( uint32_t  channel_id)

Samples all enabled channels and displays in tabular form.

◆ menu_display_setup()

int32_t menu_display_setup ( uint32_t  menu_id)

Handle the menu to display device setup.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_filter_select()

int32_t menu_filter_select ( uint32_t  user_input_filter_type)

Handle the menu to select the filter type.

Parameters
userselected filter type
Returns
MENU_DONE

◆ menu_input_buffer_enable_disable()

int32_t menu_input_buffer_enable_disable ( uint32_t  user_action)

Handle the menu to enable/disable the input buffers.

Parameters
userselected action
Returns
MENU_DONE

◆ menu_input_chn_connect_display()

int32_t menu_input_chn_connect_display ( uint32_t  menu_id)

Display the menu selections to connect analog input pins to a channel.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_input_type_selection()

int32_t menu_input_type_selection ( uint32_t  user_input_type)

Handle the menu to select input type for open wire detection.

Parameters
Userselected analog input type
Returns
MENU_DONE

◆ menu_odr_select()

int32_t menu_odr_select ( uint32_t  user_input_odr_val)

Handle the menu to select the ODR value.

Parameters
userselected ODR
Returns
MENU_DONE

◆ menu_open_wire_detection()

int32_t menu_open_wire_detection ( uint32_t  menu_id)

Handle the menu to perform open wire detection.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_polarity_select()

int32_t menu_polarity_select ( uint32_t  user_input_polarity)

Handle the menu to select the polarity.

Parameters
userselected polarity
Returns
MENU_DONE

◆ menu_postfiler_enable_disable()

int32_t menu_postfiler_enable_disable ( uint32_t  user_action)

Handle the menu to enable/disable the post filter.

Parameters
userselected action
Returns
MENU_DONE

◆ menu_postfiler_select()

int32_t menu_postfiler_select ( uint32_t  user_input_post_filter_type)

Handle the menu to select the post filter.

Parameters
userselected post filter type
Returns
MENU_DONE

◆ menu_read_id()

int32_t menu_read_id ( uint32_t  menu_id)

Handle the menu to read device ID.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_read_status()

int32_t menu_read_status ( uint32_t  menu_id)

Handle the menu to read device status register.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_read_temperature()

int32_t menu_read_temperature ( uint32_t  menu_id)

Handle the menu to read die temperature of device.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_read_write_device_regs()

int32_t menu_read_write_device_regs ( uint32_t  menu_id)

Handle the menu to read/write device registers.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_ref_buffer_enable_disable()

int32_t menu_ref_buffer_enable_disable ( uint32_t  user_action)

Handle the menu to enable/disable the reference buffers.

Parameters
userselected action
Returns
MENU_DONE

◆ menu_reference_source_select()

int32_t menu_reference_source_select ( uint32_t  user_input_reference)

Handle the menu to select the reference source.

Parameters
userselected reference source
Returns
MENU_DONE

◆ menu_rw_ad717x_register()

int32_t menu_rw_ad717x_register ( uint32_t  rw_id)

◆ menu_sample_channels()

int32_t menu_sample_channels ( uint32_t  menu_id)

Handle the menu to sample the channels.

Parameters
menu_id-(Optional parameter)
Returns
MENU_CONTINUE

◆ menu_select_chn_pair()

int32_t menu_select_chn_pair ( uint32_t  user_channel_pair)

Handle the menu to select channel pair for open wire detection.

Parameters
Userselected channel pair
Returns
MENU_DONE

◆ menu_select_input_pair()

int32_t menu_select_input_pair ( uint32_t  user_analog_input)

Handle the menu to select input pair for open wire detection.

Parameters
Userselected analog input
Returns
MENU_DONE

◆ menu_single_conversion()

int32_t menu_single_conversion ( uint32_t  channel_id)

Samples all enabled channels once in Single Conversion mode.

This stores all channels that are enabled in a bitmask, and then runs the ADC in single conversion mode, which acquires one channel of data at a time. After capture, that channel is disabled, and single conversion run again, until no channels are enabled. The original enable state of each channel is then restored.

Variable Documentation

◆ acquisition_menu

console_menu acquisition_menu
Initial value:
= {
.title = "Data Acquisition Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item acquisition_menu_items[]
Definition: ad717x_menu_defines.h:815
#define ARRAY_SIZE(x)
Definition: adi_console_menu.h:49

◆ acquisition_menu_items

console_menu_item acquisition_menu_items[]
Initial value:
= {
{ "Single Conversion Mode", 'S', menu_single_conversion },
{ "Continuous Conversion Mode - Table View", 'T', menu_continuous_conversion_tabular },
{ "Continuous Conversion Mode - Stream Data", 'C', menu_continuous_conversion_stream },
}
int32_t menu_single_conversion(uint32_t channel_id)
Samples all enabled channels once in Single Conversion mode.
Definition: ad717x_console_app.c:657
int32_t menu_continuous_conversion_stream(uint32_t channel_id)
Samples all enabled channels and displays on the console.
Definition: ad717x_console_app.c:638
int32_t menu_continuous_conversion_tabular(uint32_t channel_id)
Samples all enabled channels and displays in tabular form.
Definition: ad717x_console_app.c:620

◆ ad717x_main_menu

console_menu ad717x_main_menu
Initial value:
= {
.title = "Main Menu",
.items = main_menu_items,
.itemCount = ARRAY_SIZE(main_menu_items),
.headerItem = display_main_menu_header,
.footerItem = NULL,
.enableEscapeKey = false
}
void display_main_menu_header(void)
Display the header info for main menu.
Definition: ad717x_console_app.c:294
console_menu_item main_menu_items[]
Definition: ad717x_menu_defines.h:1178

◆ analog_input_connect_items

console_menu_item analog_input_connect_items[]

◆ analog_input_connect_menu

console_menu analog_input_connect_menu
Initial value:
= {
.title = "Select Analog Input",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item analog_input_connect_items[]
Definition: ad717x_menu_defines.h:572

◆ chn_enable_disable_items

console_menu_item chn_enable_disable_items[]
Initial value:
= {
{ "Enable Channels", 'E', menu_channels_enable_disable, NULL, SELECT_ENABLE },
{ "Disable Channels", 'D', menu_channels_enable_disable, NULL, SELECT_DISBLE },
}
#define SELECT_DISBLE
Definition: ad717x_menu_defines.h:356
int32_t menu_channels_enable_disable(uint32_t action)
Definition: ad717x_console_app.c:797
#define SELECT_ENABLE
Definition: ad717x_menu_defines.h:357

◆ chn_enable_disable_menu

console_menu chn_enable_disable_menu
Initial value:
= {
.title = "Channel Enable/Disable Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item chn_enable_disable_items[]
Definition: ad717x_menu_defines.h:554

◆ enable_disable_status

const char* enable_disable_status[]
Initial value:
= {
"Disable",
"Enable"
}

◆ filter_name

const char* filter_name[]
Initial value:
= {
"Sinc5+1",
"Sinc3",
}

◆ filter_select_items

console_menu_item filter_select_items[]
Initial value:
= {
{ "Sinc5+1", 'A', menu_filter_select, NULL, SINC5_SINC1_FILTER },
{ "Sinc3", 'B', menu_filter_select, NULL, SINC3_FILTER },
}
#define SINC3_FILTER
Definition: ad717x_menu_defines.h:371
#define SINC5_SINC1_FILTER
Definition: ad717x_menu_defines.h:370
int32_t menu_filter_select(uint32_t user_input_filter_type)
Handle the menu to select the filter type.
Definition: ad717x_console_app.c:948

◆ filter_select_menu

console_menu filter_select_menu
Initial value:
= {
.title = "Filter Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item filter_select_items[]
Definition: ad717x_menu_defines.h:834

◆ input_buffer_enable_disable_items

console_menu_item input_buffer_enable_disable_items[]
Initial value:
= {
{ "Disable", 'D', menu_input_buffer_enable_disable, NULL, SELECT_DISBLE },
}
int32_t menu_input_buffer_enable_disable(uint32_t user_action)
Handle the menu to enable/disable the input buffers.
Definition: ad717x_console_app.c:1185

◆ input_buffer_enable_disable_menu

console_menu input_buffer_enable_disable_menu
Initial value:
= {
.title = "Input Buffer Enable/Disable Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item input_buffer_enable_disable_items[]
Definition: ad717x_menu_defines.h:1160

◆ input_pin_map

const char* input_pin_map[]

◆ main_menu_items

console_menu_item main_menu_items[]
Initial value:
= {
{ "Read Device ID", 'A', menu_read_id },
{ "" },
{ "Read Status Register", 'B', menu_read_status },
{ "" },
{ "Sample Channels", 'C', menu_sample_channels },
{ "" },
{ "Enable/Disable Channels", 'D', menu_chn_enable_disable_display },
{ "" },
{ "Connect Analog Inputs to Channel", 'E', menu_input_chn_connect_display },
{ "" },
{ "Configure and Assign Setup", 'F', menu_config_and_assign_setup },
{ "" },
{ "Display setup", 'G', menu_display_setup },
{ "" },
{ "Read Temperature", 'H', menu_read_temperature },
{ "" },
{ "Calibrate ADC (Internal)", 'I', menu_calibrate_adc },
{ "" },
{ "Read/Write Device Registers", 'K', menu_read_write_device_regs },
}
int32_t menu_display_setup(uint32_t menu_id)
Handle the menu to display device setup.
Definition: ad717x_console_app.c:1318
int32_t menu_config_and_assign_setup(uint32_t menu_id)
Handle the menu to configure and assign the device setup.
Definition: ad717x_console_app.c:1222
int32_t menu_input_chn_connect_display(uint32_t menu_id)
Display the menu selections to connect analog input pins to a channel.
Definition: ad717x_console_app.c:925
int32_t menu_read_id(uint32_t menu_id)
Handle the menu to read device ID.
Definition: ad717x_console_app.c:306
int32_t menu_read_temperature(uint32_t menu_id)
Handle the menu to read die temperature of device.
Definition: ad717x_console_app.c:1458
int32_t menu_sample_channels(uint32_t menu_id)
Handle the menu to sample the channels.
Definition: ad717x_console_app.c:787
int32_t menu_calibrate_adc(uint32_t menu_id)
Handle the menu to calibrate the device.
Definition: ad717x_console_app.c:1613
int32_t menu_chn_enable_disable_display(uint32_t menu_id)
Display the menu to enable/disable channel selection.
Definition: ad717x_console_app.c:848
int32_t menu_read_write_device_regs(uint32_t menu_id)
Handle the menu to read/write device registers.
Definition: ad717x_console_app.c:2019
int32_t menu_read_status(uint32_t menu_id)
Handle the menu to read device status register.
Definition: ad717x_console_app.c:331

◆ open_wire_detect_de_analog_input_items

console_menu_item open_wire_detect_de_analog_input_items[]
Initial value:
= {
}
#define VIN3_INPUT_BITS
Definition: ad717x_menu_defines.h:301
#define VIN_PAIR_OFFSET
Definition: ad717x_menu_defines.h:340
#define VIN5_INPUT_BITS
Definition: ad717x_menu_defines.h:303
#define VIN0_INPUT_BITS
Definition: ad717x_menu_defines.h:298
#define VIN2_INPUT_BITS
Definition: ad717x_menu_defines.h:300
#define VIN1_INPUT_BITS
Definition: ad717x_menu_defines.h:299
#define VIN6_INPUT_BITS
Definition: ad717x_menu_defines.h:304
int32_t menu_select_input_pair(uint32_t user_input_pair)
Handle the menu to select input pair for open wire detection.
Definition: ad717x_console_app.c:1757
#define VIN4_INPUT_BITS
Definition: ad717x_menu_defines.h:302
#define VIN7_INPUT_BITS
Definition: ad717x_menu_defines.h:305

◆ open_wire_detect_de_analog_input_menu

console_menu open_wire_detect_de_analog_input_menu
Initial value:
= {
.title = "Select Analog Inputs",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item open_wire_detect_de_analog_input_items[]
Definition: ad717x_menu_defines.h:777

◆ open_wire_detect_de_channel_items

console_menu_item open_wire_detect_de_channel_items[]
Initial value:
= {
{ "CHN1, CHN2", 'A', menu_select_chn_pair, NULL, ((ADC_CHN(1) << CHN_PAIR_OFFSET) | ADC_CHN(2)) },
{ "CHN5, CHN6", 'B', menu_select_chn_pair, NULL, ((ADC_CHN(5) << CHN_PAIR_OFFSET) | ADC_CHN(6)) },
{ "CHN9, CHN10", 'C', menu_select_chn_pair, NULL, ((ADC_CHN(9) << CHN_PAIR_OFFSET) | ADC_CHN(10)) },
{ "CHN13, CHN14", 'D', menu_select_chn_pair, NULL, ((ADC_CHN(13) << CHN_PAIR_OFFSET) | ADC_CHN(14)) },
}
#define ADC_CHN(x)
Definition: ad717x_menu_defines.h:344
#define CHN_PAIR_OFFSET
Definition: ad717x_menu_defines.h:347
int32_t menu_select_chn_pair(uint32_t user_channel_pair)
Handle the menu to select channel pair for open wire detection.
Definition: ad717x_console_app.c:1743

◆ open_wire_detect_de_channel_menu

console_menu open_wire_detect_de_channel_menu
Initial value:
= {
.title = "Select Channel Pair",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item open_wire_detect_de_channel_items[]
Definition: ad717x_menu_defines.h:733

◆ open_wire_detect_input_type_items

console_menu_item open_wire_detect_input_type_items[]
Initial value:
= {
{ "Single Ended Input", 'S', menu_input_type_selection, NULL, SINGLE_ENDED_INPUT },
{ "Differential Ended Input", 'D', menu_input_type_selection, NULL, DIFF_ENDED_INPUT },
}
#define DIFF_ENDED_INPUT
Definition: ad717x_menu_defines.h:361
int32_t menu_input_type_selection(uint32_t input_type_id)
Handle the menu to select input type for open wire detection.
Definition: ad717x_console_app.c:1729
#define SINGLE_ENDED_INPUT
Definition: ad717x_menu_defines.h:360

◆ open_wire_detect_input_type_menu

console_menu open_wire_detect_input_type_menu
Initial value:
= {
.title = "Select Analog Input Type",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item open_wire_detect_input_type_items[]
Definition: ad717x_menu_defines.h:691

◆ open_wire_detect_se_analog_input_items

console_menu_item open_wire_detect_se_analog_input_items[]
Initial value:
= {
{ "VIN0, VINCOM", 'A', menu_select_input_pair, NULL, ((VIN0_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN1, VINCOM", 'B', menu_select_input_pair, NULL, ((VIN1_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN2, VINCOM", 'C', menu_select_input_pair, NULL, ((VIN2_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN3, VINCOM", 'D', menu_select_input_pair, NULL, ((VIN3_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN4, VINCOM", 'E', menu_select_input_pair, NULL, ((VIN4_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN5, VINCOM", 'F', menu_select_input_pair, NULL, ((VIN5_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN6, VINCOM", 'G', menu_select_input_pair, NULL, ((VIN6_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
{ "VIN7, VINCOM", 'H', menu_select_input_pair, NULL, ((VIN7_INPUT_BITS << VIN_PAIR_OFFSET) | VINCOM_INPUT_BITS) },
}
#define VINCOM_INPUT_BITS
Definition: ad717x_menu_defines.h:315

◆ open_wire_detect_se_analog_input_menu

console_menu open_wire_detect_se_analog_input_menu
Initial value:
= {
.title = "Select Analog Inputs",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item open_wire_detect_se_analog_input_items[]
Definition: ad717x_menu_defines.h:753

◆ open_wire_detect_se_channel_items

console_menu_item open_wire_detect_se_channel_items[]
Initial value:
= {
{ "CHN0, CHN15", 'A', menu_select_chn_pair, NULL, ((ADC_CHN(0) << CHN_PAIR_OFFSET) | ADC_CHN(15)) },
{ "CHN1, CHN2", 'B', menu_select_chn_pair, NULL, ((ADC_CHN(1) << CHN_PAIR_OFFSET) | ADC_CHN(2)) },
{ "CHN3, CHN4", 'C', menu_select_chn_pair, NULL, ((ADC_CHN(3) << CHN_PAIR_OFFSET) | ADC_CHN(4)) },
{ "CHN5, CHN6", 'D', menu_select_chn_pair, NULL, ((ADC_CHN(5) << CHN_PAIR_OFFSET) | ADC_CHN(6)) },
{ "CHN7, CHN8", 'E', menu_select_chn_pair, NULL, ((ADC_CHN(7) << CHN_PAIR_OFFSET) | ADC_CHN(8)) },
{ "CHN9, CHN10", 'F', menu_select_chn_pair, NULL, ((ADC_CHN(9) << CHN_PAIR_OFFSET) | ADC_CHN(10)) },
{ "CHN11, CHN12", 'G', menu_select_chn_pair, NULL, ((ADC_CHN(11) << CHN_PAIR_OFFSET) | ADC_CHN(12)) },
{ "CHN13, CHN14", 'H', menu_select_chn_pair, NULL, ((ADC_CHN(13) << CHN_PAIR_OFFSET) | ADC_CHN(14)) },
}

◆ open_wire_detect_se_channel_menu

console_menu open_wire_detect_se_channel_menu
Initial value:
= {
.title = "Select Channel Pair",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item open_wire_detect_se_channel_items[]
Definition: ad717x_menu_defines.h:709

◆ polarity_select_items

console_menu_item polarity_select_items[]
Initial value:
= {
{ "Unipolar", 'U', menu_polarity_select, NULL, UNIPOLAR },
{ "Bipolar", 'B', menu_polarity_select, NULL, BIPOLAR },
}
#define BIPOLAR
Definition: ad717x_menu_defines.h:387
#define UNIPOLAR
Definition: ad717x_menu_defines.h:386
int32_t menu_polarity_select(uint32_t user_input_polarity)
Handle the menu to select the polarity.
Definition: ad717x_console_app.c:1072

◆ polarity_select_menu

console_menu polarity_select_menu
Initial value:
= {
.title = "Polarity Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item polarity_select_items[]
Definition: ad717x_menu_defines.h:1105

◆ polarity_status

const char* polarity_status[]
Initial value:
= {
"Unipolar",
"Bipolar"
}

◆ postfilter_enable_disable_items

console_menu_item postfilter_enable_disable_items[]
Initial value:
= {
{ "Enable", 'E', menu_postfiler_enable_disable, NULL, SELECT_ENABLE },
{ "Disable", 'D', menu_postfiler_enable_disable, NULL, SELECT_DISBLE },
}
int32_t menu_postfiler_enable_disable(uint32_t user_action)
Handle the menu to enable/disable the post filter.
Definition: ad717x_console_app.c:983

◆ postfilter_enable_disable_menu

console_menu postfilter_enable_disable_menu
Initial value:
= {
.title = "Post-filter Enable/Disable Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item postfilter_enable_disable_items[]
Definition: ad717x_menu_defines.h:852

◆ postfilter_name

const char* postfilter_name[]
Initial value:
= {
"NA",
"NA",
"27_SPS",
"25_SPS",
"NA",
"20_SPS",
"16_SPS",
}

◆ postfilter_select_items

console_menu_item postfilter_select_items[]
Initial value:
= {
{ "27 SPS, 47 dB reject, 36.7 ms settling ",'A', menu_postfiler_select, NULL, POST_FLTR_27_SPS },
{ "25 SPS, 62 dB reject, 40 ms settling", 'B', menu_postfiler_select, NULL, POST_FLTR_25_SPS },
{ "20 SPS, 86 dB reject, 50 ms settling", 'C', menu_postfiler_select, NULL, POST_FLTR_20_SPS },
{ "16.67 SPS, 92 dB reject, 60 ms settling",'D', menu_postfiler_select, NULL, POST_FLTR_16_67_SPS },
}
int32_t menu_postfiler_select(uint32_t user_input_post_filter_type)
Handle the menu to select the post filter.
Definition: ad717x_console_app.c:1014
#define POST_FLTR_16_67_SPS
Definition: ad717x_menu_defines.h:378
#define POST_FLTR_20_SPS
Definition: ad717x_menu_defines.h:377
#define POST_FLTR_27_SPS
Definition: ad717x_menu_defines.h:375
#define POST_FLTR_25_SPS
Definition: ad717x_menu_defines.h:376

◆ postfilter_select_menu

console_menu postfilter_select_menu
Initial value:
= {
.title = "Post-filter Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item postfilter_select_items[]
Definition: ad717x_menu_defines.h:870

◆ ref_buffer_enable_disable_items

console_menu_item ref_buffer_enable_disable_items[]
Initial value:
= {
{ "Enable", 'E', menu_ref_buffer_enable_disable, NULL, SELECT_ENABLE },
{ "Disable", 'D', menu_ref_buffer_enable_disable, NULL, SELECT_DISBLE },
}
int32_t menu_ref_buffer_enable_disable(uint32_t user_action)
Handle the menu to enable/disable the reference buffers.
Definition: ad717x_console_app.c:1148

◆ ref_buffer_enable_disable_menu

console_menu ref_buffer_enable_disable_menu
Initial value:
= {
.title = "Reference Buffer Enable/Disable Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item ref_buffer_enable_disable_items[]
Definition: ad717x_menu_defines.h:1142

◆ reference_name

const char* reference_name[]
Initial value:
= {
"External",
"External",
"Internal",
"AVDD-AVSS"
}

◆ reference_select_items

console_menu_item reference_select_items[]
Initial value:
= {
{ "External", 'A', menu_reference_source_select, NULL, EXTERNAL },
{ "Internal", 'B', menu_reference_source_select, NULL, INTERNAL },
{ "AVDD-AVSS", 'C', menu_reference_source_select, NULL, AVDD_AVSS },
}
#define INTERNAL
Definition: ad717x_menu_defines.h:382
int32_t menu_reference_source_select(uint32_t user_input_reference)
Handle the menu to select the reference source.
Definition: ad717x_console_app.c:1103
#define AVDD_AVSS
Definition: ad717x_menu_defines.h:383
#define EXTERNAL
Definition: ad717x_menu_defines.h:381

◆ reference_select_menu

console_menu reference_select_menu
Initial value:
= {
.title = "Reference Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item reference_select_items[]
Definition: ad717x_menu_defines.h:1123

◆ reg_read_write_items

console_menu_item reg_read_write_items[]
Initial value:
= {
{ "Read Device Register", 'R', menu_rw_ad717x_register, NULL, DEVICE_REG_READ_ID },
{ "Write Device Register", 'W', menu_rw_ad717x_register, NULL, DEVICE_REG_WRITE_ID },
}
int32_t menu_rw_ad717x_register(uint32_t rw_id)
Definition: ad717x_console_app.c:1976
#define DEVICE_REG_WRITE_ID
Definition: ad717x_menu_defines.h:353
#define DEVICE_REG_READ_ID
Definition: ad717x_menu_defines.h:352

◆ reg_read_write_menu

console_menu reg_read_write_menu
Initial value:
= {
.title = "Register Read/Write Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item reg_read_write_items[]
Definition: ad717x_menu_defines.h:797

◆ sinc3_data_rate_select_items

console_menu_item sinc3_data_rate_select_items[]

◆ sinc3_data_rate_select_menu

console_menu sinc3_data_rate_select_menu
Initial value:
= {
.title = "ODR Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item sinc3_data_rate_select_items[]
Definition: ad717x_menu_defines.h:993

◆ sinc3_odr_map

const float sinc3_odr_map[]

◆ sinc5_1_data_rate_select_items

console_menu_item sinc5_1_data_rate_select_items[]

◆ sinc5_1_data_rate_select_menu

console_menu sinc5_1_data_rate_select_menu
Initial value:
= {
.title = "ODR Selection Menu",
.headerItem = NULL,
.footerItem = NULL,
.enableEscapeKey = true
}
console_menu_item sinc5_1_data_rate_select_items[]
Definition: ad717x_menu_defines.h:890

◆ sinc5_sinc1_odr_map

const float sinc5_sinc1_odr_map[]
Initial value:
= {
}