13 #ifndef AD7124_SUPPORT_H_
14 #define AD7124_SUPPORT_H_
22 #include "no_os_util.h"
35 #define AD7124_CONV_TIMEOUT 1000000
55 int32_t *adc_raw_data);
struct ad5933_dev * device
Definition: main.c:77
int ad7124_single_read(struct ad7124_dev *device, uint8_t id, int32_t *adc_raw_data)
Perform Single Conversion.
Definition: ad7124_support.c:71
int ad7124_read_converted_data(struct ad7124_dev *dev, uint32_t *sd_adc_code)
Read ADC Converted data.
Definition: ad7124_support.c:111
int ad7124_get_3db_frequency(struct ad7124_dev *ad7124_dev_inst, uint8_t chn, uint16_t *frequency)
Get the 3db cutoff frequency.
Definition: ad7124_support.c:247
ad7124_input_polarity
Definition: ad7124_support.h:41
@ AD7124_UNIPOLAR
Definition: ad7124_support.h:42
@ AD7124_BIPOLAR
Definition: ad7124_support.h:43
int ad7124_update_sampling_rate(struct ad7124_dev *ad7124_dev_inst, uint16_t *frequency)
Update Sampling rate when more than one channel is enabled.
Definition: ad7124_support.c:341
int ad7124_get_polarity(struct ad7124_dev *dev, uint8_t chn, enum ad7124_input_polarity *polarity)
Get the polarity of input channel.
Definition: ad7124_support.c:44
int ad7124_set_3db_frequency(struct ad7124_dev *ad7124_dev_inst, uint8_t chn, uint16_t frequency)
Set the 3db cutoff frequency.
Definition: ad7124_support.c:288
int ad7124_trigger_data_capture(struct ad7124_dev *ad7124_dev_inst)
Function to prepare the ADC for data capture.
Definition: ad7124_support.c:176
int ad7124_stop_data_capture(struct ad7124_dev *ad7124_dev_inst)
Function to stop data capture.
Definition: ad7124_support.c:206
int ad7124_enable_cont_read(struct ad7124_dev *device, bool cont_read_en)
Enable/Disable continuous read mode.
Definition: ad7124_support.c:145
struct ad7124_dev * ad7124_dev_inst
Definition: ad7124_iio.c:162