Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345.c91 int adxl345_reg_write_byte(const struct device *dev, uint8_t addr, uint8_t val) in adxl345_reg_write_byte() function
118 return adxl345_reg_write_byte(dev, reg_addr, tmp); in adxl345_reg_write_mask()
180 ret = adxl345_reg_write_byte(dev, ADXL345_FIFO_CTL_REG, fifo_config); in adxl345_configure_fifo()
412 ret = adxl345_reg_write_byte(dev, ADXL345_INT_MAP, int1); in adxl345_interrupt_config()
417 ret = adxl345_reg_write_byte(dev, ADXL345_INT_ENABLE, int1); in adxl345_interrupt_config()
456 rc = adxl345_reg_write_byte(dev, ADXL345_FIFO_CTL_REG, ADXL345_FIFO_STREAM_MODE); in adxl345_init()
462 rc = adxl345_reg_write_byte(dev, ADXL345_DATA_FORMAT_REG, ADXL345_RANGE_8G); in adxl345_init()
470 rc = adxl345_reg_write_byte(dev, ADXL345_RATE_REG, ADXL345_RATE_25HZ); in adxl345_init()
485 rc = adxl345_reg_write_byte(dev, ADXL345_POWER_CTL_REG, ADXL345_ENABLE_MEASURE_BIT); in adxl345_init()
Dadxl345.h267 int adxl345_reg_write_byte(const struct device *dev, uint8_t addr, uint8_t val);