Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c22 void bmm150SaveDigData(struct MagTask *magTask, uint8_t *data, size_t offset) in bmm150SaveDigData() argument
26 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()
[all …]
Dbosch_bmm150_slave.h69 void bmm150SaveDigData(struct MagTask *magTask, uint8_t *data, size_t offset);
70 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z);
Dakm_ak09915_slave.h41 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z);
Dakm_ak09915_slave.c22 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z) { in parseMagData() argument
Dbosch_bmi160.c499 static struct MagTask magTask; variable
915 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 0); in magConfig()
920 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 8); in magConfig()
925 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 16); in magConfig()
1769 parseMagData(&magTask, &buf[0], &x, &y, &z); in parseRawData()