[riot-notifications] [RIOT-OS/RIOT] drivers/i2c: Fix i2c api issues (#10578)

MrKevinWeiss notifications at github.com
Thu Jan 10 10:20:41 CET 2019


MrKevinWeiss commented on this pull request.



> @@ -388,8 +388,8 @@ int i2c_write_bytes(i2c_t dev, uint16_t addr, const void *data,
  * @brief   Convenience function for writing one byte to a given
  *          register address
  *
- * @note    This function is using a repeated start sequence for writing to the
- *          specified register address.
+ * @note    This function is using a continuous sequence for writing to the

Because almost all devices need a repeated start read (you need to write to set the pointer and need to start again to get it into a read state) where as almost all the devices use a continuous write to enter data.  This note reflects implementation now.

-- 
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/10578#discussion_r246684256
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/44d28c4c/attachment.html>


More information about the notifications mailing list