USB2.0集线器SetHubFeature
2023-04-13
351
0
SetHubFeature用于设置集线器的特性。
Request | bmRequestType | bRequest | wValue | wIndex | wLength |
---|---|---|---|---|---|
SetHubFeature | 00100000B (0x20) | SET_FEATURE(0x03) | FeatureSelector | 0 | 0 |
bRequest可有:
请求 | 目标 | 值 |
---|---|---|
C_HUB_LOCAL_POWER | Hub | 0 |
C_HUB_OVER_CURRENT | Hub | 1 |
PORT_CONNECTION | Port | 0 |
PORT_ENABLE | Port | 1 |
PORT_SUSPEND | Port | 2 |
PORT_OVER_CURRENT | Port | 3 |
PORT_RESET | Port | 4 |
PORT_POWER | Port | 8 |
PORT_LOW_SPEED | Port | 9 |
C_PORT_CONNECTION | Port | 16 |
C_PORT_ENABLE | Port | 17 |
C_PORT_SUSPEND | Port | 18 |
C_PORT_OVER_CURRENT | Port | 19 |
C_PORT_RESET | Port | 20 |
PORT_TEST | Port | 21 |
PORT_INDICATOR | Port | 22 |
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936