Home
last modified time | relevance | path

Searched refs:JC42_TEMP_SCALE_CEL (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.c85 val->val1 = temp / JC42_TEMP_SCALE_CEL; in jc42_channel_get()
86 temp -= val->val1 * JC42_TEMP_SCALE_CEL; in jc42_channel_get()
87 val->val2 = (temp * 1000000) / JC42_TEMP_SCALE_CEL; in jc42_channel_get()
Djc42_trigger.c46 temp = val->val1 * JC42_TEMP_SCALE_CEL; in jc42_attr_set()
47 temp += (JC42_TEMP_SCALE_CEL * val->val2) / 1000000; in jc42_attr_set()
Djc42.h53 #define JC42_TEMP_SCALE_CEL 16 /* signed */ macro