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
465 temp_micro = BMI08X_TEMP_OFFSET * 1000000ULL + temp_raw * 31250ULL; in bmi08x_temp_channel_get()
467 val->val1 = temp_micro / 1000000ULL; in bmi08x_temp_channel_get()
468 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()