62 lines
1020 B
Plaintext
62 lines
1020 B
Plaintext
# Kconfig.adxl362 - ADXL362 Three-Axis Digital Accelerometers
|
|
|
|
#
|
|
# Copyright (c) 2017 IpTronix S.r.l.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
menuconfig ADXL362
|
|
bool "ADXL362 sensor"
|
|
depends on SPI && HAS_DTS_SPI
|
|
help
|
|
Enable driver for ADXL362 Three-Axis Digital Accelerometers.
|
|
|
|
if ADXL362
|
|
|
|
choice
|
|
prompt "Accelerometer range setting"
|
|
default ADXL362_ACCEL_RANGE_RUNTIME
|
|
|
|
config ADXL362_ACCEL_RANGE_RUNTIME
|
|
bool "Set at runtime."
|
|
|
|
config ADXL362_ACCEL_RANGE_2G
|
|
bool "2G"
|
|
|
|
config ADXL362_ACCEL_RANGE_4G
|
|
bool "4G"
|
|
|
|
config ADXL362_ACCEL_RANGE_8G
|
|
bool "8G"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Accelerometer sampling frequency."
|
|
default ADXL362_ACCEL_ODR_RUNTIME
|
|
|
|
config ADXL362_ACCEL_ODR_RUNTIME
|
|
bool "Set at runtime."
|
|
|
|
config ADXL362_ACCEL_ODR_12_5
|
|
bool "12.5 Hz"
|
|
|
|
config ADXL362_ACCEL_ODR_25
|
|
bool "25 Hz"
|
|
|
|
config ADXL362_ACCEL_ODR_50
|
|
bool "50 Hz"
|
|
|
|
config ADXL362_ACCEL_ODR_100
|
|
bool "100 Hz"
|
|
|
|
config ADXL362_ACCEL_ODR_200
|
|
bool "200 Hz"
|
|
|
|
config ADXL362_ACCEL_ODR_400
|
|
bool "400 Hz"
|
|
|
|
endchoice
|
|
|
|
endif # ADXL362
|