1# UsbEndpointDescriptor 2 3 4## 概述 5 6标准端点描述符,对应USB协议中Standard Endpoint Descriptor。 7 8**起始版本:** 9 1010 11 12**相关模块:** 13 14[USB DDK](_usb_ddk.md) 15 16**所在头文件:** [usb_ddk_types.h](usb__ddk__types_8h.md) 17 18 19## 汇总 20 21 22### 成员变量 23 24| 名称 | 描述 | 25| -------- | -------- | 26| [bLength](#blength) | 该描述符的大小,单位为字节。 | 27| [bDescriptorType](#bdescriptortype) | 描述符类型。 | 28| [bEndpointAddress](#bendpointaddress) | 端点地址,包含端点编号以及端点方向。 | 29| [bmAttributes](#bmattributes) | 端点属性,包括传输类型、同步类型、使用类型。 | 30| [wMaxPacketSize](#wmaxpacketsize) | 该端点所能承载的最大包的大小。 | 31| [bInterval](#binterval) | 数据传输轮询端点的时间间隔。 | 32| [bRefresh](#brefresh) | 用于音频类设备,同步反馈的速率。 | 33| [bSynchAddress](#bsynchaddress) | 用于音频类设备,同步端点的地址。 | 34 35 36## 结构体成员变量说明 37 38 39### bDescriptorType 40 41 42``` 43uint8_t UsbEndpointDescriptor::bDescriptorType 44``` 45 46**描述:** 47 48描述符类型。 49 50 51### bEndpointAddress 52 53 54``` 55uint8_t UsbEndpointDescriptor::bEndpointAddress 56``` 57 58**描述:** 59 60端点地址,包含端点编号以及端点方向。 61 62 63### bInterval 64 65 66``` 67uint8_t UsbEndpointDescriptor::bInterval 68``` 69 70**描述:** 71 72数据传输轮询端点的时间间隔。 73 74 75### bLength 76 77 78``` 79uint8_t UsbEndpointDescriptor::bLength 80``` 81 82**描述:** 83 84该描述符的大小,单位为字节。 85 86 87### bmAttributes 88 89 90``` 91uint8_t UsbEndpointDescriptor::bmAttributes 92``` 93 94**描述:** 95 96端点属性,包括传输类型、同步类型、使用类型。 97 98 99### bRefresh 100 101 102``` 103uint8_t UsbEndpointDescriptor::bRefresh 104``` 105 106**描述:** 107 108用于音频类设备,同步反馈的速率。 109 110 111### bSynchAddress 112 113 114``` 115uint8_t UsbEndpointDescriptor::bSynchAddress 116``` 117 118**描述:** 119 120用于音频类设备,同步端点的地址。 121 122 123### wMaxPacketSize 124 125 126``` 127uint16_t UsbEndpointDescriptor::wMaxPacketSize 128``` 129 130**描述:** 131 132该端点所能承载的最大包的大小。 133