[riot-notifications] [RIOT-OS/RIOT] drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb (#10695)

Kaspar Schleiser notifications at github.com
Tue Feb 19 15:05:23 CET 2019


kaspar030 commented on this pull request.



> + * @brief   Initialize a given LPSXXX pressure sensor
+ *
+ * @param[out] dev      device descriptor of the sensor
+ * @param[in]  params   initialization parameters
+ *
+ * @return              LPSXXX_OK on success
+ * @return              -LPSXXX_ERR_NODEV if no valid device found
+ * @return              -LPSXXX_ERR_I2C on I2C error
+ */
+int lpsxxx_init(lpsxxx_t *dev, const lpsxxx_params_t *params);
+
+/**
+ * @brief   Read a temperature value from the given sensor, returned in m°C
+ *
+ * @param[in] dev       device descriptor of sensor to read from
+ * @param[out] temp     temperature value in c°C

m°C or c°C?

-- 
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/10695#pullrequestreview-205227713
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190219/4e257bbc/attachment.html>


More information about the notifications mailing list