[riot-notifications] [RIOT-OS/RIOT] drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb (#10695)
notifications at github.com
Wed Feb 20 08:22:53 CET 2019
aabadie 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
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications