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

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


bergzand commented on this pull request.



> +            break;
+        default:
+            break;
+    }
+}
+
+static void _handler_ep0_transfer(usbus_t *usbus, usbus_handler_t *handler,
+                                 usbdev_ep_t *ep, usbus_event_transfer_t event)
+{
+    usbus_control_handler_t *ep0_handler = (usbus_control_handler_t *)handler;
+
+    switch (event) {
+        case USBUS_EVENT_TRANSFER_COMPLETE:
+            _handle_tr_complete(usbus, ep0_handler, ep);
+            break;
+        default:

Same as above, but now for endpoint events instead of usb events

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


More information about the notifications mailing list