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

  • 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 25
22
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
MaxPacketSize
Use MaxPacketSize to assign the actual MaxPacketSize value for an endpoint.
Please refer to EndpointData={...} in the hub.req sample file for a complete
example.
MaxPacketSize=2
MaxTransferSize
Use MaxTransferSize to assign the actual MaxTransferSize value for an
endpoint. Please refer to EndpointData={...} in the hub.req sample file for a
complete example.
MaxTransferSize=2
Example
This example is taken from the Bluetooth.req sample file:
EndpointData={
; Global definitions
Caption=Bluetooth ACL or SCO Data Packet
EndpointType=Bulk
EndpointId=2
MaxPacketSize=64
MaxTransferSize=3573
;*** Field Definitions start here ********
Data={
Length=?
Bytes(0,1)={
Name=Connection Handle & Flags
FormatValue= 0x%04X
}
Bytes(2,3)={
Name=DataTotalLength
FormatValue= %d
}
Bytes(4,?)={
FormatValue=ACL or SCO Data
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 35 36

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

Žádné komentáře