Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __LINUX_PLATFORM_DATA_AD7791__
0003 #define __LINUX_PLATFORM_DATA_AD7791__
0004 
0005 /**
0006  * struct ad7791_platform_data - AD7791 device platform data
0007  * @buffered: If set to true configure the device for buffered input mode.
0008  * @burnout_current: If set to true the 100mA burnout current is enabled.
0009  * @unipolar: If set to true sample in unipolar mode, if set to false sample in
0010  *      bipolar mode.
0011  */
0012 struct ad7791_platform_data {
0013     bool buffered;
0014     bool burnout_current;
0015     bool unipolar;
0016 };
0017 
0018 #endif