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