Teledyne-lecroy USB File Based Decode Manual Uživatelský manuál Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 36
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
30
COMPUTER ACCESS TECHNOLOGY CORPORATION USB DESCRIPTOR DEFINITION (.DSC) FILES
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
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36

Komentáře k této Příručce

Žádné komentáře