Searched refs:samples_count (Results 1 – 3 of 3) sorted by relevance
52 int samples_count; in ReadAccelerometer() local64 samples_count = rc; in ReadAccelerometer()65 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()
192 uint8_t samples_count; member746 data->samples_count = data->channel_count;929 data->samples_count = 0;1076 if (++data->samples_count == data->channel_count) {1077 data->samples_count = 0;