Automatically add trigger callbacks to any sensor that supports the data ready trigger. Use a window average in order to avoid too many logs. Signed-off-by: Yuval Peress <peress@google.com>
12 lines
317 B
Plaintext
12 lines
317 B
Plaintext
# Copyright (c) 2023 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SAMPLE_PRINT_TIMEOUT_MS
|
|
int "Timeout for printing the average sensor sample value"
|
|
default 5000
|
|
help
|
|
Control the frequency of the sampling window over which the sensor
|
|
interrupt handler will collect data.
|
|
|
|
source "Kconfig.zephyr"
|