
6
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
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.
Komentáře k této Příručce