Searched refs:xyz_values (Results 1 – 1 of 1) sorted by relevance
640 uint8_t xyz_values[6] = { 0 }; in adxl367_get_accel_data() local655 ret = data->hw_tf->read_reg_multiple(dev, ADXL367_X_DATA_H, xyz_values, 6); in adxl367_get_accel_data()661 accel_data->x = ((int16_t)xyz_values[0] << 6) + (xyz_values[1] >> 2); in adxl367_get_accel_data()662 accel_data->y = ((int16_t)xyz_values[2] << 6) + (xyz_values[3] >> 2); in adxl367_get_accel_data()663 accel_data->z = ((int16_t)xyz_values[4] << 6) + (xyz_values[5] >> 2); in adxl367_get_accel_data()