Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmg160/
Dbmg160_trigger.c107 return bmg160_write_byte(dev, BMG160_REG_THRES, in bmg160_slope_config()
116 return bmg160_write_byte(dev, BMG160_REG_ANY_EN, in bmg160_slope_config()
216 if (bmg160_write_byte(dev, BMG160_REG_INT_EN1, 0) < 0) { in bmg160_trigger_init()
222 if (bmg160_write_byte(dev, BMG160_REG_INT_RST_LATCH, 0) < 0) { in bmg160_trigger_init()
228 if (bmg160_write_byte(dev, BMG160_REG_INT_MAP0, in bmg160_trigger_init()
235 if (bmg160_write_byte(dev, BMG160_REG_INT_MAP1, in bmg160_trigger_init()
Dbmg160.c82 int bmg160_write_byte(const struct device *dev, uint8_t reg_addr, in bmg160_write_byte() function
158 if (bmg160_write_byte(dev, BMG160_REG_RANGE, idx) < 0) { in bmg160_attr_set()
179 if (bmg160_write_byte(dev, BMG160_REG_BW, idx + 1) < 0) { in bmg160_attr_set()
309 bmg160_write_byte(dev, BMG160_REG_BGW_SOFTRESET, BMG160_RESET); in bmg160_init()
313 if (bmg160_write_byte(dev, BMG160_REG_RANGE, in bmg160_init()
323 if (bmg160_write_byte(dev, BMG160_REG_BW, BMG160_DEFAULT_ODR) < 0) { in bmg160_init()
329 if (bmg160_write_byte(dev, BMG160_REG_INT_EN0, 0) < 0) { in bmg160_init()
Dbmg160.h223 int bmg160_write_byte(const struct device *dev, uint8_t reg_addr,