_usb_endpoint_descriptor.md 2.1 KB
Newer Older
W
wuchengwen 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
# UsbEndpointDescriptor


## 概述

标准端点描述符,对应USB协议中Standard Endpoint Descriptor。

**起始版本:**

10

**相关模块:**

[UsbDdk](_usb_ddk.md)


## 汇总


### 成员变量

| 名称 | 描述 |
| -------- | -------- |
| [bLength](#blength) | 该描述符的大小,单位为字节。 |
| [bDescriptorType](#bdescriptortype) | 描述符类型。 |
| [bEndpointAddress](#bendpointaddress) | 端点地址,包含端点编号以及端点方向。 |
| [bmAttributes](#bmattributes) | 端点属性,包括传输类型、同步类型、使用类型。 |
| [wMaxPacketSize](#wmaxpacketsize) | 该端点所能承载的最大包的大小。 |
| [bInterval](#binterval) | 数据传输轮询端点的时间间隔。 |
| [bRefresh](#brefresh) | 用于音频类设备,同步反馈的速率。 |
| [bSynchAddress](#bsynchaddress) | 用于音频类设备,同步端点的地址。 |


## 结构体成员变量说明


### bDescriptorType


```
uint8_t UsbEndpointDescriptor::bDescriptorType
```

**描述:**

描述符类型。


### bEndpointAddress


```
uint8_t UsbEndpointDescriptor::bEndpointAddress
```

**描述:**

端点地址,包含端点编号以及端点方向。


### bInterval


```
uint8_t UsbEndpointDescriptor::bInterval
```

**描述:**

数据传输轮询端点的时间间隔。


### bLength


```
uint8_t UsbEndpointDescriptor::bLength
```

**描述:**

该描述符的大小,单位为字节。


### bmAttributes


```
uint8_t UsbEndpointDescriptor::bmAttributes
```

**描述:**

端点属性,包括传输类型、同步类型、使用类型。


### bRefresh


```
uint8_t UsbEndpointDescriptor::bRefresh
```

**描述:**

用于音频类设备,同步反馈的速率。


### bSynchAddress


```
uint8_t UsbEndpointDescriptor::bSynchAddress
```

**描述:**

用于音频类设备,同步端点的地址。


### wMaxPacketSize


```
uint16_t UsbEndpointDescriptor::wMaxPacketSize
```

**描述:**

该端点所能承载的最大包的大小。