Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/sensor/adt7420/src/
Dmain.c48 static int low_ucel; variable
73 return (temp_ucel >= low_ucel) && (temp_ucel <= high_ucel); in temp_in_window()
81 low_ucel = temp_ucel - TEMP_WINDOW_HALF_UCEL; in sensor_set_window()
89 SENSOR_ATTR_LOWER_THRESH, low_ucel); in sensor_set_window()
94 low_ucel / UCEL_PER_MCEL, in sensor_set_window()
/Zephyr-Core-3.5.0/samples/sensor/mcp9808/src/
Dmain.c47 const int low_ucel = temp_ucel - TEMP_WINDOW_HALF_UCEL; in set_window() local
50 .val1 = low_ucel / UCEL_PER_CEL, in set_window()
51 .val2 = low_ucel % UCEL_PER_CEL, in set_window()
64 low_ucel / UCEL_PER_MCEL, in set_window()