Searched refs:samples_count (Results 1 – 3 of 3) sorted by relevance
57 int samples_count; in ReadAccelerometer() local69 samples_count = rc; in ReadAccelerometer()70 for (int i = 0; i < samples_count; i++) { in ReadAccelerometer()
145 uint8_t samples_count; in adxl345_sample_fetch() local149 rc = adxl345_reg_read_byte(dev, ADXL345_FIFO_STATUS_REG, &samples_count); in adxl345_sample_fetch()155 __ASSERT_NO_MSG(samples_count <= ARRAY_SIZE(data->bufx)); in adxl345_sample_fetch()157 for (uint8_t s = 0; s < samples_count; s++) { in adxl345_sample_fetch()168 return samples_count; in adxl345_sample_fetch()
190 uint8_t samples_count; member675 data->samples_count = data->channel_count;850 data->samples_count = 0;991 if (++data->samples_count == data->channel_count) {992 data->samples_count = 0;