2021-01-04 17:29:52 +01:00
|
|
|
# Copyright (c) 2021 HAW Hamburg
|
|
|
|
#
|
|
|
|
# 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 MODULE_QMC5883L
|
2022-03-02 14:03:53 +01:00
|
|
|
bool
|
|
|
|
prompt "QMC5883L 3-Axis Digital Magnetic sensor" if !(MODULE_SAUL_DEFAULT && HAVE_QMC5883L)
|
|
|
|
default (MODULE_SAUL_DEFAULT && HAVE_QMC5883L)
|
2021-01-04 17:29:52 +01:00
|
|
|
depends on HAS_PERIPH_I2C
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH_I2C
|
|
|
|
|
|
|
|
config MODULE_QMC5883L_INT
|
|
|
|
bool "Interrupt support"
|
2022-03-02 14:03:53 +01:00
|
|
|
default HAVE_QMC5883L_INT
|
2021-01-04 17:29:52 +01:00
|
|
|
depends on HAS_PERIPH_GPIO
|
|
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
|
|
depends on MODULE_QMC5883L
|
|
|
|
select MODULE_PERIPH_GPIO
|
|
|
|
select MODULE_PERIPH_GPIO_IRQ
|
2022-03-02 14:03:53 +01:00
|
|
|
|
|
|
|
config HAVE_QMC5883L
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a QMC5883L 3-Axis Digital Magnetic sensor is present.
|
|
|
|
|
|
|
|
config HAVE_QMC5883L_INT
|
|
|
|
bool
|
|
|
|
select HAVE_QMC5883L
|
|
|
|
help
|
|
|
|
Indicates that a QMC5883L 3-Axis Digital Magnetic sensor is present with
|
|
|
|
the interrupt wired.
|