[riot-notifications] [RIOT-OS/RIOT] driver/sgp30: initial import (#16222)

Kaspar Schleiser notifications at github.com
Wed Apr 7 10:07:44 CEST 2021


@kaspar030 commented on this pull request.



> +} sgp30_cmd_t;
+/** @} */
+
+/**
+ * @name      Max delays for SGP30 I2C commands completion
+ * @{
+ */
+#define SGP30_DELAY_INIT_AIR_QUALITY        (10 * MS_PER_SEC)
+#define SGP30_DELAY_MEASURE_AIR_QUALITY     (12 * MS_PER_SEC)
+#define SGP30_DELAY_GET_BASELINE            (10 * MS_PER_SEC)
+#define SGP30_DELAY_SET_BASELINE            (10 * MS_PER_SEC)
+#define SGP30_DELAY_SET_HUMIDITY            (10 * MS_PER_SEC)
+#define SGP30_DELAY_MEASURE_TEST            (220 * MS_PER_SEC)
+#define SGP30_DELAY_GET_FEATURE_SET_VERSION (2 * MS_PER_SEC)
+#define SGP30_DELAY_MEASURE_RAW_SIGNALS     (25 * MS_PER_SEC)
+#define SGP30_DELAY_READ_SERIAL             (500)

hm, using one ms here might be too long

-- 
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/16222#pullrequestreview-629710462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210407/c6b925cf/attachment.htm>


More information about the notifications mailing list