Searched refs:adxl372_bus_access (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/sensor/adxl372/ |
D | adxl372_i2c.c | 21 static int adxl372_bus_access(const struct device *dev, uint8_t reg, in adxl372_bus_access() function 44 return adxl372_bus_access(dev, ADXL372_REG_READ(reg_addr), reg_data, 1); in adxl372_i2c_reg_read() 52 return adxl372_bus_access(dev, ADXL372_REG_READ(reg_addr), in adxl372_i2c_reg_read_multiple() 60 return adxl372_bus_access(dev, ADXL372_REG_WRITE(reg_addr), in adxl372_i2c_reg_write()
|
D | adxl372_spi.c | 21 static int adxl372_bus_access(const struct device *dev, uint8_t reg, in adxl372_bus_access() function 59 return adxl372_bus_access(dev, ADXL372_REG_READ(reg_addr), reg_data, 1); in adxl372_spi_reg_read() 67 return adxl372_bus_access(dev, ADXL372_REG_READ(reg_addr), in adxl372_spi_reg_read_multiple() 75 return adxl372_bus_access(dev, ADXL372_REG_WRITE(reg_addr), in adxl372_spi_reg_write()
|