Files
luban-lite-t3e-pro/packages/third-party/cherryusb/class/template/usbh_xxx.h

20 lines
430 B
C
Raw Normal View History

2023-08-30 16:21:18 +08:00
#ifndef _USBH_XXX_H
#define _USBH_XXX_H
#include "usb_xxx.h"
struct usbh_xxx {
struct usbh_hubport *hport;
2024-01-27 08:47:24 +08:00
struct usb_endpoint_descriptor *xxxin;
struct usb_endpoint_descriptor *xxxout;
struct usbh_urb xxxin_urb;
struct usbh_urb xxxout_urb;
2023-08-30 16:21:18 +08:00
uint8_t intf; /* interface number */
uint8_t minor;
};
2024-01-27 08:47:24 +08:00
void usbh_xxx_run(struct usbh_xxx *xxx_class);
void usbh_xxx_stop(struct usbh_xxx *xxx_class);
2023-08-30 16:21:18 +08:00
#endif