Searched refs:out_l (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.6.0/drivers/sensor/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.c | 214 uint8_t out_l, out_h; in lsm9ds0_mfd_sample_fetch_accel() local 217 if (i2c_reg_read_byte_dt(&config->i2c, LSM9DS0_MFD_REG_OUT_X_L_A, &out_l) < 0 || in lsm9ds0_mfd_sample_fetch_accel() 223 data->sample_accel_x = (int16_t)((uint16_t)(out_l) | in lsm9ds0_mfd_sample_fetch_accel() 228 if (i2c_reg_read_byte_dt(&config->i2c, LSM9DS0_MFD_REG_OUT_Y_L_A, &out_l) < 0 || in lsm9ds0_mfd_sample_fetch_accel() 234 data->sample_accel_y = (int16_t)((uint16_t)(out_l) | in lsm9ds0_mfd_sample_fetch_accel() 239 if (i2c_reg_read_byte_dt(&config->i2c, LSM9DS0_MFD_REG_OUT_Z_L_A, &out_l) < 0 || in lsm9ds0_mfd_sample_fetch_accel() 245 data->sample_accel_z = (int16_t)((uint16_t)(out_l) | in lsm9ds0_mfd_sample_fetch_accel() 262 uint8_t out_l, out_h; in lsm9ds0_mfd_sample_fetch_magn() local 264 if (i2c_reg_read_byte_dt(&config->i2c, LSM9DS0_MFD_REG_OUT_X_L_M, &out_l) < 0 || in lsm9ds0_mfd_sample_fetch_magn() 270 data->sample_magn_x = (int16_t)((uint16_t)(out_l) | in lsm9ds0_mfd_sample_fetch_magn() [all …]
|