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