Formatvalue, wordvalue, and bitmap, Additional descriptor keywords – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual
Page 34

30
C
OMPUTER
A
CCESS
T
ECHNOLOGY
C
ORPORATION
USB D
ESCRIPTOR
D
EFINITION
(.
DSC
) F
ILES
Reference Manual
FormatValue
,
WordValue
, and
Bitmap
The structure of
FormatValue
,
WordValue
, and
Bitmap
entries is the same
as in a .req file. However, the output for all three is displayed in the Description
column of the descriptor information box. For example:
; Example1 description
Offset(2)={
FormatValue=This is the description for Example1
}
; Example2 description
Offset(4)={
WordValue={
0x00=This is the description for Example2
}
}
Additional Descriptor Keywords
In addition to the keywords used in the basic structure of a .dsc file, there are a few
more keywords specific to these files. They are described in this section.
BCD
Use
BCD
to set up decoding of a Binary-Coded Decimal. The only value for
BCD
is
TRUE
:
BCD=TRUE
Now, with
BCD
set to
TRUE
, two conversion specifications can be used in a
FormatValue
entry, so that both the first byte and the second byte of the Binary-
Coded Decimal can be displayed:
Figure 17:
FormatValue
,
WordValue
and
Bitmap
entries are displayed in
the Description column of the descriptor information box