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