hwmon: (sht3x) add humidity heater element control

The enables control of the SHT31 sensors heating element that can turned
on to remove excess humidity.

Cc: Guenter Roeck <[email protected]>
Cc: David Frey <[email protected]>
Signed-off-by: Matt Ranostay <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
Matt Ranostay 2016-07-09 23:49:18 -07:00 • committed by Guenter Roeck
commit 50c22cd154
2 changed files with 54 additions and 0 deletions

View file

@ -67,6 +67,10 @@ temp1_alarm: alarm flag is set to 1 if the temperature is outside the
configured limits. Alarm only works in periodic measure mode
humidity1_alarm: alarm flag is set to 1 if the humidity is outside the
configured limits. Alarm only works in periodic measure mode
heater_enable: heater enable, heating element removes excess humidity from
sensor
0: turned off
1: turned on
update_interval: update interval, 0 for single shot, interval in msec
for periodic measurement. If the interval is not supported
by the sensor, the next faster interval is chosen