17 #ifndef AD7124_CONSOLE_APP_H_
18 #define AD7124_CONSOLE_APP_H_
23 #define AD7124_CONFIG_A 0
24 #define AD7124_CONFIG_B 1
56 #define LOW_POWER_MODE_FREQUENCY 76800
57 #define MED_POWER_MODE_FREQUENCY 153600
58 #define FUL_POWER_MODE_FREQUENCY 614400
60 #define DEVICE_REG_READ_ID 1
61 #define DEVICE_REG_WRITE_ID 2
console_menu ad7124_main_menu
Definition: ad7124_console_app.c:2082
int32_t ad7124_app_initialize(uint8_t configID)
Initialize the AD7124 device and the SPI port as required.
Definition: ad7124_console_app.c:274
filter_type
Definition: ad7124_console_app.h:33
@ FAST_SETTLING_SINC4_FILTER
Definition: ad7124_console_app.h:36
@ SINC4_FILTER
Definition: ad7124_console_app.h:34
@ FAST_SETTLING_SINC3_FILTER
Definition: ad7124_console_app.h:37
@ SINC3_FILTER
Definition: ad7124_console_app.h:35
reference_type
Definition: ad7124_console_app.h:41
@ AVDD
Definition: ad7124_console_app.h:45
@ REFIN2
Definition: ad7124_console_app.h:43
@ REFIN1
Definition: ad7124_console_app.h:42
@ INT
Definition: ad7124_console_app.h:44
power_mode_t
Definition: ad7124_console_app.h:49
@ MED_POWER_MODE
Definition: ad7124_console_app.h:51
@ LOW_POWER_MODE
Definition: ad7124_console_app.h:50
@ FULL_POWER_MODE
Definition: ad7124_console_app.h:52
Definition: ad7124_console_app.h:64
reference_type reference
Definition: ad7124_console_app.h:69
uint8_t pos_analog_input
Definition: ad7124_console_app.h:74
filter_type filter
Definition: ad7124_console_app.h:65
uint8_t polarity
Definition: ad7124_console_app.h:68
uint8_t input_buffers
Definition: ad7124_console_app.h:70
uint8_t setup_assigned
Definition: ad7124_console_app.h:73
uint8_t reference_buffers
Definition: ad7124_console_app.h:71
uint8_t channel_enabled
Definition: ad7124_console_app.h:72
uint8_t programmable_gain_bits
Definition: ad7124_console_app.h:67
uint8_t neg_analog_input
Definition: ad7124_console_app.h:75
uint16_t data_rate_fs_val
Definition: ad7124_console_app.h:66