mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. Signed-off-by: Pascal Sachs <[email protected]> [groeck: Fixed 'Variable length array is used' gcc warning] Signed-off-by: Guenter Roeck <[email protected]>
26 lines
801 B
C
26 lines
801 B
C
/*
|
|
* Copyright (C) 2016 Sensirion AG, Switzerland
|
|
* Author: David Frey <[email protected]>
|
|
* Author: Pascal Sachs <[email protected]>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __SHT3X_H_
|
|
#define __SHT3X_H_
|
|
|
|
struct sht3x_platform_data {
|
|
bool blocking_io;
|
|
bool high_precision;
|
|
};
|
|
#endif /* __SHT3X_H_ */
|