1# ICM42670 Six-Axis Motion Tracking device configuration options 2# 3# Copyright (c) 2022 Esco Medical ApS 4# Copyright (c) 2020 TDK Invensense 5# 6# SPDX-License-Identifier: Apache-2.0 7 8menuconfig ICM42670 9 bool "ICM42670 Six-Axis Motion Tracking Device" 10 default y 11 depends on DT_HAS_INVENSENSE_ICM42670_ENABLED 12 select SPI 13 help 14 Enable driver for ICM42670 SPI-based six-axis motion tracking device. 15 16if ICM42670 17 18choice ICM42670_TRIGGER_MODE 19 prompt "Trigger mode" 20 default ICM42670_TRIGGER_NONE 21 help 22 Specify the type of triggering to be used by the driver. 23 24config ICM42670_TRIGGER_NONE 25 bool "No trigger" 26 27config ICM42670_TRIGGER_GLOBAL_THREAD 28 bool "Use global thread" 29 depends on GPIO 30 select ICM42670_TRIGGER 31 32config ICM42670_TRIGGER_OWN_THREAD 33 bool "Use own thread" 34 depends on GPIO 35 select ICM42670_TRIGGER 36 37endchoice 38 39config ICM42670_TRIGGER 40 bool 41 42config ICM42670_THREAD_PRIORITY 43 int "Thread priority" 44 depends on ICM42670_TRIGGER_OWN_THREAD 45 default 10 46 help 47 Priority of thread used by the driver to handle interrupts. 48 49config ICM42670_THREAD_STACK_SIZE 50 int "Thread stack size" 51 depends on ICM42670_TRIGGER_OWN_THREAD 52 default 1024 53 help 54 Stack size of thread used by the driver to handle interrupts. 55 56endif # ICM42670 57