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

Koen Zandberg notifications at github.com
Fri Feb 1 23:40:56 CET 2019

bergzand commented on this pull request.

> +static int usbdev_ep_ready(usbdev_ep_t *ep, size_t len);
+static usbdev_ep_t *usbdev_new_ep(usbdev_t *dev, usb_ep_type_t type,
+                                  usb_ep_dir_t dir, size_t buf_len);
+static void _ep_address(usbdev_ep_t *ep);
+static void _ep_size(usbdev_ep_t *ep);
+static int _ep_unready(usbdev_ep_t *ep);
+static inline unsigned _get_ep_num(unsigned num, usb_ep_dir_t dir)
+    return 2 * num + (dir == USB_EP_DIR_OUT ? 0 : 1);
+static inline unsigned _get_ep_num2(usbdev_ep_t *ep)

Probably just bad naming, but will check.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190201/0ae93145/attachment.html>

More information about the notifications mailing list