xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1What:		/sys/bus/iio/devices/iio:deviceX/out_temp_raw
2Date:		August 2021
3KernelVersion:	5.15
4Contact:	Andreas Klinger <ak@it-klinger.de>
5Description:
6		Set the temperature. This value is sent to the sensor for
7		temperature compensation.
8		Default value: 25000 (25 °C)
9
10What:		/sys/bus/iio/devices/iio:deviceX/out_humidityrelative_raw
11Date:		August 2021
12KernelVersion:	5.15
13Contact:	Andreas Klinger <ak@it-klinger.de>
14Description:
15		Set the relative humidity. This value is sent to the sensor for
16		humidity compensation.
17		Default value: 50000 (50 % relative humidity)
18
19What:		/sys/bus/iio/devices/iio:deviceX/in_resistance_calibbias
20Date:		August 2021
21KernelVersion:	5.15
22Contact:	Andreas Klinger <ak@it-klinger.de>
23Description:
24		Set the bias value for the resistance which is used for
25		calculation of in_concentration_input as follows:
26
27		x = (in_resistance_raw - in_resistance_calibbias) * 0.65
28
29		in_concentration_input = 500 / (1 + e^x)
30
31		Default value: 30000
32