beautypg.com

Endpointdata, Request definitions – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual

Page 10

background image

6

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB R

EQUEST

D

EFINITION

(.

REQ

) F

ILES

Reference Manual

Request(<bRequest>)=
{

...

}

The

bRequest

value should match the numeric value assigned to the request in

the

AllRequests

entry. For example:

Request(0x00)=
{

...

}

Request(0x01)=
{

...

}

EndpointData

EndpointData

defines endpoint data decoding.

The basic structure for an

EndpointData

definition is

EndpointData=
{

[Caption=<string>]

opt

[EndpointType=<string>]

opt

[EndpointDirection=IN or OUT]

opt

[EndpointId=<value>]

opt

MaxPacketSize=<integer>
MaxTransferSize=<integer>

Data=
{

...

}

}

For more information about

EndpointData

definitions, please see page 20.

Request definitions

The bulk of a .req file is composed of

Request

entries, which are the actual

request definitions. This section describes the contents and formatting of a

Request

entry.