-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/tcs37727 : Expose to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
- Loading branch information
1 parent
04bdd40
commit b4a23b8
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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_MODULE_TCS37727 | ||
bool "Configure TCS37727 driver" | ||
depends on MODULE_TCS37727 | ||
help | ||
Configure the TCS37727 driver using Kconfig. | ||
|
||
if KCONFIG_MODULE_TCS37727 | ||
|
||
config TCS37727_ATIME_DEFAULT | ||
int "RGBC integration time in microseconds" | ||
range 2400 614000 | ||
default 200000 | ||
help | ||
RGBC integration time impacts both the resolution and the sensitivity | ||
of the RGBC reading. Refer to the section "RGBC Time Register" in the | ||
datasheet for more information. | ||
|
||
endif # KCONFIG_MODULE_TCS37727 |