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

Koen Zandberg notifications at github.com
Thu Mar 28 22:21:35 CET 2019


bergzand commented on this pull request.



> +} usbus_control_slicer_t;
+
+/**
+ * @brief Endpoint zero event handler
+ */
+typedef struct {
+    usbus_handler_t handler;            /**< Inherited generic handler        */
+    usb_setup_t setup;                  /**< Last received setup packet       */
+    usbus_setuprq_state_t setup_state;  /**< Setup request state machine      */
+    usbus_control_slicer_t slicer;      /**< Slicer for multipart control
+                                            messages */
+    usbdev_ep_t *out;                   /**< EP0 out endpoint                 */
+    usbdev_ep_t *in;                    /**< EP0 in endpoint                  */
+} usbus_control_handler_t;
+
+int usbus_control_init(usbus_t *usbus, usbus_control_handler_t *handler);

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_r270204003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190328/19327337/attachment.html>


More information about the notifications mailing list