Home
last modified time | relevance | path

Searched refs:accel_fs (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c17 static int icm42688_get_shift(enum sensor_channel channel, int accel_fs, int gyro_fs, int8_t *shift) in icm42688_get_shift() argument
24 switch (accel_fs) { in icm42688_get_shift()
89 rc = icm42688_get_shift(chan, cfg->accel_fs, cfg->gyro_fs, &shift); in icm42688_convert_raw_to_q31()
194 edata->header.accel_fs = data->cfg.accel_fs; in icm42688_encode()
409 icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, edata->header.accel_fs, in icm42688_fifo_decode()
413 rc = icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 0, in icm42688_fifo_decode()
415 rc |= icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 1, in icm42688_fifo_decode()
417 rc |= icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 2, in icm42688_fifo_decode()
430 icm42688_get_shift(SENSOR_CHAN_GYRO_XYZ, edata->header.accel_fs, in icm42688_fifo_decode()
459 .accel_fs = edata->header.accel_fs, in icm42688_one_shot_decode()
[all …]
Dicm42688_decoder.h17 uint8_t accel_fs: 2; member
Dicm42688.c140 new_config.accel_fs = icm42688_accel_fs_to_reg(sensor_ms2_to_g(val)); in icm42688_attr_set()
199 icm42688_accel_reg_to_fs(cfg->accel_fs, val); in icm42688_attr_get()
305 .accel_fs = DT_INST_PROP(inst, accel_fs), \
Dicm42688.h288 uint8_t accel_fs; member
422 switch (cfg->accel_fs) { in icm42688_accel_g()
511 switch (cfg->accel_fs) { in icm42688_accel_ms()
Dicm42688_rtio_stream.c115 .accel_fs = drv_data->cfg.accel_fs, in icm42688_fifo_count_cb()
Dicm42688_common.c170 FIELD_PREP(MASK_ACCEL_UI_FS_SEL, cfg->accel_fs); in icm42688_configure()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/mpu9250/
Dmpu9250.c269 if (cfg->accel_fs > MPU9250_ACCEL_FS_MAX) { in mpu9250_init()
270 LOG_ERR("Accel FS is too big: %d", cfg->accel_fs); in mpu9250_init()
275 cfg->accel_fs << MPU9250_ACCEL_FS_SHIFT); in mpu9250_init()
280 drv_data->accel_sensitivity_shift = 14 - cfg->accel_fs; in mpu9250_init()
283 LOG_ERR("Gyro FS is too big: %d", cfg->accel_fs); in mpu9250_init()
355 .accel_fs = DT_INST_ENUM_IDX(inst, accel_fs), \
Dmpu9250.h63 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42670/
Dicm42670.h22 uint16_t accel_fs; member
Dicm42670.c273 res = icm42670_set_accel_fs(dev, data->accel_fs); in icm42670_turn_on_sensor()
519 res = icm42670_set_accel_fs(dev, data->accel_fs); in icm42670_attr_set()
524 data->accel_fs = val->val1; in icm42670_attr_set()
587 val->val1 = data->accel_fs; in icm42670_attr_get()
692 .accel_fs = DT_INST_PROP(inst, accel_fs), \
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2de12/
Dlis2de12.h68 uint8_t accel_fs; member
Dlis2de12.c76 data->accel_fs = fs; in lis2de12_accel_set_fs_raw()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2du12/
Dlis2du12.h71 uint8_t accel_fs; member
Dlis2du12.c104 data->accel_fs = fs; in lis2du12_accel_set_fs_raw()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42605/
Dicm42605.h71 uint16_t accel_fs; member
Dicm42605.c380 data->accel_sf = cfg->accel_fs; in icm42605_data_init()
440 .accel_fs = DT_INST_ENUM_IDX(index, accel_fs), \
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2iclx/
Diis2iclx.h80 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso/
Dlsm6dso.h92 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/st/ism330dhcx/
Dism330dhcx.h89 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bma4xx/
Dbma4xx.c368 edata->header.accel_fs = bma4xx->accel_fs_range; in bma4xx_submit_one_shot()
507 static int bma4xx_get_shift(struct sensor_chan_spec ch, uint8_t accel_fs, int8_t *shift) in bma4xx_get_shift() argument
514 switch (accel_fs) { in bma4xx_get_shift()
611 header->accel_fs, &out->shift); in bma4xx_one_shot_decode()
Dbma4xx.h219 uint8_t accel_fs: 2; member
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.h97 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is.h96 uint8_t accel_fs; member
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi08x/
Dbmi08x_accel.c701 ret = bmi08x_acc_range_set(dev, config->accel_fs); in bmi08x_accel_init()
804 .accel_fs = DT_INST_PROP(inst, accel_fs), BMI08X_DATA_SYNC_REG(inst)}; \
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds0_mfd/
Dlsm9ds0_mfd.c97 data->accel_fs = fs; in lsm9ds0_mfd_accel_set_fs_raw()
250 data->sample_accel_fs = data->accel_fs; in lsm9ds0_mfd_sample_fetch_accel()

12