[riot-notifications] [RIOT-OS/RIOT] drivers/lm75: driver for the lm75 sensor and derivatives (#16678)

viktorbatista notifications at github.com
Mon Aug 16 17:25:27 CEST 2021

@viktorbatista commented on this pull request.

> + * @param[in] dev                 device structure
+ * @param[out] temperature        buffer where HYST temperature value will be written
+ *
+ * @return LM75_SUCCESS, on success
+ * @return LM75_ERROR_I2C, on I2C related error
+ */
+int lm75_get_hyst_temp(lm75_t *dev, int *temperature);
+ * @brief Check the current state of the OS pin
+ *
+ * @param[in] dev      device structure
+ *
+ * @return LM75_SUCCESS, on success
+ * @return LM75_ERROR, on pin reading error
+ * @return LM75_I2C_ERROR, on I2C related error

That function doesn't just read the pin, but also reads the configuration register to see if the pin is active while low or high. I'll change the description to properly explain this

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210816/a239c6e0/attachment-0001.htm>

More information about the notifications mailing list