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

Koen Zandberg notifications at github.com
Thu May 30 21:10:12 CEST 2019


bergzand commented on this pull request.



> +                             usbdev_ep_t *ep, usbus_event_transfer_t event);
+
+    /**
+     * @brief setup request handler function
+     *
+     * This function receives USB setup requests from the USBUS stack.
+     *
+     * @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

fixed fox consistency

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


More information about the notifications mailing list