Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_accel.c456 int32_t temp_micro = 0; in bmi08x_temp_channel_get() local
491 temp_micro = temp_int11 * 125 + 23 * 1000000; in bmi08x_temp_channel_get()
492 val->val1 = temp_micro / 1000000ULL; in bmi08x_temp_channel_get()
493 val->val2 = temp_micro % 1000000ULL; in bmi08x_temp_channel_get()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c973 int32_t temp_micro = BMI160_TEMP_OFFSET * 1000000ULL + data->sample.temperature * 1953ULL; in bmi160_temp_channel_get() local
975 val->val1 = temp_micro / 1000000ULL; in bmi160_temp_channel_get()
976 val->val2 = temp_micro % 1000000ULL; in bmi160_temp_channel_get()