1# LSM6DS0 accelerometer and gyroscope sensor configuration 2# options 3 4# Copyright (c) 2016 Intel Corporation 5# SPDX-License-Identifier: Apache-2.0 6 7menuconfig LSM6DS0 8 bool "LSM6DS0 I2C accelerometer and gyroscope Chip" 9 default y 10 depends on DT_HAS_ST_LSM6DS0_ENABLED 11 select I2C 12 help 13 Enable driver for LSM6DS0 I2C-based accelerometer and gyroscope 14 sensor. 15 16if LSM6DS0 17 18config LSM6DS0_ACCEL_ENABLE_X_AXIS 19 bool "Accelerometer X axis" 20 default y 21 help 22 Enable/disable accelerometer X axis totally by stripping everything 23 related in driver. 24 25config LSM6DS0_ACCEL_ENABLE_Y_AXIS 26 bool "Accelerometer Y axis" 27 default y 28 help 29 Enable/disable accelerometer Y axis totally by stripping everything 30 related in driver. 31 32config LSM6DS0_ACCEL_ENABLE_Z_AXIS 33 bool "Accelerometer Z axis" 34 default y 35 help 36 Enable/disable accelerometer Z axis totally by stripping everything 37 related in driver. 38 39config LSM6DS0_GYRO_ENABLE_X_AXIS 40 bool "Gyroscope X axis" 41 default y 42 help 43 Enable/disable gyroscope X axis totally by stripping everything 44 related in driver. 45 46config LSM6DS0_GYRO_ENABLE_Y_AXIS 47 bool "Gyroscope Y axis" 48 default y 49 help 50 Enable/disable gyroscope Y axis totally by stripping everything 51 related in driver. 52 53config LSM6DS0_GYRO_ENABLE_Z_AXIS 54 bool "Gyroscope Z axis" 55 default y 56 help 57 Enable/disable gyroscope Z axis totally by stripping everything 58 related in driver. 59 60config LSM6DS0_ENABLE_TEMP 61 bool "Temperature" 62 help 63 Enable/disable temperature totally by stripping everything related in 64 driver. 65 66menu "Attributes" 67 68config LSM6DS0_GYRO_FULLSCALE 69 int "Gyroscope full-scale range" 70 default 245 71 help 72 Specify the default gyroscope full-scale range. 73 An X value for the config represents a range of +/- X degree per 74 second. Valid values are 245, 500 and 2000. 75 76config LSM6DS0_GYRO_SAMPLING_RATE 77 int "Output data rate" 78 default 15 79 help 80 Specify the default gyroscope output data rate expressed in samples 81 per second (Hz). 82 Data rates supported by the chip are 0, 15, 60, 119, 238, 476, 83 952. 84 85config LSM6DS0_ACCEL_FULLSCALE 86 int "Accelerometer full-scale range" 87 default 2 88 help 89 Specify the default accelerometer full-scale range. 90 An X value for the config represents a range of +/- X G. Valid values 91 are 2, 4, 8 and 16. 92 93config LSM6DS0_ACCEL_SAMPLING_RATE 94 int "Output data rate" 95 default 10 96 help 97 Specify the default accelerometer output data rate expressed in 98 samples per second (Hz). 99 Data rates supported by the chip are 0, 10, 50, 119, 238, 476, 952. 100 101endmenu 102 103endif # LSM6DS0 104