beautypg.com

Subclasscode, Alloffsets, Subclasscode alloffsets – Teledyne LeCroy USB File Based Decode Manual User Manual

Page 32

background image

28

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB D

ESCRIPTOR

D

EFINITION

(.

DSC

) F

ILES

Reference Manual

SubclassCode

This entry is used only in conjunction with a

ClassCode

entry. Its value is the

USB-assigned subclass code. This keyword was introduced specifically to support
the descriptor format extension adopted by the Audio device class. Any other class
or vendor descriptor specification based on this extension may utilize the

SubclassCode

keyword as well.

AllOffsets

The

AllOffsets

keyword is used to specify the

Offset

values for all of the

requests described in the descriptor definition. The

AllOffsets

definition uses

the following format:

AllOffsets=
{

<Offset_value>=<Offset_name>
...

}

The value of

<Offset_value>

is the USB-assigned value, and is represented

numerically. It shows up in the Offset column of the descriptor information box.

<Offset_name>

is the textual representation of the offset value. It also repre-

sents the offset name that will appear in the Field column of the displayed descriptor
information. For example:

Figure 16: The offset value and name is

displayed in the Offset and Field columns of the

descriptor information