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

Appendix B: Hub Requests

Hub Status Fields

Two fields are defined for hub status information as shown inTable B-5.:

Local Power Status

Over-current Indicator

Local Power Status

The local power status field applies only to hubs that support both self-powered and bus-powered implementations, or hybrid-powered hubs (i.e., bus interface powered by bus and ports powered by a local supply). This field indicates whether local power to the hub is good or not. Since the USB interface logic is powered by the USB bus, status information can be returned, even if power to the rest of the hub has been lost. The bit definition is:

0 = Local power supply good

1 = Local power supply lost

If “0” is returned for this bit position then the power to the interface and hub is valid. Note that if power to the bus interface is lost, a time-out will occur when the Get Hub Status” request is performed, since the hub could not respond. If power to the interface is good, then the transaction will complete normally and report the current status of the local supply.

Over-Current Indicator

The over-current indicator field applies only to hubs that report over-current protection globally (a summation of all ports). Whether over-current is reported globally or for each ports individually is specified within the hub descriptor’s hub characteristics field (see Table 20-5 on page 388). Definition for this bit field is:

0 = All power operations normal

1 = An over-current condition exists on a hub-wide basis

If an over-current condition is reported, then power to all ports will have been shut off.

453

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