Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_AMBIENT_TEMP (Results 1 – 25 of 112) sorted by relevance

12345

/Zephyr-Core-3.6.0/samples/sensor/tmp108/src/
Dmain.c21 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/
Dmain.c20 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/
Dmain.c21 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/
Dmain.c53 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/
Dmain.c33 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/
Dmain.c84 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/
Dmain.c69 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/
Dmain.c55 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/
Dth02.c90 __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/
Dmcp9808.c72 __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/
Dmax6675.c48 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/
Dsb_tsi.c41 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/
Dmain.c94 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/
Dtcn75a_trigger.c23 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/
Dadt7420.c55 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/
Dtmp112.c73 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/
Dens210.c51 || 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/
Dtmp116.c174 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/
Dlm77.c136 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/
Dmain.c27 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temperature); in main()
/Zephyr-Core-3.6.0/samples/sensor/ti_hdc/src/
Dmain.c33 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
/Zephyr-Core-3.6.0/drivers/sensor/mcp9600/
Dmcp9600.c67 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/
Dmain.c28 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
/Zephyr-Core-3.6.0/samples/sensor/ds18b20/src/
Dmain.c49 sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp); in main()
/Zephyr-Core-3.6.0/samples/sensor/lps22hb/src/
Dmain.c28 if (sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp) < 0) { in process_sample()

12345