Home
last modified time | relevance | path

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

123456

/Zephyr-latest/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-latest/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-latest/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-latest/samples/sensor/jc42/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-latest/doc/hardware/peripherals/sensor/
Dmultiple_temp_polling.c10 { SENSOR_CHAN_AMBIENT_TEMP, 0 }, \
11 { SENSOR_CHAN_AMBIENT_TEMP, 1 }
83 decoder->decode(buf, {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
85 decoder->decode(buf, {SENSOR_CHAN_AMBIENT_TEMP, 1}, in main()
Dtemp_polling.c9 #define TEMP_CHANNEL {SENSOR_CHAN_AMBIENT_TEMP, 0}
23 SENSOR_DECODER_DT_GET(DT_ALIAS(temp0)), buf, SENSOR_CHAN_AMBIENT_TEMP, 0); in main()
/Zephyr-latest/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-latest/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-latest/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-latest/drivers/sensor/bosch/bme280/
Dbme280_decoder.c21 case SENSOR_CHAN_AMBIENT_TEMP: in bme280_decoder_get_frame_count()
45 case SENSOR_CHAN_AMBIENT_TEMP: in bme280_decoder_get_size_info()
71 case SENSOR_CHAN_AMBIENT_TEMP: in bme280_decoder_decode()
/Zephyr-latest/drivers/sensor/ti/lm95234/
Dlm95234.c90 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm95234_fetch_temp()
110 if (chan == SENSOR_CHAN_AMBIENT_TEMP || result == 0) { in lm95234_fetch_temp()
111 int offset = chan == SENSOR_CHAN_AMBIENT_TEMP ? 0 : in lm95234_fetch_temp()
149 ret = lm95234_fetch_temp(cfg, data, SENSOR_CHAN_AMBIENT_TEMP, &data->local); in lm95234_sample_fetch()
162 case SENSOR_CHAN_AMBIENT_TEMP: in lm95234_sample_fetch()
188 case SENSOR_CHAN_AMBIENT_TEMP: in lm95234_channel_get()
/Zephyr-latest/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-latest/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-latest/drivers/sensor/ti/tmp114/
Dtmp114.c89 chan == SENSOR_CHAN_AMBIENT_TEMP); in tmp114_sample_fetch()
126 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp114_channel_get()
147 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp114_attr_get()
176 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp114_attr_set()
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.c68 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in jc42_sample_fetch()
79 __ASSERT_NO_MSG(chan == SENSOR_CHAN_AMBIENT_TEMP); in jc42_channel_get()
81 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in jc42_channel_get()
/Zephyr-latest/samples/sensor/bme280/src/
Dmain.c23 {SENSOR_CHAN_AMBIENT_TEMP, 0},
79 (struct sensor_chan_spec) {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
/Zephyr-latest/drivers/sensor/maxim/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-latest/drivers/sensor/memsic/mmc56x3/
Dmmc56x3_decoder.c21 case SENSOR_CHAN_AMBIENT_TEMP: in mmc56x3_decoder_get_frame_count()
52 case SENSOR_CHAN_AMBIENT_TEMP: in mmc56x3_decoder_get_size_info()
78 case SENSOR_CHAN_AMBIENT_TEMP: in mmc56x3_decoder_decode()
/Zephyr-latest/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-latest/samples/sensor/dht_polling/src/
Dmain.c28 {SENSOR_CHAN_AMBIENT_TEMP, 0}, \
77 (struct sensor_chan_spec) {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
/Zephyr-latest/drivers/sensor/ti/tmp1075/
Dtmp1075.c64 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp1075_attr_set()
102 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp1075_attr_get()
128 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP); in tmp1075_sample_fetch()
143 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in tmp1075_channel_get()
/Zephyr-latest/drivers/sensor/st/stts22h/
Dstts22h.c40 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_sample_fetch()
67 if (chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_channel_get()
114 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in stts22h_attr_set()
/Zephyr-latest/samples/boards/96boards/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-latest/drivers/sensor/lm35/
Dlm35.c34 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm35_sample_fetch()
46 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm35_channel_get()
/Zephyr-latest/drivers/sensor/microchip/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()

123456