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

USB System Architecture

Table B-4: Hub Class-Specific Requests

Request-

Request

Value

Index

Length

Data

Type

 

 

 

 

 

 

 

 

 

 

 

00100000B

SET_DESCRIPTOR

Descriptor

Zero or Lan-

Descrip-

Descriptor

 

(07)

Type and

guage ID

tor Length

 

 

 

Descriptor

 

 

 

 

 

Index

 

 

 

 

 

 

 

 

 

00100000B

SET_FEATURE

Feature

Zero

Zero

None

 

(03)

Selector

 

 

 

 

 

 

 

 

 

00100011B

SET_FEATURE

Feature

Port

Zero

None

 

(00)

Selector

 

 

 

 

 

 

 

 

 

10100011B

GET_TT_STATE

TT_Flags

Port

TT Length

TT State

 

(10)

 

 

 

 

 

 

 

 

 

 

00100011B

STOP_TT

Zero

Port

Zero

None

 

(11)

 

 

 

 

 

 

 

 

 

 

Get/Set Descriptor Request

The class-specificGet Hub Descriptor” request provides host software a way to read the hub class descriptor. The “value” field within the setup transaction must be cleared (00h), which is the hub descriptor index number. The format and definition of the hub class descriptor can be found in Table 20-12 on page 394.

The “Set Descriptor” request is optional. This request is used to update the hub descriptor, and is valid only for those hubs that provide a mechanism for updating descriptors.

Get Hub Status Request

The “Get Hub Status” request returns the current hub status, along with state change indicators. Two bytes are returned for status and two bytes for state change during the data stage of the request. The state change information indicates which status events has incurred a change and the status information specifies the current status of each status bit. Note that hub status information is global in nature and applies equally to all ports associated with the hub.

452

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