Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c547 uint8_t *dataBuffer; member
673 SPI_READ(BMI160_REG_DATA_0, size, &mTask.dataBuffer); \
1053 SPI_READ(BMI160_REG_DATA_1, 1, &mTask.dataBuffer);
1060 SPI_WRITE(BMI160_REG_DATA_1, mTask.dataBuffer[1] | 0x30);
1121 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 0);
1126 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 8);
1131 bmm150SaveDigData(&magTask, &mTask.dataBuffer[1], 16);
1266 SPI_READ(BMI160_REG_FIFO_DATA, mTask.xferCnt, &mTask.dataBuffer);
1902 SPI_READ(BMI160_REG_STEP_CNT_0, 2, &mTask.dataBuffer);
1920 cur_step_cnt = (int)(mTask.dataBuffer[1] | (mTask.dataBuffer[2] << 8));
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c625 uint8_t *dataBuffer[3]; member
1279 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
1280 SPI_READ(REG_FIFO_BYTE_COUNT1, 2, &T(dataBuffer[1]));
1286 buf = T(dataBuffer[0]);
1288 buf = T(dataBuffer[1]);
1300 SPI_READ(REG_FIFO_DATA, fifo_count, &T(dataBuffer[0]));
1305 buf = T(dataBuffer[0]);
1333 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
1334 SPI_READ(REG_FIFO_BYTE_COUNT1, 2, &T(dataBuffer[1]));
1667 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
[all …]