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

Koen Zandberg notifications at github.com
Mon Feb 11 11:19:19 CET 2019


bergzand commented on this pull request.



> +            ep_reg->EPINTENSET.reg = USB_DEVICE_EPINTENSET_RXSTP;
+        }
+    }
+    else {
+        ep_reg->EPINTENSET.reg = USB_DEVICE_EPINTENSET_TRCPT1
+                                 | USB_DEVICE_EPINTENSET_TRFAIL1
+                                 | USB_DEVICE_EPINTENSET_STALL1;
+    }
+}
+
+static void _disable_ep_irq(usbdev_ep_t *ep)
+{
+    UsbDeviceEndpoint *ep_reg = &USB->DEVICE.DeviceEndpoint[ep->num];
+
+    if (ep->dir == USB_EP_DIR_OUT) {
+        ep_reg->EPINTENCLR.reg = USB_DEVICE_EPINTENCLR_TRCPT0 |

Ack, should be 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_r255444557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190211/59bb0c17/attachment.html>


More information about the notifications mailing list