Go to the documentation of this file.
8 #ifndef IIO_ADC_AD7887_H_
9 #define IIO_ADC_AD7887_H_
11 #define AD7887_REF_DIS (1 << 5)
12 #define AD7887_DUAL (1 << 4)
13 #define AD7887_CH_AIN1 (1 << 3)
14 #define AD7887_CH_AIN0 (0 << 3)
15 #define AD7887_PM_MODE1 (0)
16 #define AD7887_PM_MODE2 (1)
17 #define AD7887_PM_MODE3 (2)
18 #define AD7887_PM_MODE4 (3)
26 #define RES_MASK(bits) ((1 << (bits)) - 1)
84 #ifdef CONFIG_IIO_BUFFER