[riot-notifications] [RIOT-OS/RIOT] drivers/tcs37727 : Expose Configurations to Kconfig (#13980)

Leandro Lanzieri notifications at github.com
Mon May 4 09:18:07 CEST 2020


@leandrolanzieri commented on this pull request.



> @@ -47,10 +47,12 @@ extern "C"
  * @{
  */
 /**
- * @brief   Default RGBC integration time.
+ * @brief   Default RGBC integration time in microseconds.
+ *
+ * Refer section "RGBC Time Register" in datasheet for more information.

```suggestion
 * Refer to the section "RGBC Time Register" in the datasheet for more information.
```

> +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 section "RGBC Time Register" in datasheet for more information.

```suggestion
        Refer to the section "RGBC Time Register" in the datasheet for more information.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13980#pullrequestreview-404750510
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200504/2ecb4f5a/attachment.htm>


More information about the notifications mailing list