[riot-notifications] [RIOT-OS/RIOT] [WIP] sam0_common: Add USB peripheral driver (#10915)

Koen Zandberg notifications at github.com
Fri Feb 1 23:30:21 CET 2019


bergzand commented on this pull request.



> +    UsbDeviceDescBank *bank = &banks[_get_ep_num(ep->num, ep->dir)];
+
+    return (size_t)bank->PCKSIZE.bit.BYTE_COUNT;
+
+}
+
+int usbdev_ep_get(usbdev_ep_t *ep, usbopt_ep_t opt,
+                  void *value, size_t max_len)
+{
+    (void)ep;
+    (void)value;
+    (void)max_len;
+    int res = -ENOTSUP;
+    assert(ep != NULL);
+    switch (opt) {
+        case USBOPT_EP_ENABLE:

removed as they are covered by the default option

-- 
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/10915#discussion_r253220739
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190201/2099aea5/attachment.html>


More information about the notifications mailing list