beautypg.com

Bitmap – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual

Page 15

background image

11

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB R

EQUEST

D

EFINITION

(.

REQ

) F

ILES

Reference Manual

Bitmap

Use

Bitmap

to define the decoding of bit data in a data field. The

Bitmap

defi-

nition also specifies the output of bit data in the decoding dialog window. The

Bitmap

entry allows each bit value to be identified by a text string in the decoded

data output.

Bitmap

entries are formatted as follows:

Bitmap=
{

<Bit#>=<string>
<Bit#>=<string>
...

}

This example is taken from the hub.req

GET_STATUS

definition.

Bytes(2,3)={

Endian=Little
Name=Port Change bits
Bitmap={

0=C_PORT_CONNECTION
1=C_PORT_ENABLE
2=C_PORT_SUSPEND
3=C_PORT_OVER_CURRENT
4=C_PORT_RESET

}

}

In the trace output, the decoded
data can be viewed by position-
ing the mouse cursor over the
Data field name. This action
causes the Data field's tool tip
window to be displayed. The
box contains details about the
data, including the decoded
bitmap information.

Figure 7: Data field pop-up information box