Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
USB System Architecture (USB 2.0).pdf
Скачиваний:
172
Добавлен:
03.05.2015
Размер:
7.03 Mб
Скачать

USB System Architecture

Table B-2: Hub’s Response to Standard Device Requests

Request

Request

Hub Response

 

Field

 

 

Value

 

 

 

 

 

 

 

SET_DESCRIPTOR

7

Optional (used to update or modify a

 

 

selected descriptor).

 

 

 

SET_FEATURE

3

Sets the selected feature associated with the

 

 

device.

 

 

 

SET_INTERFACE

11

Optional (hubs only required to support one

 

 

interface).

 

 

 

SYNCH_FRAME

12

Optional (hubs are not required to have iso-

 

 

chronous endpoints).

 

 

 

Hub Class Requests

Hubs must also support specific class requests. When the request type field (bits 5:4) in Table B-1 is set to 01b the request is interpreted as being class specific. The hub class requests are listed in Table B-3.

Table B-3: Hub Class Request Codes

Request

Value

 

 

 

 

GET_STATUS

0

 

 

CLEAR_FEATURE

1

 

 

Reserved (GET_STATE in 1.x)

2

 

 

SET_FEATURE

3

 

 

reserved

4-5

 

 

GET_DESCRIPTOR

6

 

 

SET_DESCRIPTOR

7

 

 

CLEAR_TT_BUFFER

8

 

 

RESET_TT

9

 

 

450

Appendix B: Hub Requests

Table B-3: Hub Class Request Codes

Request

Value

 

 

 

 

GET_TT_STATE

10

 

 

STOP_TT

11

 

 

The format and definition of each hub class request is shown inTable B-4. Only a hub device supports these specific requests. Each of the requests is detailed in the following sections.

Table B-4: Hub Class-Specific Requests

Request-

Request

Value

Index

Length

Data

Type

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00100000B

CLEAR_FEATURE

Feature

Zero

Zero

None

 

(01)

Selector

 

 

 

 

 

 

 

 

 

00100011B

CLEAR_FEATURE

Feature

Port

Zero

None

 

(01)

Selector

 

 

 

 

 

 

 

 

 

00100011B

CLEAR_TT_BUFFER

Dev_Addr,

TT_port

Zero

None

 

(08)

EP Number

 

 

 

 

 

 

 

 

 

10100011B

RESERVED (2.0)

Zero

Port

One

Per Port Bus

 

Get_Bus-State (1.x)

 

 

 

State

 

(02)

 

 

 

 

 

 

 

 

 

 

10100000B

GET_DESCRIPTOR

Descriptor

Zero or Lan-

Descrip-

Descriptor

 

(06)

Type and

guage ID

tor Length

 

 

 

Descriptor

 

 

 

 

 

Index

 

 

 

 

 

 

 

 

 

10100000B

GET_STATUS

Zero

Zero

Four

Hub

 

(00)

 

 

 

Status and

 

 

 

 

 

Change Indica-

 

 

 

 

 

tors

 

 

 

 

 

 

10100011B

GET_STATUS

Zero

Port

Four

Port Status and

 

(00)

 

 

 

Change Indica-

 

 

 

 

 

tors

 

 

 

 

 

 

00100011B

RESET_TT

Zero

Port

Zero

None

 

(09)

 

 

 

 

 

 

 

 

 

 

451

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]