2017-11-23 00:37:21 +08:00
|
|
|
/*
|
2021-03-08 18:19:04 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2018-10-14 19:37:18 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-11-23 00:37:21 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-11-16 ZYH first version
|
|
|
|
*/
|
|
|
|
#ifndef __WINUSB_H__
|
|
|
|
#define __WINUSB_H__
|
|
|
|
#include <rtthread.h>
|
|
|
|
struct winusb_descriptor
|
|
|
|
{
|
|
|
|
#ifdef RT_USB_DEVICE_COMPOSITE
|
|
|
|
struct uiad_descriptor iad_desc;
|
|
|
|
#endif
|
|
|
|
struct uinterface_descriptor intf_desc;
|
|
|
|
struct uendpoint_descriptor ep_out_desc;
|
|
|
|
struct uendpoint_descriptor ep_in_desc;
|
|
|
|
};
|
|
|
|
typedef struct winusb_descriptor* winusb_desc_t;
|
|
|
|
|
|
|
|
#endif
|