2020-11-26 16:31:23 +01:00
|
|
|
# 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
|
2022-03-02 14:03:45 +01:00
|
|
|
bool
|
|
|
|
prompt "ITG320X 3-axis gyroscope" if !(MODULE_SAUL_DEFAULT && HAVE_ITG320X)
|
|
|
|
default (MODULE_SAUL_DEFAULT && HAVE_ITG320X)
|
2020-11-26 16:31:23 +01:00
|
|
|
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"
|
2020-12-04 11:33:15 +01:00
|
|
|
depends on MODULE_ITG320X
|
2020-11-26 16:31:23 +01:00
|
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
|
|
select MODULE_PERIPH_GPIO_IRQ
|
2022-03-02 14:03:45 +01:00
|
|
|
default HAVE_ITG320X_INT
|
2020-11-26 16:31:23 +01:00
|
|
|
help
|
|
|
|
Say y to fetch the data when the data-ready interrupt is triggered.
|
2022-03-02 14:03:45 +01:00
|
|
|
|
|
|
|
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.
|