Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp57 int samples_count; in ReadAccelerometer() local
69 samples_count = rc; in ReadAccelerometer()
70 for (int i = 0; i < samples_count; i++) { in ReadAccelerometer()
/Zephyr-Core-3.5.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.5.0/drivers/adc/
Dadc_stm32.c190 uint8_t samples_count; member
675 data->samples_count = data->channel_count;
850 data->samples_count = 0;
991 if (++data->samples_count == data->channel_count) {
992 data->samples_count = 0;