/Zephyr-Core-3.6.0/samples/sensor/tmp108/src/ |
D | main.c | 21 SENSOR_CHAN_AMBIENT_TEMP, in temperature_one_shot() 40 SENSOR_CHAN_AMBIENT_TEMP, in temperature_alert() 53 .chan = SENSOR_CHAN_AMBIENT_TEMP, in enable_temp_alerts() 71 SENSOR_CHAN_AMBIENT_TEMP, in enable_temp_alerts() 76 SENSOR_CHAN_AMBIENT_TEMP, in enable_temp_alerts() 81 SENSOR_CHAN_AMBIENT_TEMP, in enable_temp_alerts() 86 SENSOR_CHAN_AMBIENT_TEMP, in enable_temp_alerts() 99 .chan = SENSOR_CHAN_AMBIENT_TEMP, in enable_one_shot() 104 SENSOR_CHAN_AMBIENT_TEMP, in enable_one_shot() 120 SENSOR_CHAN_AMBIENT_TEMP, in get_temperature_continuous() [all …]
|
/Zephyr-Core-3.6.0/samples/sensor/thermometer/src/ |
D | main.c | 20 ret = sensor_sample_fetch_chan(dev, SENSOR_CHAN_AMBIENT_TEMP); in read_temperature() 26 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, val); in read_temperature() 62 .chan = SENSOR_CHAN_AMBIENT_TEMP, in main() 90 ret = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in main() 103 ret = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in main()
|
/Zephyr-Core-3.6.0/samples/sensor/tmp112/src/ |
D | main.c | 21 ret = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in do_main() 30 ret = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in do_main() 44 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp_value); in do_main()
|
/Zephyr-Core-3.6.0/samples/sensor/mcp9808/src/ |
D | main.c | 53 int rc = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in set_window() 58 rc = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in set_window() 95 rc = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in trigger_handler() 125 sensor_trig.chan = SENSOR_CHAN_AMBIENT_TEMP; in main() 145 rc = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/max6675/src/ |
D | main.c | 33 ret = sensor_sample_fetch_chan(dev, SENSOR_CHAN_AMBIENT_TEMP); in main() 39 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &val); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/adt7420/src/ |
D | main.c | 84 int rc = sensor_set_attribute(dev, SENSOR_CHAN_AMBIENT_TEMP, in sensor_set_window() 88 sensor_set_attribute(dev, SENSOR_CHAN_AMBIENT_TEMP, in sensor_set_window() 108 sensor_set_attribute(dev, SENSOR_CHAN_AMBIENT_TEMP, in process() 114 .chan = SENSOR_CHAN_AMBIENT_TEMP, in process() 137 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, in process()
|
/Zephyr-Core-3.6.0/samples/sensor/amg88xx/src/ |
D | main.c | 69 if (sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in main() 77 .chan = SENSOR_CHAN_AMBIENT_TEMP, in main() 98 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, in main()
|
/Zephyr-Core-3.6.0/samples/sensor/tmp116/src/ |
D | main.c | 55 ret = sensor_attr_set(dev, SENSOR_CHAN_AMBIENT_TEMP, in main() 68 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/th02/ |
D | th02.c | 90 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in th02_sample_fetch() 106 __ASSERT_NO_MSG(chan == SENSOR_CHAN_AMBIENT_TEMP || in th02_channel_get() 109 if (chan == SENSOR_CHAN_AMBIENT_TEMP) { in th02_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/mcp9808/ |
D | mcp9808.c | 72 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in mcp9808_sample_fetch() 84 __ASSERT_NO_MSG(chan == SENSOR_CHAN_AMBIENT_TEMP); in mcp9808_channel_get() 86 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in mcp9808_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/max6675/ |
D | max6675.c | 48 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in max6675_sample_fetch() 74 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in max6675_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/amd_sb_tsi/ |
D | sb_tsi.c | 41 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in sb_tsi_sample_fetch() 68 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in sb_tsi_channel_get()
|
/Zephyr-Core-3.6.0/samples/boards/96b_argonkey/sensors/src/ |
D | main.c | 94 sensor_sample_fetch_chan(dev, SENSOR_CHAN_AMBIENT_TEMP); in lsm6dsl_trigger_handler() 95 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in lsm6dsl_trigger_handler() 292 sensor_channel_get(baro_dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main() 343 sensor_sample_fetch_chan(accel_dev, SENSOR_CHAN_AMBIENT_TEMP); in main() 344 sensor_channel_get(accel_dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/tcn75a/ |
D | tcn75a_trigger.c | 23 if ((trig->chan != SENSOR_CHAN_ALL) && (trig->chan != SENSOR_CHAN_AMBIENT_TEMP)) { in tcn75a_trigger_set() 53 if ((chan != SENSOR_CHAN_AMBIENT_TEMP) && (chan != SENSOR_CHAN_ALL)) { in tcn75a_attr_set() 87 if ((chan != SENSOR_CHAN_AMBIENT_TEMP) && (chan != SENSOR_CHAN_ALL)) { in tcn75a_attr_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/adt7420/ |
D | adt7420.c | 55 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in adt7420_attr_set() 118 chan == SENSOR_CHAN_AMBIENT_TEMP); in adt7420_sample_fetch() 136 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in adt7420_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/tmp112/ |
D | tmp112.c | 73 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp112_attr_set() 146 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in tmp112_sample_fetch() 170 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp112_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/ens210/ |
D | ens210.c | 51 || chan == SENSOR_CHAN_AMBIENT_TEMP), in ens210_measure() 92 || chan == SENSOR_CHAN_AMBIENT_TEMP in ens210_sample_fetch() 113 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP) { in ens210_sample_fetch() 169 case SENSOR_CHAN_AMBIENT_TEMP: in ens210_channel_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/tmp116/ |
D | tmp116.c | 174 chan == SENSOR_CHAN_AMBIENT_TEMP); in tmp116_sample_fetch() 213 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp116_channel_get() 236 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp116_attr_set() 266 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp116_attr_get()
|
/Zephyr-Core-3.6.0/drivers/sensor/lm77/ |
D | lm77.c | 136 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm77_attr_set() 177 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm77_attr_get() 220 if (trig->type != SENSOR_TRIG_THRESHOLD || trig->chan != SENSOR_CHAN_AMBIENT_TEMP || in lm77_trigger_set() 272 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm77_sample_fetch() 292 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm77_channel_get()
|
/Zephyr-Core-3.6.0/samples/sensor/ens210/src/ |
D | main.c | 27 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temperature); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/ti_hdc/src/ |
D | main.c | 33 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
|
/Zephyr-Core-3.6.0/drivers/sensor/mcp9600/ |
D | mcp9600.c | 67 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in mcp9600_sample_fetch() 93 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in mcp9600_channel_get()
|
/Zephyr-Core-3.6.0/samples/sensor/dps310/src/ |
D | main.c | 28 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/ds18b20/src/ |
D | main.c | 49 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
|
/Zephyr-Core-3.6.0/samples/sensor/lps22hb/src/ |
D | main.c | 28 if (sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp) < 0) { in process_sample()
|