[riot-notifications] [RIOT-OS/RIOT] usbus: Add CDC-ECM (Ethernet Control Model) function (#11077)

Dylan Laduranty notifications at github.com
Thu Jun 13 20:28:41 CEST 2019


dylad commented on this pull request.



> +#define USBUS_CDCECM_EP_DATA_SIZE  64
+
+/**
+ * @brief notification state, used to track which information must be send to
+ * the host
+ */
+typedef enum {
+    USBUS_CDCECM_NOTIF_NONE,    /**< Nothing notified so far */
+    USBUS_CDCECM_NOTIF_LINK_UP, /**< Link status is notified */
+    USBUS_CDCECM_NOTIF_SPEED,   /**< Link speed is notified */
+} usbus_cdcecm_notif_t;
+
+/**
+ * @brief USBUS CDC ECM device interface context
+ */
+typedef struct usbus_cdceem_device {

```suggestion
typedef struct usbus_cdcecm_device {
```

-- 
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/11077#pullrequestreview-249528850
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190613/77f65f1d/attachment.html>


More information about the notifications mailing list