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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 36
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 11
8
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
0x0003=PORT_OVER_CURRENT (Should not clear this
feature!)
0x0004=PORT_RESET (Should not clear this feature!)
0x0008=PORT_POWER
0x0009=PORT_LOW_SPEED (Should not clear this
feature!)
0x0010=C_PORT_CONNECTION
0x0011=C_PORT_ENABLE
0x0012=C_PORT_SUSPEND
0x0013=C_PORT_OVER_CURRENT
0x0014=C_PORT_RESET
}
FormatValue
Use FormatValue to specify the output formatting of numeric values. A string
can be included in the decoding definition, too. This entry can also be used to
specify default behaviors. Formatting is controlled using standard C language
printf format conversion characters. The structure of FormatValue is
FormatValue=<string>
The conversion specification is contained within the string. The following example
is taken from the wIndex definition for SET_FEATURE in the hub.req file:
0x23={
FormatValue=Port # %I
}
Here is an example of possible output:
By changing the FormatValue definition as follows,
FormatValue=Cheese (0x%03x)
Figure 2: Resulting trace output when wValue
for hub.req's SET_FEATURE is 0x0008
Figure 3: Resulting trace output for a FormatValue
definition
Przeglądanie stron 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 35 36

Komentarze do niniejszej Instrukcji

Brak uwag