Searched refs:axis_data (Results 1 – 2 of 2) sorted by relevance
283 uint8_t axis_data[6], status1; in adxl345_read_sample() local291 int rc = adxl345_reg_read(dev, ADXL345_X_AXIS_DATA_0_REG, axis_data, 6); in adxl345_read_sample()298 raw_x = axis_data[0] | (axis_data[1] << 8); in adxl345_read_sample()299 raw_y = axis_data[2] | (axis_data[3] << 8); in adxl345_read_sample()300 raw_z = axis_data[4] | (axis_data[5] << 8); in adxl345_read_sample()
187 struct analog_axis_channel_data *axis_data = &cfg->channel_data[i]; in analog_axis_loop() local213 if (axis_data->last_out != out) { in analog_axis_loop()216 axis_data->last_out = out; in analog_axis_loop()