1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __LINUX_PLATFORM_DATA_AD7791__ 2 #ifndef __LINUX_PLATFORM_DATA_AD7791__ 3 #define __LINUX_PLATFORM_DATA_AD7791__ 3 #define __LINUX_PLATFORM_DATA_AD7791__ 4 4 5 /** 5 /** 6 * struct ad7791_platform_data - AD7791 device 6 * struct ad7791_platform_data - AD7791 device platform data 7 * @buffered: If set to true configure the dev 7 * @buffered: If set to true configure the device for buffered input mode. 8 * @burnout_current: If set to true the 100mA 8 * @burnout_current: If set to true the 100mA burnout current is enabled. 9 * @unipolar: If set to true sample in unipola 9 * @unipolar: If set to true sample in unipolar mode, if set to false sample in 10 * bipolar mode. 10 * bipolar mode. 11 */ 11 */ 12 struct ad7791_platform_data { 12 struct ad7791_platform_data { 13 bool buffered; 13 bool buffered; 14 bool burnout_current; 14 bool burnout_current; 15 bool unipolar; 15 bool unipolar; 16 }; 16 }; 17 17 18 #endif 18 #endif 19 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.