ad7791.h 491 B

1234567891011121314151617
  1. #ifndef __LINUX_PLATFORM_DATA_AD7791__
  2. #define __LINUX_PLATFORM_DATA_AD7791__
  3. /**
  4. * struct ad7791_platform_data - AD7791 device platform data
  5. * @buffered: If set to true configure the device for buffered input mode.
  6. * @burnout_current: If set to true the 100mA burnout current is enabled.
  7. * @unipolar: If set to true sample in unipolar mode, if set to false sample in
  8. * bipolar mode.
  9. */
  10. struct ad7791_platform_data {
  11. bool buffered;
  12. bool burnout_current;
  13. bool unipolar;
  14. };
  15. #endif