1# UsbEndpointDescriptor
2
3
4## Overview
5
6Defines standard endpoint descriptors, which correspond to **Standard Endpoint Descriptor** in the USB protocol.
7
8**Since**
9
1010
11
12**Related Modules**
13
14[USB DDK](_usb_ddk.md)
15
16
17## Summary
18
19
20### Member Variables
21
22| Name| Description|
23| -------- | -------- |
24| [bLength](#blength) | Size of the descriptor, in bytes.|
25| [bDescriptorType](#bdescriptortype) | Descriptor type.|
26| [bEndpointAddress](#bendpointaddress) | Endpoint address, including the endpoint number and endpoint direction.|
27| [bmAttributes](#bmattributes) | Endpoint attributes, including the transfer type, synchronization type, and usage type.|
28| [wMaxPacketSize](#wmaxpacketsize) | Maximum packet size supported by an endpoint.|
29| [bInterval](#binterval) | Interval for polling endpoints for data transfer.|
30| [bRefresh](#brefresh) | Refresh rate for audio devices.|
31| [bSynchAddress](#bsynchaddress) | Endpoint synchronization address for audio devices.|
32
33
34## Member Variable Description
35
36
37### bDescriptorType
38
39
40```
41uint8_t UsbEndpointDescriptor::bDescriptorType
42```
43
44**Description**
45
46Descriptor type.
47
48
49### bEndpointAddress
50
51
52```
53uint8_t UsbEndpointDescriptor::bEndpointAddress
54```
55
56**Description**
57
58Endpoint address, including the endpoint number and endpoint direction.
59
60
61### bInterval
62
63
64```
65uint8_t UsbEndpointDescriptor::bInterval
66```
67
68**Description**
69
70Interval for polling endpoints for data transfer.
71
72
73### bLength
74
75
76```
77uint8_t UsbEndpointDescriptor::bLength
78```
79
80**Description**
81
82Size of the descriptor, in bytes.
83
84
85### bmAttributes
86
87
88```
89uint8_t UsbEndpointDescriptor::bmAttributes
90```
91
92**Description**
93
94Endpoint attributes, including the transfer type, synchronization type, and usage type.
95
96
97### bRefresh
98
99
100```
101uint8_t UsbEndpointDescriptor::bRefresh
102```
103
104**Description**
105
106Refresh rate for audio devices.
107
108
109### bSynchAddress
110
111
112```
113uint8_t UsbEndpointDescriptor::bSynchAddress
114```
115
116**Description**
117
118Endpoint synchronization address for audio devices.
119
120
121### wMaxPacketSize
122
123
124```
125uint16_t UsbEndpointDescriptor::wMaxPacketSize
126```
127
128**Description**
129
130Maximum packet size supported by an endpoint.
131