Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c26 memcpy(&magTask->raw_dig_data[offset], data, 8); in bmm150SaveDigData()
32 magTask->dig_x1 = magTask->raw_dig_data[BMM150_REG_DIG_X1 - first_reg]; in bmm150SaveDigData()
33 magTask->dig_y1 = magTask->raw_dig_data[BMM150_REG_DIG_Y1 - first_reg]; in bmm150SaveDigData()
34 magTask->dig_x2 = magTask->raw_dig_data[BMM150_REG_DIG_X2 - first_reg]; in bmm150SaveDigData()
35 magTask->dig_y2 = magTask->raw_dig_data[BMM150_REG_DIG_Y2 - first_reg]; in bmm150SaveDigData()
36 magTask->dig_xy2 = magTask->raw_dig_data[BMM150_REG_DIG_XY2 - first_reg]; in bmm150SaveDigData()
37 magTask->dig_xy1 = magTask->raw_dig_data[BMM150_REG_DIG_XY1 - first_reg]; in bmm150SaveDigData()
39 magTask->dig_z1 = *(uint16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z1_LSB - first_reg]); in bmm150SaveDigData()
40 magTask->dig_z2 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z2_LSB - first_reg]); in bmm150SaveDigData()
41 magTask->dig_z3 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z3_LSB - first_reg]); in bmm150SaveDigData()
[all …]
Dbosch_bmm150_slave.h60 uint8_t raw_dig_data[24]; member