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

Kaspar Schleiser notifications at github.com
Wed Apr 7 10:06:53 CEST 2021


@kaspar030 commented on this pull request.



> +    SGP30_CMD_INIT_AIR_QUALITY          = 0x2003,   /**< Start measurement mode */
+    SGP30_CMD_MEASURE_AIR_QUALITY       = 0x2008,   /**< Measure air quality values */
+    SGP30_CMD_GET_BASELINE              = 0x2015,   /**< Get baseline values */
+    SGP30_CMD_SET_BASELINE              = 0x201e,   /**< Set baseline values CMD */
+    SGP30_CMD_SET_HUMIDITY              = 0x2061,   /**< Set absolute humidity value
+                                                         for compensation */
+    SGP30_CMD_MEASURE_TEST              = 0x2032,   /**< Perform on-chip self test */
+    SGP30_CMD_GET_FEATURE_SET_VERSION   = 0x202f,   /**< Get feature set version */
+    SGP30_CMD_MEASURE_RAW_SIGNALS       = 0x2050,   /**< Read raw H2 and Ethanol signals */
+    SGP30_CMD_READ_SERIAL               = 0x3682,   /**< Read serial number */
+    SGP30_CMD_SOFT_RESET                = 0x0006,   /**< Perform General Call reset */
+} sgp30_cmd_t;
+/** @} */
+
+/**
+ * @name      Max delays for SGP30 I2C commands completion

It looks like this needs mostly milliseconds, can the driver be made to only use ZTIMER_MSEC?

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


More information about the notifications mailing list