Searched refs:SPI_WRITE (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 184 #define SPI_WRITE(...) GET_SPI_WRITE_MACRO(__VA_ARGS__, SPI_WRITE_1, SPI_WRITE_0)(__VA_ARGS__) macro 504 SPI_WRITE(BMI160_REG_MAG_IF_4, data); \ 505 SPI_WRITE(BMI160_REG_MAG_IF_3, addr); \ 510 SPI_WRITE(BMI160_REG_MAG_IF_2, addr, 5000); \ 839 SPI_WRITE(BMI160_REG_CMD, 0x19, 10000); in magConfigMagic() 843 SPI_WRITE(BMI160_REG_CMD, 0x37); in magConfigMagic() 844 SPI_WRITE(BMI160_REG_CMD, 0x9a); in magConfigMagic() 845 SPI_WRITE(BMI160_REG_CMD, 0xc0); in magConfigMagic() 846 SPI_WRITE(BMI160_REG_MAGIC, 0x90); in magConfigMagic() 854 SPI_WRITE(BMI160_REG_DATA_1, mTask.dataBuffer[1] | 0x30); in magConfigIf() [all …]
|