Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.c765 struct sensor_value *b_field) in tmag5273_channel_b_field_convert() argument
770 b_field->val1 = raw_value / (1 << 16); in tmag5273_channel_b_field_convert()
775 const int64_t raw_dec_part = (int64_t)b_field->val1 * (1 << 16); in tmag5273_channel_b_field_convert()
777 b_field->val2 = ((raw_value - raw_dec_part) * 1000000) / (1 << 16); in tmag5273_channel_b_field_convert()