Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c42 … magTask->dig_xyz1 = *(uint16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_XYZ1_LSB - first_reg]); in bmm150SaveDigData()
55 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) { in bmm150TempCompensateX()
57 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateX()
58 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000))); in bmm150TempCompensateX()
91 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) { in bmm150TempCompensateY()
93 inter_retval = ((int32_t)(((uint16_t)((( (int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateY()
94 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000))); in bmm150TempCompensateY()
125 …(((int32_t)magTask->dig_z3) * ((int32_t)(((int16_t)rhall) - ((int16_t)magTask->dig_xyz1)))) >> 2)); in bmm150TempCompensateZ()
Dbosch_bmm150_slave.h61 uint16_t dig_xyz1; member