Home
last modified time | relevance | path

Searched refs:y_raw (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/sensor/drv/
A Ddrv_acc_gyro_st_lsm6ds3tr_c.c466 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lsm6ds3tr_c_st_data() local
500 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lsm6ds3tr_c_st_data()
505 y_mg = y_raw * LSM6DS3TR_C_ACC_SENSITIVITY_4G / 1000; in drv_acc_st_lsm6ds3tr_c_st_data()
958 int16_t x_raw, y_raw, z_raw; in drv_gyro_st_lsm6ds3tr_c_st_data() local
992 y_raw = (buffer[3] << 8) + buffer[2]; in drv_gyro_st_lsm6ds3tr_c_st_data()
997 y_dps = y_raw * LSM6DS3TR_C_GYRO_SENSITIVITY_2000DPS / 1000000; in drv_gyro_st_lsm6ds3tr_c_st_data()
A Ddrv_acc_gyro_st_lsm6dsoq.c427 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lsm6dsoq_st_data() local
461 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lsm6dsoq_st_data()
466 y_mg = y_raw * LSM6DSOQ_ACC_SENSITIVITY_4G / 1000; in drv_acc_st_lsm6dsoq_st_data()
923 int16_t x_raw, y_raw, z_raw; in drv_gyro_st_lsm6dsoq_st_data() local
957 y_raw = (buffer[3] << 8) + buffer[2]; in drv_gyro_st_lsm6dsoq_st_data()
962 y_dps = y_raw * LSM6DSOQ_GYRO_SENSITIVITY_2000DPS / 1000000; in drv_gyro_st_lsm6dsoq_st_data()
A Ddrv_acc_gyro_st_lsm6ds3.c463 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lsm6ds3_st_data() local
497 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lsm6ds3_st_data()
502 y_mg = y_raw * LSM6DS3_ACC_SENSITIVITY_4G / 1000; in drv_acc_st_lsm6ds3_st_data()
955 int16_t x_raw, y_raw, z_raw; in drv_gyro_st_lsm6ds3_st_data() local
989 y_raw = (buffer[3] << 8) + buffer[2]; in drv_gyro_st_lsm6ds3_st_data()
994 y_dps = y_raw * LSM6DS3_GYRO_SENSITIVITY_2000DPS / 1000000; in drv_gyro_st_lsm6ds3_st_data()
A Ddrv_acc_gyro_st_lsm6dsm.c468 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lsm6dsm_st_data() local
502 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lsm6dsm_st_data()
507 y_mg = y_raw * LSM6DSM_ACC_SENSITIVITY_4G / 1000; in drv_acc_st_lsm6dsm_st_data()
964 int16_t x_raw, y_raw, z_raw; in drv_gyro_st_lsm6dsm_st_data() local
998 y_raw = (buffer[3] << 8) + buffer[2]; in drv_gyro_st_lsm6dsm_st_data()
1003 y_dps = y_raw * LSM6DSM_GYRO_SENSITIVITY_2000DPS / 1000000; in drv_gyro_st_lsm6dsm_st_data()
A Ddrv_acc_mag_st_lsm303agr.c436 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lsm303agr_st_data() local
470 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lsm303agr_st_data()
475 y_mg = y_raw >> 4; in drv_acc_st_lsm303agr_st_data()
1061 int16_t x_raw, y_raw, z_raw; in drv_mag_st_lsm303agr_st_data() local
1095 y_raw = (buffer[3] << 8) + buffer[2]; in drv_mag_st_lsm303agr_st_data()
1099 y_mg = y_raw * LSM303AGR_MAG_SENSITIVITY_FOR_FS_50GA / 1000; in drv_mag_st_lsm303agr_st_data()
A Ddrv_acc_st_n2dm.c348 int16_t x_raw, y_raw, z_raw; in drv_acc_st_n2dm_st_data() local
382 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_n2dm_st_data()
387 y_mg = y_raw >> 4; in drv_acc_st_n2dm_st_data()
A Ddrv_acc_st_lis2dh12.c347 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lis2dh12_st_data() local
381 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lis2dh12_st_data()
386 y_mg = y_raw >> 4; in drv_acc_st_lis2dh12_st_data()
A Ddrv_acc_st_lis2dw12.c338 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lis2dw12_st_data() local
372 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lis2dw12_st_data()
377 y_mg = y_raw >> 4; in drv_acc_st_lis2dw12_st_data()
A Ddrv_acc_st_lis3dh.c348 int16_t x_raw, y_raw, z_raw; in drv_acc_st_lis3dh_st_data() local
382 y_raw = (buffer[3] << 8) + buffer[2]; in drv_acc_st_lis3dh_st_data()
387 y_mg = y_raw >> 4; in drv_acc_st_lis3dh_st_data()
A Ddrv_mag_st_lis2mdl.c395 int16_t x_raw, y_raw, z_raw; in drv_mag_st_lis2mdl_st_data() local
429 y_raw = (buffer[3] << 8) + buffer[2]; in drv_mag_st_lis2mdl_st_data()
433 y_mg = y_raw * LIS2MDL_MAG_SENSITIVITY_FOR_FS_50GA / 1000; in drv_mag_st_lis2mdl_st_data()

Completed in 24 milliseconds