Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_CO2 (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/samples/sensor/mhz19b/src/
Dmain.c29 ret = sensor_attr_set(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_FULL_SCALE, &val); in main()
36 ret = sensor_attr_set(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_MHZ19B_ABC, &val); in main()
46 ret = sensor_attr_get(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_FULL_SCALE, &val); in main()
54 ret = sensor_attr_get(dev, SENSOR_CHAN_CO2, SENSOR_ATTR_MHZ19B_ABC, &val); in main()
68 if (sensor_channel_get(dev, SENSOR_CHAN_CO2, &val) != 0) { in main()
/Zephyr-latest/samples/sensor/ccs811/src/
Dmain.c57 sensor_channel_get(dev, SENSOR_CHAN_CO2, &co2); in do_fetch()
153 rc = sensor_attr_set(dev, SENSOR_CHAN_CO2, in main()
162 rc = sensor_attr_set(dev, SENSOR_CHAN_CO2, in main()
168 trig.chan = SENSOR_CHAN_CO2; in main()
/Zephyr-latest/samples/sensor/co2_polling/src/
Dmain.c25 sensor_channel_get(dev, SENSOR_CHAN_CO2, &value) == 0) { in main()
/Zephyr-latest/samples/sensor/ams_iAQcore/src/
Dmain.c27 sensor_channel_get(dev, SENSOR_CHAN_CO2, &co2); in main()
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c157 if (chan != SENSOR_CHAN_CO2) { in mhz19b_channel_get()
198 if (chan != SENSOR_CHAN_CO2) { in mhz19b_attr_set()
220 if (chan != SENSOR_CHAN_CO2) { in mhz19b_attr_get()
243 if (chan == SENSOR_CHAN_CO2 || chan == SENSOR_CHAN_ALL) { in mhz19b_sample_fetch()
/Zephyr-latest/drivers/sensor/explorir_m/
Dexplorir_m.c268 if (chan != SENSOR_CHAN_CO2) { in explorir_m_attr_get()
284 if (chan != SENSOR_CHAN_CO2) { in explorir_m_attr_set()
303 if (chan != SENSOR_CHAN_CO2 && chan != SENSOR_CHAN_ALL) { in explorir_m_sample_fetch()
316 if (chan != SENSOR_CHAN_CO2) { in explorir_m_channel_get()
/Zephyr-latest/drivers/sensor/ams/ams_iAQcore/
DiAQcore.c77 case SENSOR_CHAN_CO2: in iaqcore_channel_get()
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c97 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_CO2 || in ens160_sample_fetch()
140 case SENSOR_CHAN_CO2: in ens160_channel_get()
/Zephyr-latest/drivers/sensor/sensirion/scd4x/
Dscd4x.c578 chan != SENSOR_CHAN_HUMIDITY && chan != SENSOR_CHAN_CO2) { in scd4x_sample_fetch()
648 case SENSOR_CHAN_CO2: in scd4x_channel_get()
665 chan != SENSOR_CHAN_HUMIDITY && chan != SENSOR_CHAN_CO2) { in scd4x_attr_set()
771 chan != SENSOR_CHAN_HUMIDITY && chan != SENSOR_CHAN_CO2) { in scd4x_attr_get()
/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811_trigger.c29 if (chan != SENSOR_CHAN_CO2) { in ccs811_attr_set()
Dccs811.c269 case SENSOR_CHAN_CO2: in ccs811_channel_get()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h122 SENSOR_CHAN_CO2, enumerator
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c76 [SENSOR_CHAN_CO2] = "co2",