axusbnet.h 578 B

12345678910111213141516171819202122232425
  1. /*
  2. * Change Logs
  3. * Date Author Notes
  4. * 2022-04-17 aozima the first version for CherryUSB.
  5. */
  6. #ifndef __USB_CLASHH_AXUSBNET_H__
  7. #define __USB_CLASHH_AXUSBNET_H__
  8. #include "usbh_core.h"
  9. #include "asix.h"
  10. struct usbh_axusbnet {
  11. struct usbh_hubport *hport;
  12. uint8_t intf; /* interface number */
  13. usbh_epinfo_t int_notify; /* Notify endpoint */
  14. usbh_epinfo_t bulkin; /* Bulk IN endpoint */
  15. usbh_epinfo_t bulkout; /* Bulk OUT endpoint */
  16. uint32_t bulkin_buf[2048/sizeof(uint32_t)];
  17. };
  18. #endif /* __USB_CLASHH_AXUSBNET_H__ */