Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.h38 uint8_t accel_range; member
Dlsm9ds1.c599 fs = cfg->accel_range; in lsm9ds1_init()
623 .accel_range = DT_INST_PROP(inst, accel_range), \
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.c208 md.fs = cfg->accel_range; in lis2du12_sample_fetch_accel()
342 fs = cfg->accel_range; in lis2du12_init_chip()
425 .accel_range = DT_INST_PROP(inst, accel_range), \
Dlis2du12.h49 uint8_t accel_range; member
Dlis2du12_trigger.c36 md.fs = cfg->accel_range; in lis2du12_enable_xl_int()
/Zephyr-latest/drivers/sensor/st/lis2de12/
Dlis2de12.h46 uint8_t accel_range; member
Dlis2de12.c341 fs = cfg->accel_range; in lis2de12_init_chip()
427 .accel_range = DT_INST_PROP(inst, accel_range), \
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx.h37 uint8_t accel_range; member
Dism330dhcx.c716 LOG_DBG("accel range is %d", cfg->accel_range); in ism330dhcx_init_chip()
717 if (ism330dhcx_accel_range_set(dev, cfg->accel_range) < 0) { in ism330dhcx_init_chip()
790 .accel_range = DT_INST_PROP(inst, accel_range), \
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso.h57 uint8_t accel_range; member
Dlsm6dso.c180 bool range_double = !!(cfg->accel_range & ACCEL_RANGE_DOUBLE); in lsm6dso_accel_range_set()
775 fs = cfg->accel_range & ACCEL_RANGE_MASK; in lsm6dso_init_chip()
781 lsm6dso->acc_gain = lsm6dso_accel_fs_val_to_gain(fs, cfg->accel_range & ACCEL_RANGE_DOUBLE); in lsm6dso_init_chip()
904 .accel_range = DT_INST_PROP(inst, accel_range) | \
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.h50 uint8_t accel_range; member
Dlsm6dso16is.c772 fs = cfg->accel_range; in lsm6dso16is_init_chip()
885 .accel_range = DT_INST_PROP(inst, accel_range), \
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_emul.c204 int64_t accel_range = (2 << data->regs[BMA4XX_REG_ACCEL_RANGE]); in bma4xx_emul_set_accel_data() local
210 intermediate /= accel_range; in bma4xx_emul_set_accel_data()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.h68 uint8_t accel_range; member
Dlsm6dsv16x_decoder.c79 static const int8_t accel_range[] = { variable
342 out->shift = accel_range[header->accel_fs]; in lsm6dsv16x_decode_fifo()
575 out->shift = accel_range[header->accel_fs]; in lsm6dsv16x_decode_sample()
Dlsm6dsv16x.c1011 fs = cfg->accel_range; in lsm6dsv16x_init_chip()
1134 .accel_range = DT_INST_PROP(inst, accel_range), \