beautypg.com

Size, Units, Size units – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual

Page 35

background image

31

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB D

ESCRIPTOR

D

EFINITION

(.

DSC

) F

ILES

Reference Manual

FormatValue=Device compliant to the USB specification
version %X.%02X

The output is displayed in the Description column of the descriptor information
box:

Size

Use

Size

to indicate the number of bytes in the field. Example:

Size=2

Units

Use

Units

to take the Offset value and multiply it by the units value; the resulting

value can then be pulled into a

FormatValue

entry. The following example is

taken from the

MaxPower

description from the

CONFIGURATION

Descriptor

group in standard.dsc:

; MaxPower description
Offset(8)={

Units=2
FormatValue=Maximum power consumption of the device

in this configuration is %i mA
}

Figure 18: Possible output for

BCD=TRUE

and conversion specification

%X.%02X