Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.h91 int emul_bmi160_get_reg_value(const struct emul *target, int reg_number, uint8_t *out,
Demul_bmi160.c49 int emul_bmi160_get_reg_value(const struct emul *target, int reg_number, uint8_t *out, size_t count) in emul_bmi160_get_reg_value() argument
53 if (reg_number < 0 || reg_number + count > BMI160_REG_COUNT) { in emul_bmi160_get_reg_value()
57 memcpy(out, cfg->reg + reg_number, count); in emul_bmi160_get_reg_value()