winusb.h 548 B

1234567891011121314151617181920212223
  1. /*
  2. * File : winusb.h
  3. * COPYRIGHT (C) 2008 - 2016, RT-Thread Development Team
  4. *
  5. * Change Logs:
  6. * Date Author Notes
  7. * 2017-11-16 ZYH first version
  8. */
  9. #ifndef __WINUSB_H__
  10. #define __WINUSB_H__
  11. #include <rtthread.h>
  12. struct winusb_descriptor
  13. {
  14. #ifdef RT_USB_DEVICE_COMPOSITE
  15. struct uiad_descriptor iad_desc;
  16. #endif
  17. struct uinterface_descriptor intf_desc;
  18. struct uendpoint_descriptor ep_out_desc;
  19. struct uendpoint_descriptor ep_in_desc;
  20. };
  21. typedef struct winusb_descriptor* winusb_desc_t;
  22. #endif