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

Koen Zandberg notifications at github.com
Wed Feb 13 19:40:58 CET 2019


bergzand commented on this pull request.



> +    }
+    else {
+        if (ep_reg->EPINTFLAG.bit.TRCPT1) {
+            ep_reg->EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRCPT1;
+            event = USBDEV_EVENT_TR_COMPLETE;
+        }
+        else if (ep_reg->EPINTFLAG.bit.TRFAIL1) {
+            ep_reg->EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_TRFAIL1;
+            event = USBDEV_EVENT_TR_FAIL;
+        }
+        else if (ep_reg->EPINTFLAG.bit.STALL1) {
+            ep_reg->EPINTFLAG.reg = USB_DEVICE_EPINTFLAG_STALL1;
+            event = USBDEV_EVENT_TR_STALL;
+        }
+        else {
+            DEBUG("Unhandled out %u: %x\n", ep->num, ep_reg->EPINTFLAG.reg);

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


More information about the notifications mailing list