Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Devicetree binding constants for the Sensirion STC31 CO2 sensor. More...

Go to the source code of this file.

Macros

Binary gas / measurement mode

Values for the binary-gas devicetree property (STC31-C datasheet section 3.3.2).

#define STC31_DT_BINARY_GAS_CO2_IN_N2_100_LN   0x0000
 CO2 in N2, 0...100 vol% (low-noise).
#define STC31_DT_BINARY_GAS_CO2_IN_AIR_100_LN   0x0001
 CO2 in air, 0...100 vol% (low-noise).
#define STC31_DT_BINARY_GAS_CO2_IN_N2_25_LN   0x0002
 CO2 in N2, 0...25 vol% (low-noise).
#define STC31_DT_BINARY_GAS_CO2_IN_AIR_25_LN   0x0003
 CO2 in air, 0...25 vol% (low-noise).
#define STC31_DT_BINARY_GAS_CO2_IN_N2_100   0x0010
 CO2 in N2, 0...100 vol%.
#define STC31_DT_BINARY_GAS_CO2_IN_AIR_100   0x0011
 CO2 in air, 0...100 vol%.
#define STC31_DT_BINARY_GAS_CO2_IN_N2_40   0x0012
 CO2 in N2, 0...40 vol%.
#define STC31_DT_BINARY_GAS_CO2_IN_AIR_40   0x0013
 CO2 in air, 0...40 vol%.

Detailed Description

Devicetree binding constants for the Sensirion STC31 CO2 sensor.