Searched refs:temp_value (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/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-latest/samples/bluetooth/peripheral_esp/src/ |
D | main.c | 118 int16_t temp_value; member 142 .temp_value = 1200, 154 .temp_value = 1800, 303 sensor->temp_value, value, in update_temperature() 307 sensor->temp_value = value; in update_temperature() 311 value = sys_cpu_to_le16(sensor->temp_value); in update_temperature() 324 read_u16, NULL, &sensor_1.temp_value), 340 read_u16, NULL, &sensor_2.temp_value),
|
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/ |
D | main.c | 168 struct sensor_value temp_value[1]; in ZTEST_F() local 170 CHECK_TEMPERATURE(temp_value, 0, 125.00f, SENSOR_CHAN_DIE_TEMP); in ZTEST_F() 179 CHECK_TEMPERATURE(temp_value, 0, -40.00f, SENSOR_CHAN_DIE_TEMP); in ZTEST_F() 278 struct sensor_value temp_value[2]; in ZTEST_F() local 280 CHECK_TEMPERATURE(temp_value, 0, 273.1250f, SENSOR_CHAN_AMBIENT_TEMP); in ZTEST_F() 287 CHECK_TEMPERATURE(temp_value, 1, 233.1250f, SENSOR_CHAN_AMBIENT_TEMP); in ZTEST_F() 298 struct sensor_value temp_value[1]; in ZTEST_F() local 300 CHECK_TEMPERATURE(temp_value, 0, 398.1250f, SENSOR_CHAN_DIE_TEMP); in ZTEST_F()
|