Teledyne-lecroy USB File Based Decode Manual Instrukcja Użytkownika Strona 19

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 36
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 18
15
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
Depends(...)
Use Depends(...) to create a definition that displays a a field or a set of fields
in different ways, depending on certain conditions. It works similarly to a C
language switch statement. The basic structure of a Depends(...) definition
is this:
Depends(<keyword>[&<mask value>]
opt
)=
{
<value>=
{
...
}
...
[<keyword>= ...]
opt
}
Keywords
Keywords that can be used inside the parentheses of a Depends(...) definition
are: bmRequestType, Databytes(m,n), wIndex, and wValue. The value
to which the keyword refers is the condition that the decoding depends upon.
Possible values, along with their corresponding decoding definitions, are listed
within the curly braces on the right-hand side of the Depends(...) entry. In this
example,
wValue=
{
Depends(bmRequestType)=
{
0x01=
{
WordValue=
{
0x0000=One
}
}
0x02=
{
FormatValue=Two %d
}
}
}
Przeglądanie stron 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 35 36

Komentarze do niniejszej Instrukcji

Brak uwag