1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/mma8x5x/Kconfig
Leandro Lanzieri d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00

27 lines
816 B
Plaintext

# Copyright (c) 2020 Freie Universitaet Berlin
#
# 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.
#
menuconfig KCONFIG_USEMODULE_MMA8X5X
bool "Configure MMA8X5X driver"
depends on USEMODULE_MMA8X5X
help
Configure the MMA8X5X driver using Kconfig.
if KCONFIG_USEMODULE_MMA8X5X
config MMA8X5X_I2C_ADDRESS
hex "Default I2C address"
range 0x1C 0x1D
default 0x1D
help
The address value depends on the state of SA0 Address Pin
in the case of MMA845x series sensors.
For more details refer Table 1 in datasheet
(MMA8451Q/MMA8452Q/MMA8453Q)
Default value corresponds to SA0 connected to VCC.
endif # KCONFIG_USEMODULE_MMA8X5X