![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * AD7887 SPI ADC driver 0004 * 0005 * Copyright 2010 Analog Devices Inc. 0006 */ 0007 #ifndef IIO_ADC_AD7887_H_ 0008 #define IIO_ADC_AD7887_H_ 0009 0010 /** 0011 * struct ad7887_platform_data - AD7887 ADC driver platform data 0012 * @en_dual: Whether to use dual channel mode. If set to true AIN1 becomes the 0013 * second input channel, and Vref is internally connected to Vdd. If set to 0014 * false the device is used in single channel mode and AIN1/Vref is used as 0015 * VREF input. 0016 */ 0017 struct ad7887_platform_data { 0018 bool en_dual; 0019 }; 0020 0021 #endif /* IIO_ADC_AD7887_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |