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

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


bergzand commented on this pull request.



> +     * @param usbus     USBUS context
+     * @param handler   handler context
+     * @param state     setup request state
+     * @param setup     setup packet
+     *
+     * @returns         Size of the returned data when the request is handled
+     * @returns         negative to have the stack return an USB stall to the
+     *                  host
+     * @returns         zero when the request is not handled by this handler
+     */
+    int (*setup_handler)(usbus_t * usbus, struct usbus_handler *handler,
+                         usbus_setuprq_state_t state, usb_setup_t *request);
+} usbus_handler_driver_t;
+
+/**
+ * @ USBUS handler struct

fixed

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


More information about the notifications mailing list