[riot-notifications] [RIOT-OS/RIOT] drivers/ph_oem: support for Atlas Scientific pH OEM sensor (#10983)

Igor Knippenberg notifications at github.com
Sat Feb 23 22:43:44 CET 2019

skullbox305 commented on this pull request.

> +/**
+ * @brief   Sets the device state (active/hibernate) of the pH OEM sensor by
+ *          writing to the @ref PH_OEM_REG_HIBERNATE register.
+ *          Once the device has been woken up it will continuously take readings
+ *          every 420ms. Waking the device is the only way to take a reading.
+ *          Hibernating the device is the only way to stop taking readings.
+ *
+ * @param[in] dev   device descriptor
+ * @param[in] state @ref ph_oem_device_state_t
+ *
+ * @return zero on successful write, non zero on error
+ */
+int ph_oem_set_device_state(const ph_oem_t *dev, ph_oem_device_state_t state);
+ * @brief   Starts a new reading by setting the device state to

after polling the device and a new reading is available, the device will be set into STOP mode

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/20190223/1c607d07/attachment.html>

More information about the notifications mailing list