Teledyne-lecroy USB File Based Decode Manual Bedienungsanleitung Seite 20

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 36
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 19
16
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
if the bmRequestType value is 0x01, the WordValue definition is used to
decode the request; on the other hand, if the value is 0x02, then the
FormatValue definition is used.
Default Branches
A default branch can be added to the Depends(...) definition:
wIndex=
{
Depends(bmRequestType)=
{
0x01=
{
FormatValue=Interface # %i status requested
}
FormatValue=Undefined bmRequestType, wIndex is
0x%02X
}
}
If the value of bmRequestType is 0x01, then the first FormatValue defini-
tion is applied. Otherwise, it defaults to the second FormatValue definition. The
default definition must be last in the list.
Mask Values
Use a bitwise & (AND) mask construct within Depends(...) to mask a value:
wValue=
{
Depends(wValue&0xFF00)=
{
0x0100=
{
WordValue=
{
0x01=One
}
}
0x0200=
{
FormatValue=Two %d
}
Seitenansicht 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 35 36

Kommentare zu diesen Handbüchern

Keine Kommentare