USB集线器GetPortStatus
2023-04-12
1085
1
Request | bmRequestType | bRequest | wValue | wIndex | wLength | Data |
---|---|---|---|---|---|---|
GetPortStatus | 10100011B (0xA3) | GET_STATUS(0x00) | 0 | Port | 4 | Port Status and Change Status |
获取下游端口的4个端口状态
- BIT0:Current Connect Status 0设备不在线,1设备在线
- BIT1:Port Enabled/Disabled: 0端口禁用,1端口使用。
- BIT2:Suspend
- BIT3:Over-current: (PORT_OVER_CURRENT)
- BIT4:Reset: (PORT_RESET)
- BIT5~7:保留
- BIT8:Port Power: (PORT_POWER)
- BIT9:Low- Speed Device Attached
- BIT10:High-speed Device Attached
- BIT11:Port Test Mode : (PORT_TEST)
- BIT12:Port Indicator Control: (PORT_INDICATOR)
- BIT13~15:保留
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936