beautypg.com

Endian, Hibyte, Length – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual

Page 22: Endian hibyte length

background image

18

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB R

EQUEST

D

EFINITION

(.

REQ

) F

ILES

Reference Manual

Left-click on the Control field heading to access the Decode...Request command on
the context menu. Selecting the Decode...Request command opens the decoding
dialog window. For more information about displaying descriptor information,
please see USB Descriptor Definition (.dsc) Files on page 25.

Endian

Use

Endian

to specify whether bytes should be presented in little-endian or big-

endian order.

Bytes(2,3)={

Endian=Big
Name=Hub Change bits
Bitmap={

0=C_HUB_LOCAL_POWER
1=C_HUB_OVER_CURRENT

}

}

Alternatively, the

Endian

value could be set to

Little

, which is the default

value.

HIBYTE

Use

HIBYTE

in conjunction with

LOBYTE

in order to display both values in 2-byte

wValue and wIndex fields.

HIBYTE

refers to the Most Significant Byte. Here is an

example of its use:

wValue={

HIBYTE={

FormatValue=Cheese %d

}
LOBYTE={

FormatValue=, sliced %d

}

}

Here is sample output for the example when

wValue

equals

0x0102

:

Length

Use

Length

to represent the length, in bytes, of the data to be decoded. A numeric

value may be used:

Figure 10:

HIBYTE

and

LOBYTE

values displayed