[riot-notifications] [RIOT-OS/RIOT] sys/arduino: Added Wire (I2C) interface (#10592)

Gunar Schorcht notifications at github.com
Thu Sep 19 19:06:01 CEST 2019


gschorcht commented on this pull request.



> +     * @param   stop    Send STOP condition after transmission if true or
+     *                  nothing if false.
+     *
+     * @retval  0   success
+     * @retval  1   data too long to fit in transmit buffer
+     * @retval  2   received NACK on transmit of address
+     * @retval  3   received NACK on transmit of data
+     * @retval  4   other error
+     */
+    uint8_t endTransmission(uint8_t stop);
+
+    /**
+     * @brief   Request bytes from a I2C slave device
+     *
+     * Used by the master to request bytes from a slave device. The bytes may
+     * then be retrieved with the #available and #read methods. Sends always

Unfortunatly, autolinking doesn't work for `read` and `ARDUINO_I2C_DEV` without the `#`. With the `#`, doxygen generate references as it should. `#` is a valid method to generate references to functions.

-- 
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/10592#discussion_r326285130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190919/ed778756/attachment-0001.htm>


More information about the notifications mailing list