2020-04-21 13:26:07 +02:00
|
|
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
2020-11-26 10:09:55 +01:00
|
|
|
# 2020 HAW Hamburg
|
2020-04-21 13:26:07 +02:00
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
#
|
2020-11-26 10:09:55 +01:00
|
|
|
|
|
|
|
config MODULE_FXOS8700
|
|
|
|
bool "FXOS8700 3-axis accelerometer/magnetometer"
|
|
|
|
depends on HAS_PERIPH_I2C
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH_I2C
|
|
|
|
select MODULE_XTIMER
|
|
|
|
|
2021-11-19 09:34:23 +01:00
|
|
|
config HAVE_FXOS8700
|
|
|
|
bool
|
|
|
|
select MODULE_FXOS8700 if MODULE_SAUL_DEFAULT
|
|
|
|
help
|
2021-12-08 11:40:06 +01:00
|
|
|
Indicates that a FXOS8700 accelerometer/magnetometer is present.
|
2021-11-19 09:34:23 +01:00
|
|
|
|
2020-08-31 09:33:35 +02:00
|
|
|
menuconfig KCONFIG_USEMODULE_FXOS8700
|
2020-04-21 13:26:07 +02:00
|
|
|
bool "Configure FXOS8700 driver"
|
2020-08-31 09:33:35 +02:00
|
|
|
depends on USEMODULE_FXOS8700
|
2020-04-21 13:26:07 +02:00
|
|
|
help
|
|
|
|
Configure the FXOS8700 driver using Kconfig.
|
|
|
|
|
2020-08-31 09:33:35 +02:00
|
|
|
if KCONFIG_USEMODULE_FXOS8700
|
2020-04-21 13:26:07 +02:00
|
|
|
|
|
|
|
config FXOS8700_USE_ACC_RAW_VALUES
|
|
|
|
bool "Enable raw ADC readings"
|
|
|
|
help
|
|
|
|
Enable this to return raw ADC readings.
|
|
|
|
By default measurements are converted to mg.
|
|
|
|
|
2020-08-31 09:33:35 +02:00
|
|
|
endif # KCONFIG_USEMODULE_FXOS8700
|