Go to the documentation of this file.
9 #ifndef IIO_ADC_AD7298_H_
10 #define IIO_ADC_AD7298_H_
12 #define AD7298_WRITE (1 << 15)
13 #define AD7298_REPEAT (1 << 14)
14 #define AD7298_CH(x) (1 << (13 - (x)))
15 #define AD7298_TSENSE (1 << 5)
16 #define AD7298_EXTREF (1 << 2)
17 #define AD7298_TAVG (1 << 1)
18 #define AD7298_PDD (1 << 0)
20 #define AD7298_MAX_CHAN 8
21 #define AD7298_BITS 12
22 #define AD7298_STORAGE_BITS 16
23 #define AD7298_INTREF_mV 2500
25 #define AD7298_CH_TEMP 9
27 #define RES_MASK(bits) ((1 << (bits)) - 1)
55 #ifdef CONFIG_IIO_BUFFER
59 const unsigned long *active_scan_mask);
72 #define ad7298_update_scan_mode NULL