Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c120 static int32_t bmm150TempCompensateZ(struct MagTask *magTask, int16_t mag_z, uint16_t rhall) in bmm150TempCompensateZ() argument
123 if (mag_z != BMM150_MAG_HALL_OVERFLOW_ADCVAL) { in bmm150TempCompensateZ()
126 retval = ((((int32_t)(mag_z - magTask->dig_z4)) << 15) in bmm150TempCompensateZ()
141 int32_t mag_z = (*(int16_t *)&buf[4]) >> 1; in parseMagData() local
146 int32_t raw_z = bmm150TempCompensateZ(magTask, mag_z, mag_rhall); in parseMagData()