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

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


bergzand commented on this pull request.



> +        if (USB->DEVICE.INTFLAG.bit.EORST) {
+            /* Clear flag */
+            USB->DEVICE.INTFLAG.reg = USB_DEVICE_INTFLAG_EORST;
+            usbdev_ep_init(&endpoints[0]);
+            _ep_enable(&endpoints[0]);
+            usbdev_ep_init(&endpoints[1]);
+            _ep_enable(&endpoints[1]);
+            _usbdev->usbdev.cb(&_usbdev->usbdev, USBDEV_EVENT_RESET);
+        }
+        /* Re-enable the USB IRQ */
+        _enable_irq();
+    }
+}
+
+
+static void _ep_address(usbdev_ep_t *ep)

renamed

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


More information about the notifications mailing list