Cypress CY7C656xx, EZ-USB HX2LP manual Hub Class Commands, Portindicator, Porttest

Page 17

 

 

 

 

 

PRELIMINARY

 

 

CY7C656xx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 10-1. Device Class Requests (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

Request

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

 

 

 

 

 

SetInterface

 

 

00000001B

0x0B

Alternate

Interface

0x0000

None

 

 

 

 

 

 

Setting

Number

 

 

 

 

 

 

 

 

 

 

 

 

 

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-

 

 

00000000B

0x01

0x01

0x0000

0x0000

None

 

moteWakeup

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ClearEndpointHalt

 

 

00000000B

0x01

0x00

0x0000

0x0000

None

 

 

 

 

 

 

 

 

 

 

10.2Hub Class Commands

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

0x0004

Port Status (See Table 11-21

 

 

 

 

Byte 1: Port

 

of Spec) Change Status

 

 

 

 

 

 

(See Table 11-20 of Spec)

 

 

 

 

 

 

 

ClearHubFeature

00100000B

0x01

Feature

0x0000

0x0000

None

 

 

 

Selectors[13] 0 or 1

 

 

 

ClearPortFeature

00100011B

0x01

Feature

Byte 0: 0x00

0x0000

None

 

 

 

Selectors[13]

Byte 1: Port

 

 

 

 

 

1, 2, 8, 16, 17, 18, 19,

 

 

 

 

 

 

or 20

 

 

 

 

 

 

 

 

 

 

ClearPortFeature

00100011B

0x01

Feature Selectors[13]

Byte 0:

0x0000

None

 

 

 

22

Selectors[14]

 

 

 

 

 

(PORT_INDICATOR)

0, 1, 2, or 3

 

 

 

 

 

 

Byte 1: Port

 

 

 

 

 

 

 

 

 

SetHubFeature

00100000B

0x03

Feature

0x0000

0x0000

 

 

 

 

Selector[13]

 

 

 

 

 

 

0 or 1

 

 

 

 

 

 

 

 

 

 

SetPortFeature

00100011B

0x03

Feature

Port

0x0000

None

 

 

 

Selectors[13]

 

 

 

 

 

 

2, 4 or 8

 

 

 

 

 

 

 

 

 

 

SetPortFeature

00100011B

0x03

Feature

Byte 0:

0x0000

None

 

 

 

Selector[13] 21

Selectors[15]

 

 

 

 

 

(PORT_TEST)

1,2, 3, 4 or 5

 

 

 

 

 

 

Byte 1: Port

 

 

 

 

 

 

 

 

 

SetPortFeature

00100011B

0x03

Feature

Byte 0:

0x0000

None

 

 

 

Selector[13] 22

Selectors[14]

 

 

 

 

 

(PORT_INDICATOR)

0, 1, 2, or 3

 

 

 

 

 

 

Byte 1: Port

 

 

 

 

 

 

 

 

 

GetHubDescriptor

10100000B

0x06

Descriptor Type and

 

Hub

 

 

 

 

Descriptor Index

 

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.

Document #: 38-08037 Rev. *D

Page 17 of 23

Image 17
Contents Cypress Semiconductor Corporation FeaturesIntroduction CY7C65640B Block Diagram Block DiagramsCY7C65630/CY7C65620 Block Diagram Functional Overview ApplicationsPort Indicators Power SwitchingUpstream Port Over-current DetectionPort Indicator Color Definitions in Manual Mode Port State Pin Quad Flat Pack No Leads 8 mm x 8 mm2 Pin ConfigurationPin Description Table Overcurrent Condition Detection Input. Default is Active Downstream D- SignalDownstream D+ Signal Configuration Descriptor Default DescriptorsDevice Descriptor Interface DescriptorInterface Descriptor9,10 Endpoint DescriptorEndpoint Descriptor9,10 Device Qualifier DescriptorDefault 0xD0 Load Configuration OptionsHub Descriptor Byte All Speed Field Name DescriptionConfigured 0xD4 Load Configured 0xD2 LoadByte 9 MaximumPower High-Speed Byte 8 MaximumPower Full-SpeedByte 12 HubControllerPower Full-Speed Byte 13 HubControllerPower High-speedBit Name Byte 19 Write Protect Byte 20 NumLangsByte 21 SupportedStrings Supported USB Requests Device Class CommandsPorttest Hub Class CommandsPortindicator Hub Class Feature Selector Recipient Value Vendor CommandsLED Connections Upstream USB ConnectionDownstream USB Connections Sample Schematic System Block DiagramElectrical Characteristics 16.0 Ordering Information 17.0 Package DiagramsOrdering Code Package Type CY46XXDocument History Issue Date Change Description of ChangeJTC KKU