Cypress EZ-USB HX2LP, CY7C656xx manual Vendor Commands, Hub Class Feature Selector Recipient Value

Page 18

 

 

 

 

 

 

PRELIMINARY

 

CY7C656xx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 10-2. Hub Class Requests (continued)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Request

bmRequestType

bRequest

wValue

wIndex

wLength

Data

 

 

 

 

 

 

 

 

 

ClearTTBuffer

00100011B

0x08

Dev_Addr, EP_Num

TT_Port

0x0000

None

 

 

 

 

 

 

 

 

 

ResetTT

00100000B

0x09

0x0000

Byte 0: 0x00

0x0000

None

 

 

 

 

 

 

 

Byte 1: Port

 

 

 

 

 

 

 

 

 

 

 

 

GetTTState

10100011B

0X0A

TT_Flags

Byte 0: 0x00

TT State

TT State

 

 

 

 

 

 

 

Byte 1: Port

Length

 

 

 

 

 

 

 

 

 

 

 

StopTT

00100011B

0x0B

0x0000

Byte 0: 0x00

0x0000

None

 

 

 

 

 

 

 

Byte 1: Port

 

 

 

 

 

 

 

 

 

 

 

 

 

Vendor Commands

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read EEPROM

11000000B

0x02

0x00

0x00

Length

Data

 

 

 

 

 

 

 

 

 

 

 

This request results in Length bytes of Data being read from the external memory device, and returned to the host. Data is read beginning with address 0. This request will fail if there is no external memory device present. This request is only valid if the hub is in the Configured state; the request will fail otherwise.

Write EEPROM

01000000B

0x01

0x00

0x00

Length

Data

 

 

 

 

 

 

 

This request results in Length bytes of Data being written to the external memory device. Data is written beginning with address 0. This request will fail if there is no external memory device present. This request is only valid if the hub is in the Configured state; the request will fail otherwise.

Table 10-3. Hub Class Feature Selector

Feature Selector

Recipient

Value

 

 

 

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_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

 

 

 

Table 10-4. Test Mode Selector for Feature Selector PORT_TEST (0x21)[15]

PORT_TEST Mode Description

Selector Value

 

 

Test_J

1

 

 

Test_K

2

 

 

Test_SE0_NAK

3

 

 

Test_Packet

4

 

 

Test_Force_Enable

5

 

 

Table 10-5. Port Indicator Selector for Feature Selector PORT_INDICATOR (0x22)

Port Indicator Color

Selector Value

Port Indicator Mode

 

 

 

Color Set Automatically as shown in Table 5-1

0

Automatic Mode

 

 

 

Amber

1

Manual Mode

 

 

 

Green

2

Manual Mode

 

 

 

Off

3

Manual Mode

 

 

 

Note:

 

 

15. Selector values for different features are presented in Table 10-4.

Document #: 38-08037 Rev. *D

Page 18 of 23

Image 18
Contents Features IntroductionCypress Semiconductor Corporation Block Diagrams CY7C65640B Block DiagramCY7C65630/CY7C65620 Block Diagram Applications Functional OverviewUpstream Port Power SwitchingPort Indicators Over-current DetectionPort Indicator Color Definitions in Manual Mode Port State Pin Configuration Pin Quad Flat Pack No Leads 8 mm x 8 mm2Pin Description Table Downstream D- Signal Downstream D+ SignalOvercurrent Condition Detection Input. Default is Active Device Descriptor Default DescriptorsConfiguration Descriptor Interface DescriptorEndpoint Descriptor9,10 Endpoint DescriptorInterface Descriptor9,10 Device Qualifier DescriptorHub Descriptor Configuration OptionsDefault 0xD0 Load Byte All Speed Field Name DescriptionConfigured 0xD2 Load Configured 0xD4 LoadByte 12 HubControllerPower Full-Speed Byte 8 MaximumPower Full-SpeedByte 9 MaximumPower High-Speed Byte 13 HubControllerPower High-speedByte 19 Write Protect Byte 20 NumLangs Byte 21 SupportedStringsBit Name Device Class Commands Supported USB RequestsHub Class Commands PortindicatorPorttest Vendor Commands Hub Class Feature Selector Recipient ValueUpstream USB Connection Downstream USB ConnectionsLED Connections System Block Diagram Sample SchematicElectrical Characteristics Ordering Code Package Type 17.0 Package Diagrams16.0 Ordering Information CY46XXJTC Issue Date Change Description of ChangeDocument History KKU