usbh_xxx.h 452 B

12345678910111213141516171819202122
  1. #ifndef _USBH_XXX_H
  2. #define _USBH_XXX_H
  3. #include "usb_xxx.h"
  4. struct usbh_xxx {
  5. struct usbh_hubport *hport;
  6. struct usb_endpoint_descriptor *xxxin;
  7. struct usb_endpoint_descriptor *xxxout;
  8. struct usbh_urb xxxin_urb;
  9. struct usbh_urb xxxout_urb;
  10. uint8_t intf; /* interface number */
  11. uint8_t minor;
  12. void *user_data;
  13. };
  14. void usbh_xxx_run(struct usbh_xxx *xxx_class);
  15. void usbh_xxx_stop(struct usbh_xxx *xxx_class);
  16. #endif