Searched refs:bmi08x_accel_transceive (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_accel.c | 206 static int bmi08x_accel_transceive(const struct device *dev, uint8_t reg, bool write, void *data, in bmi08x_accel_transceive() function 216 return bmi08x_accel_transceive(dev, reg_addr | BIT(7), false, data, len); in bmi08x_accel_read() 221 return bmi08x_accel_transceive(dev, reg_addr, true, data, len); in bmi08x_accel_write() 226 return bmi08x_accel_transceive(dev, reg_addr | BIT(7), false, byte, 1); in bmi08x_accel_byte_read() 233 ret = bmi08x_accel_transceive(dev, reg_addr | BIT(7), false, word, 2); in bmi08x_accel_word_read() 245 return bmi08x_accel_transceive(dev, reg_addr & 0x7F, true, &byte, 1); in bmi08x_accel_byte_write() 252 return bmi08x_accel_transceive(dev, reg_addr & 0x7F, true, tx_word, 2); in bmi08x_accel_word_write()
|