Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/
Dsensor_shell.c327 } accumulator_buffer; in sensor_shell_processing_callback() local
400 memset(&accumulator_buffer, 0, sizeof(accumulator_buffer)); in sensor_shell_processing_callback()
410 if (accumulator_buffer.count == 0) { in sensor_shell_processing_callback()
411 accumulator_buffer.base_timestamp_ns = in sensor_shell_processing_callback()
414 accumulator_buffer.count++; in sensor_shell_processing_callback()
415 accumulator_buffer.shift = data->shift; in sensor_shell_processing_callback()
416 accumulator_buffer.timestamp_delta += in sensor_shell_processing_callback()
418 accumulator_buffer.values[0] += data->readings[0].values[0]; in sensor_shell_processing_callback()
419 accumulator_buffer.values[1] += data->readings[0].values[1]; in sensor_shell_processing_callback()
420 accumulator_buffer.values[2] += data->readings[0].values[2]; in sensor_shell_processing_callback()
[all …]