Searched refs:SENSOR_CHAN_CO2 (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/samples/sensor/mhz19b/src/ |
D | main.c | 29 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/ |
D | main.c | 57 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/ |
D | main.c | 25 sensor_channel_get(dev, SENSOR_CHAN_CO2, &value) == 0) { in main()
|
/Zephyr-latest/samples/sensor/ams_iAQcore/src/ |
D | main.c | 27 sensor_channel_get(dev, SENSOR_CHAN_CO2, &co2); in main()
|
/Zephyr-latest/drivers/sensor/mhz19b/ |
D | mhz19b.c | 157 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/ |
D | explorir_m.c | 268 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/ |
D | iAQcore.c | 77 case SENSOR_CHAN_CO2: in iaqcore_channel_get()
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160.c | 97 __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/ |
D | scd4x.c | 578 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/ |
D | ccs811_trigger.c | 29 if (chan != SENSOR_CHAN_CO2) { in ccs811_attr_set()
|
D | ccs811.c | 269 case SENSOR_CHAN_CO2: in ccs811_channel_get()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 122 SENSOR_CHAN_CO2, enumerator
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 76 [SENSOR_CHAN_CO2] = "co2",
|