mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Copyright (c) 2020 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_ITG320X
|
|
bool
|
|
prompt "ITG320X 3-axis gyroscope" if !(MODULE_SAUL_DEFAULT && HAVE_ITG320X)
|
|
default (MODULE_SAUL_DEFAULT && HAVE_ITG320X)
|
|
depends on HAS_PERIPH_I2C
|
|
depends on TEST_KCONFIG
|
|
select MODULE_PERIPH_I2C
|
|
select MODULE_XTIMER
|
|
help
|
|
The driver can be used with InvenSense ITG3200, ITG3205, and MPU3050.
|
|
|
|
config MODULE_ITG320X_INT
|
|
bool "Interrupt mode"
|
|
depends on MODULE_ITG320X
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
select MODULE_PERIPH_GPIO_IRQ
|
|
default HAVE_ITG320X_INT
|
|
help
|
|
Say y to fetch the data when the data-ready interrupt is triggered.
|
|
|
|
config HAVE_ITG320X
|
|
bool
|
|
help
|
|
Indicates that a ITG320X 3-axis gyroscope is present.
|
|
|
|
config HAVE_ITG320X_INT
|
|
bool
|
|
select HAVE_ITG320X
|
|
help
|
|
Indicates that a ITG320X 3-axis gyroscope is present with interrupt pin
|
|
wired.
|