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

USB System Architecture

Get Status

The host can obtain status information from a device via the Get Status” request. Status information is returned in the data stage of the control transfer. Host software can specify the status information from three separate layers associated with the device:

Device Status — provides global status that applies to the entire device.

Interface Status — returns all zeros. Interface status is defined as reserved.

Endpoint Status — provides information pertaining to the selected endpoint.

The recipient of the request is specified in the Request Type” field of byte zero as shown in Table A-1 on page 437. The status information is returned in little endian format for the selected recipient as described below. Since the interface status information is reserved, only the device and endpoint status information is included.

Device Status

Table A-6 illustrates the information returned to the host when a Get Status” request is made and the device is specified as the recipient.

Table A-6: Device Status Information Returned During Get Status Request

7

6

5

 

4

3

 

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (reset to zeros)

 

 

Port Test

Remote

Self

 

 

 

 

 

 

 

 

Wakeup

Powered

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

 

12

11

 

10

9

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (reset to zeros)

 

 

 

 

 

 

 

 

 

 

 

 

 

Self-Powered Bit

The self-powered bit reflects whether the device is currently bus-powered (0) or self-powered (1). This field may not be changed by the Set Feature” and Clear Feature” requests.

442

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