Searched refs:adxl362_set_reg (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362.c | 61 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() 239 return adxl362_set_reg(dev, new_filter_ctl, ADXL362_REG_FILTER_CTL, 1); in adxl362_set_output_rate() 314 ret = adxl362_set_reg(dev, (threshold & 0x7FF), reg, 2); in adxl362_attr_set_thresh() 332 return adxl362_set_reg(dev, timeout, ADXL362_REG_TIME_INACT_L, 2); in adxl362_attr_set() 378 ret = adxl362_set_reg(dev, write_val, ADXL362_REG_FIFO_CTL, 1); in adxl362_fifo_setup() 383 ret = adxl362_set_reg(dev, water_mark_lvl, ADXL362_REG_FIFO_SAMPLES, 1); in adxl362_fifo_setup() 417 ret = adxl362_set_reg(dev, (threshold & 0x7FF), in adxl362_setup_activity_detection() 423 ret = adxl362_set_reg(dev, time, ADXL362_REG_TIME_ACT, 1); in adxl362_setup_activity_detection() [all …]
|