Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.h24 #define TEMP_SENSITIVITY 16 /* 16 LSB / °C */ macro
Dlsm9ds1.c525 val->val1 = data->temp_sample / TEMP_SENSITIVITY + TEMP_OFFSET; in lsm9ds1_temp_channel_get()
526 val->val2 = (data->temp_sample % TEMP_SENSITIVITY) * (1000000 / TEMP_SENSITIVITY); in lsm9ds1_temp_channel_get()