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

Koen Zandberg notifications at github.com
Thu May 30 20:31:05 CEST 2019


bergzand commented on this pull request.



> +typedef struct usbus usbus_t;
+
+/**
+ * @brief USBUS event handler forward declaration
+ */
+typedef struct usbus_handler usbus_handler_t;
+
+/**
+ * @brief USBUS generic header generator
+ *
+ * @param usbus The usbus context
+ * @param arg   Additional argument for the header generator
+ *
+ * @return      Length of the generated header
+ */
+typedef size_t (*gen_hdr)(usbus_t *usbus, void *arg);

Reworked a bit to include the prototypes directly in the struct, please let me know if the current situation is an improvement

-- 
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_r289115651
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190530/16d5dde4/attachment.html>


More information about the notifications mailing list