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

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