zephyr/drivers/sensor/mc3419/Kconfig
Anuj Pathak 1f05d03489 Drivers: Sensor: mc3419: Moved Decimation Rate config to DT
- Similar to LPF settings decimation rate could be applied to
per instance basis, thus moved to DT prop

Signed-off-by: Anuj Pathak <anuj@croxel.com>
2024-08-26 18:51:28 +02:00

39 lines
765 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2023 Linumiz
menuconfig MC3419
bool "MC3419 acclerometer driver"
default y
depends on DT_HAS_MEMSIC_MC3419_ENABLED
select I2C if $(dt_compat_on_bus,$(DT_COMPAT_MEMSIC_MC3419),i2c)
help
Enable driver for MC3419 acclerometer.
if MC3419
config MC3419_TRIGGER
bool "Trigger mode"
if MC3419_TRIGGER
config MC3419_TRIGGER_OWN_THREAD
bool "Use own thread"
help
Enable trigger to run in own thread. By
default it is global thread mode.
config MC3419_THREAD_PRIORITY
int "Own thread priority"
depends on MC3419_TRIGGER_OWN_THREAD
default 10
config MC3419_THREAD_STACK_SIZE
int "Own thread stask size"
depends on MC3419_TRIGGER_OWN_THREAD
default 1024
endif # MC3419_TRIGGER
endif # MC3419