Searched refs:temp_value (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.4.0/samples/sensor/tmp108/src/ |
D | main.c | 17 struct sensor_value temp_value; in temperature_one_shot() local 22 &temp_value); in temperature_one_shot() 30 sensor_value_to_double(&temp_value)); in temperature_one_shot() 116 struct sensor_value temp_value; in get_temperature_continuous() local 121 &temp_value); in get_temperature_continuous() 128 printf("temperature is %gC\n", sensor_value_to_double(&temp_value)); in get_temperature_continuous()
|
/Zephyr-Core-3.4.0/samples/sensor/tmp112/src/ |
D | main.c | 16 struct sensor_value temp_value; in do_main() local 44 ret = sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &temp_value); in do_main() 50 printk("temp is %d (%d micro)\n", temp_value.val1, in do_main() 51 temp_value.val2); in do_main()
|
/Zephyr-Core-3.4.0/samples/sensor/tmp116/src/ |
D | main.c | 24 struct sensor_value temp_value; in main() local 69 &temp_value); in main() 75 printk("temp is %d.%d oC\n", temp_value.val1, temp_value.val2); in main()
|
/Zephyr-Core-3.4.0/samples/sensor/amg88xx/src/ |
D | main.c | 12 static struct sensor_value temp_value[64]; variable 99 (struct sensor_value *)temp_value); in main() 106 print_buffer(temp_value, ARRAY_SIZE(temp_value)); in main()
|
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_ht/src/ |
D | hts.c | 80 struct sensor_value temp_value; in hts_indicate() local 108 &temp_value); in hts_indicate() 113 temperature = sensor_value_to_double(&temp_value); in hts_indicate()
|
/Zephyr-Core-3.4.0/samples/bluetooth/peripheral_esp/src/ |
D | main.c | 72 int16_t temp_value; member 96 .temp_value = 1200, 108 .temp_value = 1800, 257 sensor->temp_value, value, in update_temperature() 261 sensor->temp_value = value; in update_temperature() 265 value = sys_cpu_to_le16(sensor->temp_value); in update_temperature() 278 read_u16, NULL, &sensor_1.temp_value), 294 read_u16, NULL, &sensor_2.temp_value),
|