bd6e04411e
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
81 lines
1.6 KiB
Plaintext
81 lines
1.6 KiB
Plaintext
# LSM9DS0 gyroscope sensor configuration options
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig LSM9DS0_GYRO
|
|
bool "LSM9DS0 I2C gyroscope Chip"
|
|
depends on (I2C && HAS_DTS_I2C)
|
|
help
|
|
Enable driver for LSM9DS0 I2C-based gyroscope sensor.
|
|
|
|
if LSM9DS0_GYRO
|
|
|
|
menu "Attributes"
|
|
|
|
choice
|
|
prompt "Default full-scale"
|
|
default LSM9DS0_GYRO_FULLSCALE_245
|
|
help
|
|
Specify the default full-scale.
|
|
|
|
config LSM9DS0_GYRO_FULLSCALE_245
|
|
bool "245 DPS"
|
|
|
|
config LSM9DS0_GYRO_FULLSCALE_500
|
|
bool "500 DPS"
|
|
|
|
config LSM9DS0_GYRO_FULLSCALE_2000
|
|
bool "2000 DPS"
|
|
|
|
endchoice
|
|
|
|
config LSM9DS0_GYRO_FULLSCALE_RUNTIME
|
|
bool "Enable dynamic full-scale"
|
|
help
|
|
Enable alteration of full-scale attribute at runtime.
|
|
|
|
choice
|
|
prompt "Default sampling rate frequency"
|
|
default LSM9DS0_GYRO_SAMPLING_RATE_95
|
|
help
|
|
Specify the default sampling rate frequency.
|
|
|
|
config LSM9DS0_GYRO_SAMPLING_RATE_95
|
|
bool "95 Hz"
|
|
|
|
config LSM9DS0_GYRO_SAMPLING_RATE_190
|
|
bool "190 Hz"
|
|
|
|
config LSM9DS0_GYRO_SAMPLING_RATE_380
|
|
bool "380 Hz"
|
|
|
|
config LSM9DS0_GYRO_SAMPLING_RATE_760
|
|
bool "760 Hz"
|
|
|
|
endchoice
|
|
|
|
config LSM9DS0_GYRO_SAMPLING_RATE_RUNTIME
|
|
bool "Enable dynamic sampling rate"
|
|
help
|
|
Enable alteration of sampling rate frequency at runtime.
|
|
|
|
endmenu
|
|
|
|
config LSM9DS0_GYRO_TRIGGERS
|
|
bool "Enable triggers"
|
|
depends on GPIO
|
|
|
|
config LSM9DS0_GYRO_THREAD_STACK_SIZE
|
|
int "Thread stack size"
|
|
depends on LSM9DS0_GYRO_TRIGGERS
|
|
default 1024
|
|
help
|
|
Specify the internal thread stack size.
|
|
|
|
config LSM9DS0_GYRO_TRIGGER_DRDY
|
|
bool "Enable data ready trigger"
|
|
depends on LSM9DS0_GYRO_TRIGGERS
|
|
|
|
endif # LSM9DS0_GYRO
|