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

Appendix B: Hub Requests

their ports until they are in the configured state.

0 = This port is powered OFF

1 = This port is powered ON

Hubs that do not support power switching always return a “1” in this field.

Low-Speed Device Attached

This field is only relevant if a device is attached.

0 = Full-Speed device attached to this port

1 = Low-Speed device attached to this port

High-Speed Device Attached

This field is not used when a low-speed device is attached. It is relevant when a full-speed device was detected at power-up and after the chirp sequence completes.

0 = Full-Speed device attached to this port

1 = High-Speed device attached to this port

Port Test

This field specifies whether the port is currently being tested.

0 = Port is not in test mode

1 = Port is in test mode

Port Indicator Control

This port specifies whether the port indicator colors are determined under control of software:

1 = software controlled colors

0 = default colors used

Port Change Fields

The port change fields are shown in Table B-9. Five bit fields are defined to report the status and indicator changes for the selected port. Each bit field is discussed in the following sections.

459

USB System Architecture

Table B-9: Format of Port Change Fields Returned During the Get Port Status Request

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

Reset

Over-

Suspend

Port

Connect

(returns all zeros when read)

Complete

Current

Change

Enabled/

Status

 

 

 

Change

Indicator

(resume

Disabled

Change

 

 

 

 

Change

complete)

Change

 

 

 

 

 

 

 

 

 

15

14

13

 

12

11

10

9

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (returns all zeros when read)

 

 

 

 

 

 

 

 

 

 

 

Current Status Change

Indicates a changed has occurred in the current connect status of the port. The hub sets this bit when a it detects that the connect status has changed.

0 = No change on current connect status

1 = Current connect status has changed

This bit is set after RESET if the port has a non-removable device attached.

Port Enable/Disable Change

This field is set when a hardware event initiates a port disable change (i.e., a disconnect event or other fault condition, including an over-current indication). This bit is unaffected by a host software initiated enable/disable change.

0 = No port enable/disable change has occurred

1 = Port enable/disable status has changed due to hardware event

Suspend Change (Resume Complete)

This field indicates that a device attached to this port has completed the resume process (i.e., the hub has terminated resume signaling, followed by 3ms of inactivity to allow the device to resynchronized with host frame timing). This bit is not set when the device enters the suspend state.

0 = No change

1 = Resume completed

460

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