Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c20 void bmm150SaveDigData(struct MagTask *magTask, uint8_t *data, size_t offset) in bmm150SaveDigData() argument
24 memcpy(&magTask->raw_dig_data[offset], data, 8); in bmm150SaveDigData()
30 magTask->dig_x1 = magTask->raw_dig_data[BMM150_REG_DIG_X1 - first_reg]; in bmm150SaveDigData()
31 magTask->dig_y1 = magTask->raw_dig_data[BMM150_REG_DIG_Y1 - first_reg]; in bmm150SaveDigData()
32 magTask->dig_x2 = magTask->raw_dig_data[BMM150_REG_DIG_X2 - first_reg]; in bmm150SaveDigData()
33 magTask->dig_y2 = magTask->raw_dig_data[BMM150_REG_DIG_Y2 - first_reg]; in bmm150SaveDigData()
34 magTask->dig_xy2 = magTask->raw_dig_data[BMM150_REG_DIG_XY2 - first_reg]; in bmm150SaveDigData()
35 magTask->dig_xy1 = magTask->raw_dig_data[BMM150_REG_DIG_XY1 - first_reg]; in bmm150SaveDigData()
37 magTask->dig_z1 = *(uint16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z1_LSB - first_reg]); in bmm150SaveDigData()
38 magTask->dig_z2 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z2_LSB - first_reg]); in bmm150SaveDigData()
[all …]
Dbosch_bmm150_slave.h71 void bmm150SaveDigData(struct MagTask *magTask, uint8_t *data, size_t offset);
72 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z);
Dakm_ak09915_slave.h43 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z);
Dakm_ak09915_slave.c20 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z) { in parseMagData() argument
Dbosch_bmi160.c661 static struct MagTask magTask; variable
1121 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 0);
1126 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 8);
1131 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 16);
2032 parseMagData(&magTask, &buf[0], &x, &y, &z);