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