Searched refs:dig_xyz1 (Results 1 – 2 of 2) sorted by relevance
44 … magTask->dig_xyz1 = *(uint16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_XYZ1_LSB - first_reg]); in bmm150SaveDigData()57 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) { in bmm150TempCompensateX()59 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateX()60 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000))); in bmm150TempCompensateX()93 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) { in bmm150TempCompensateY()95 inter_retval = ((int32_t)(((uint16_t)((( (int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateY()96 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000))); in bmm150TempCompensateY()127 …(((int32_t)magTask->dig_z3) * ((int32_t)(((int16_t)rhall) - ((int16_t)magTask->dig_xyz1)))) >> 2)); in bmm150TempCompensateZ()
59 uint16_t dig_xyz1; member