13 #ifndef AD7134_SUPPORT_H_
14 #define AD7134_SUPPORT_H_
33 #define AD7134_CONV_TIMEOUT 10000
38 #define AD713X_DEV_CONFIG_PWR_MODE_RD(x) (((x) >> 1) & 0x1)
43 #define AD713X_DATA_PACKET_CONFIG_FRAME_RD(x) (((x) >> 4) & 0x7)
44 #define AD713X_DATA_PACKET_CONFIG_DCLK_FREQ_MODE_RD(x) (((x) >> 0) & 0xF)
49 #define AD713X_DIG_INT_CONFIG_FORMAT_MODE_RD(x) (((x) >> 0) & 0x3)
54 #define AD713X_DIGFILTER_SEL_CH_MODE_RD(x, ch) (((x) >> (2 * ch)) & 0x3)
int32_t ad7134_perform_conv_and_read_sample(uint8_t input_chn, uint16_t *adc_data)
Read ADC single sample data.
Definition: ad7134_support.c:489
int32_t ad7134_read_all_channels(uint16_t *chn_data)
Read all chahnnels over DOUT0 and DOUT1 pins using bit-banging method.
Definition: ad7134_support.c:405
int32_t ad7134_data_capture_init(struct ad713x_dev *dev)
Perform the data capture initialization.
Definition: ad7134_support.c:97
int32_t ad7134_read_data(uint16_t *adc_data, uint8_t curr_chn)
Read ADC data over DOUT0 and DOUT1 pins using bit-banging method.
Definition: ad7134_support.c:254
Definition: ad77681.h:497