Cypress EZ-USB HX2LP Computer Drive User Manual


 
CY7C656x
x
PRELIMINARY
Document #: 38-08037 Rev. *D Page 17 of 23
10.2 Hub Class Commands
SetInterface 00000001B 0x0B Alternate
Setting
Interface
Number
0x0000 None
SetAddress 00000000B 0x05 Device Address 0x0000 0x0000 None
SetDeviceRemoteWakeup 00000000B 0x03 0x01 0x0000 0x0000 None
SetDeviceTest_J 00000000B 0x03 0x02 0x0100 0x0000 None
SetDeviceTest_K 00000000B 0x03 0x02 0x0200 0x0000 None
SetDeviceTest_SE0_NAK 00000000B 0x03 0x02 0x0300 0x0000 None
SetDeviceTest_Packet 00000000B 0x03 0x02 0x0400 0x0000 None
SetEndpointHalt 00000000B 0x03 0x00 0x0000 0x0000 None
ClearDeviceRe-
moteWakeup
00000000B 0x01 0x01 0x0000 0x0000 None
ClearEndpointHalt 00000000B 0x01 0x00 0x0000 0x0000 None
Table 10-1. Device Class Requests (continued)
Request bmRequestType bRequest wValue wIndex wLength Data
Table 10-2. Hub Class Requests
Request bmRequestType bRequest wValue wIndex wLength Data
GetHubStatus 10100000B 0x00 0x0000 0x0000 0x0004 Hub Status (See Table 11-19
of Spec) Change Status
(See Table 11-20 of Spec)
GetPortStatus 10100011B 0x00 0x0000 Byte 0: 0x00
Byte 1: Port
0x0004 Port Status (See Table 11-21
of Spec) Change Status
(See Table 11-20 of Spec)
ClearHubFeature 00100000B 0x01 Feature
Selectors
[13]
0 or 1
0x0000 0x0000 None
ClearPortFeature 00100011B 0x01 Feature
Selectors
[13]
1, 2, 8, 16, 17, 18, 19,
or 20
Byte 0: 0x00
Byte 1: Port
0x0000 None
ClearPortFeature 00100011B 0x01 Feature Selectors
[13]
22
(PORT_INDICATOR)
Byte 0:
Selectors
[14]
0, 1, 2, or 3
Byte 1: Port
0x0000 None
SetHubFeature 00100000B 0x03 Feature
Selector
[13]
0 or 1
0x0000 0x0000
SetPortFeature 00100011B 0x03 Feature
Selectors
[13]
2, 4 or 8
Port 0x0000 None
SetPortFeature 00100011B 0x03 Feature
Selector
[13]
21
(PORT_TEST)
Byte 0:
Selectors
[15]
1,2, 3, 4 or 5
Byte 1: Port
0x0000 None
SetPortFeature 00100011B 0x03 Feature
Selector
[13]
22
(PORT_INDICATOR)
Byte 0:
Selectors
[14]
0, 1, 2, or 3
Byte 1: Port
0x0000 None
GetHubDescriptor 10100000B 0x06 Descriptor Type and
Descriptor Index
Hub
Descriptor
Length
Notes:
13. Feature selector values for different feature is presented in Table 10-3.
14. Selector values for different feature is presented in Table 10-5.