Home
last modified time | relevance | path

Searched refs:high_ucel (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/samples/sensor/adt7420/src/
Dmain.c49 static int high_ucel; variable
73 return (temp_ucel >= low_ucel) && (temp_ucel <= high_ucel); in temp_in_window()
82 high_ucel = temp_ucel + TEMP_WINDOW_HALF_UCEL; in sensor_set_window()
85 SENSOR_ATTR_UPPER_THRESH, high_ucel); in sensor_set_window()
95 high_ucel / UCEL_PER_MCEL); in sensor_set_window()
/Zephyr-Core-3.5.0/samples/sensor/mcp9808/src/
Dmain.c48 const int high_ucel = temp_ucel + TEMP_WINDOW_HALF_UCEL; in set_window() local
56 val.val1 = high_ucel / UCEL_PER_CEL, in set_window()
57 val.val2 = high_ucel % UCEL_PER_CEL, in set_window()
65 high_ucel / UCEL_PER_MCEL); in set_window()