HomeSort by relevance Sort by last modified time
    Searched refs:dig_xyz1 (Results 1 - 2 of 2) sorted by null

  /device/google/contexthub/firmware/os/drivers/bosch_bmi160/
bosch_bmm150_slave.c 42 magTask->dig_xyz1 = *(uint16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_XYZ1_LSB - first_reg]);
55 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) {
57 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14)
58 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000)));
91 if ((rhall != 0) && (magTask->dig_xyz1 != 0)) {
93 inter_retval = ((int32_t)(((uint16_t)((( (int32_t)magTask->dig_xyz1) << 14)
94 / (rhall != 0 ? rhall : magTask->dig_xyz1))) - ((uint16_t)0x4000)));
125 - ((((int32_t)magTask->dig_z3) * ((int32_t)(((int16_t)rhall) - ((int16_t)magTask->dig_xyz1)))) >> 2));
bosch_bmm150_slave.h 61 uint16_t dig_xyz1; member in struct:MagTask

Completed in 3552 milliseconds