1 /* 2 * Copyright (c) 2006-2018, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2017-11-16 ZYH first version 9 */ 10 #ifndef __WINUSB_H__ 11 #define __WINUSB_H__ 12 #include <rtthread.h> 13 struct winusb_descriptor 14 { 15 #ifdef RT_USB_DEVICE_COMPOSITE 16 struct uiad_descriptor iad_desc; 17 #endif 18 struct uinterface_descriptor intf_desc; 19 struct uendpoint_descriptor ep_out_desc; 20 struct uendpoint_descriptor ep_in_desc; 21 }; 22 typedef struct winusb_descriptor* winusb_desc_t; 23 24 #endif 25