Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/sensor/adxl362/
Dadxl362.c61 static inline int adxl362_set_reg(const struct device *dev, in adxl362_set_reg() function
130 return adxl362_set_reg(dev, ADXL362_RESET_KEY, in adxl362_software_reset()
215 ret = adxl362_set_reg(dev, new_filter_ctl, ADXL362_REG_FILTER_CTL, 1); in adxl362_set_range()
237 return adxl362_set_reg(dev, new_filter_ctl, ADXL362_REG_FILTER_CTL, 1); in adxl362_set_output_rate()
312 ret = adxl362_set_reg(dev, (threshold & 0x7FF), reg, 2); in adxl362_attr_set_thresh()
330 return adxl362_set_reg(dev, timeout, ADXL362_REG_TIME_INACT_L, 2); in adxl362_attr_set()
360 ret = adxl362_set_reg(dev, write_val, ADXL362_REG_FIFO_CTL, 1); in adxl362_fifo_setup()
365 ret = adxl362_set_reg(dev, water_mark_lvl, ADXL362_REG_FIFO_SAMPLES, 1); in adxl362_fifo_setup()
399 ret = adxl362_set_reg(dev, (threshold & 0x7FF), in adxl362_setup_activity_detection()
405 ret = adxl362_set_reg(dev, time, ADXL362_REG_TIME_ACT, 1); in adxl362_setup_activity_detection()
[all …]