[riot-notifications] [RIOT-OS/RIOT] USBUS: Initial work towards an USB stack (#10916)

Koen Zandberg notifications at github.com
Thu May 30 20:39:28 CEST 2019


bergzand commented on this pull request.



> +uint16_t usbus_add_interface(usbus_t *usbus, usbus_interface_t *iface);
+
+/**
+ * @brief Add an endpoint to the specified interface
+ *
+ * An @ref usbdev_ep_t is requested from the low level peripheral matching the
+ * type, direction and buffer length.
+ *
+ * @param[in] usbus USBUS context
+ * @param[in] iface USB interface to add the endpoint to
+ * @param[in] ep    USB endpoint struct to use
+ * @param[in] type  USB endpoint type
+ * @param[in] dir   USB endpoint direction
+ * @param[in] len   Buffer space for the endpoint to allocate
+ */
+usbus_endpoint_t *usbus_add_endpoint(usbus_t *usbus, usbus_interface_t *iface,

added

-- 
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/10916#discussion_r289118886
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190530/acca2af4/attachment.html>


More information about the notifications mailing list