mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/itg320x: add modules to Kconfig
This commit is contained in:
parent
db82f7a5e2
commit
83e1d43009
@ -55,6 +55,7 @@ rsource "ina2xx/Kconfig"
|
||||
rsource "ina3221/Kconfig"
|
||||
rsource "isl29020/Kconfig"
|
||||
rsource "isl29125/Kconfig"
|
||||
rsource "itg320x/Kconfig"
|
||||
rsource "l3g4200d/Kconfig"
|
||||
rsource "lpsxxx/Kconfig"
|
||||
rsource "mag3110/Kconfig"
|
||||
|
22
drivers/itg320x/Kconfig
Normal file
22
drivers/itg320x/Kconfig
Normal file
@ -0,0 +1,22 @@
|
||||
# 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 "ITG320X 3-axis gyroscope"
|
||||
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 HAS_PERIPH_GPIO_IRQ
|
||||
select MODULE_PERIPH_GPIO_IRQ
|
||||
help
|
||||
Say y to fetch the data when the data-ready interrupt is triggered.
|
Loading…
Reference in New Issue
Block a user