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

Koen Zandberg notifications at github.com
Mon Mar 4 15:32:07 CET 2019


bergzand commented on this pull request.



> +    size_t len;                     /**< Length of the full message       */
+    size_t transfered;              /**< Number of bytes transfered       */
+    size_t reqlen;                  /**< Maximum length of the request    */
+} usbus_controlslicer_t;
+
+/**
+ * @brief USBUS context struct
+ */
+struct usbus {
+    usbus_string_t manuf;         /**< Manufacturer string                   */
+    usbus_string_t product;       /**< Product string                        */
+    usbus_string_t config;        /**< Configuration string                  */
+    usbus_controlslicer_t slicer; /**< Slicer for multipart control messages */
+    usbdev_t *dev;                /**< usb phy device of the usb manager     */
+    usbdev_ep_t *out;             /**< EP0 out endpoint                      */
+    usbdev_ep_t *in;              /**< EP0 in endpoint                       */

Should preferably moved to `usbdev_ep0_handler_t`

-- 
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#pullrequestreview-210168074
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190304/4098ad97/attachment-0001.html>


More information about the notifications mailing list