/Zephyr-latest/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-latest/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-latest/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-latest/samples/sensor/jc42/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-latest/doc/hardware/peripherals/sensor/ |
D | multiple_temp_polling.c | 10 { 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()
|
D | temp_polling.c | 9 #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/ |
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-latest/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-latest/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-latest/drivers/sensor/bosch/bme280/ |
D | bme280_decoder.c | 21 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/ |
D | lm95234.c | 90 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/ |
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-latest/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-latest/drivers/sensor/ti/tmp114/ |
D | tmp114.c | 89 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/ |
D | jc42.c | 68 __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/ |
D | main.c | 23 {SENSOR_CHAN_AMBIENT_TEMP, 0}, 79 (struct sensor_chan_spec) {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
|
/Zephyr-latest/drivers/sensor/maxim/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-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3_decoder.c | 21 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/ |
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-latest/samples/sensor/dht_polling/src/ |
D | main.c | 28 {SENSOR_CHAN_AMBIENT_TEMP, 0}, \ 77 (struct sensor_chan_spec) {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
|
/Zephyr-latest/drivers/sensor/ti/tmp1075/ |
D | tmp1075.c | 64 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/ |
D | stts22h.c | 40 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/ |
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-latest/drivers/sensor/lm35/ |
D | lm35.c | 34 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/ |
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()
|