Home
last modified time | relevance | path

Searched refs:samples_count (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.6.0/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp52 int samples_count; in ReadAccelerometer() local
64 samples_count = rc; in ReadAccelerometer()
65 for (int i = 0; i < samples_count; i++) { in ReadAccelerometer()
/Zephyr-Core-3.6.0/drivers/sensor/adxl345/
Dadxl345.c145 uint8_t samples_count; in adxl345_sample_fetch() local
149 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()
/Zephyr-Core-3.6.0/drivers/adc/
Dadc_stm32.c192 uint8_t samples_count; member
746 data->samples_count = data->channel_count;
929 data->samples_count = 0;
1076 if (++data->samples_count == data->channel_count) {
1077 data->samples_count = 0;