
23
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
}
}
}
Nested Request Definitions
Request entries may be nested when two or more requests with different
bRequest values require the same decoding for wIndex, wValue, and Data.
This eliminates the need to format the definitions separately for each request;
instead, they may be combined into one Request entry.
Nested Request definitions follow this format:
Request(<bRequest_first>)=
{
Request(<bRequest_second>)=
{
...
Request(<bRequest_last>)=
{
<definitions>
}
}
...
}
Here is an example of a nested Request entry:
Request (0)=
{
Request (1)=
{
wValue=
{
WordValue=
{
10=First value
20=Second value
}
FormatValue=Value is %d
}
}
}
For a more detailed, complex example, please refer to Audio.req.
Comentários a estes Manuais