beautypg.com

Command summary, Pdiusbh12 usb 2-port hub – Philips Integrated Circuits PDIUSBH12 User Manual

Page 10

background image

Philips Semiconductors

Product specification

PDIUSBH12

USB 2-port hub

1999 Jul 22

10

COMMAND SUMMARY

Some commands have the same command code (e.g., Read Buffer and Write Buffer). In these cases, the direction of the Data Phase (read or
write) indicates which command is executed.

COMMAND NAME

RECIPIENT

CODING

DATA PHASE

Initialization Commands

Set Address / Enable

Hub

D0h

Write 1 byte

Embedded Function 1

D1h

Write 1 byte

Embedded Function 6

D2h

Write 1 byte

Embedded Function 7

D3h

Write 1 byte

Set Endpoint Enable

Hub + Embedded Functions

D8h

Write 1 byte

Set Mode

Hub + Embedded Functions

F3h

Write 2 bytes

Data Flow Commands

Read Interrupt Register

F4h

Read 2 bytes

Select Endpoint

Hub Control OUT

00h

Read 1 byte (optional)

Hub Control IN

01h

Read 1 byte (optional)

Other Endpoints

00h + Endpoint Index

Read 1 byte (optional)

Read Last Transaction Status

Hub Control OUT

40h

Read 1 byte

Hub Control IN

41h

Read 1 byte

Other Endpoints

40h + Endpoint Index

Read 1 byte

Read Endpoint Status

Hub Control OUT

80h

Read 1 byte

Hub Control IN

81h

Read 1 byte

Other Endpoints

80h + Endpoint Index

Read 1 byte

Read Buffer

Selected Endpoint

F0h

Read n bytes

Write Buffer

Selected Endpoint

F0h

Write n bytes

Set Endpoint Status

Hub Control OUT

40h

Write 1 byte

Hub Control IN

41h

Write 1 byte

Other Endpoints

40h + Endpoint Index

Write 1 byte

Acknowledge Setup

Selected Endpoint

F1h

None

Clear Buffer

Selected Endpoint

F2h

None

Validate Buffer

Selected Endpoint

FAh

None

Hub Commands

Clear Port Feature

Port 2

E0h

Write 1 byte

Port 3

E1h

Write 1 byte

Set Port Feature

Port 2

E8h

Write 1 byte

Port 3

E9h

Write 1 byte

Get Port Status

Port 2

E0h

Read 1 or 2 bytes

Port 3

E1h

Read 1 or 2 bytes

Set Status Change Bits

F7h

Write 1 byte

General Commands

Send Resume

F6h

None

Read Current Frame Number

F5h

Read 1 or 2 bytes