
3
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
Reference Manual
Defines=
{
<value>=<string>
}
The value should be set to the actual value, while string represents the name
of the unit. An example is found in the sample file Audio.req:
DEFINES={
0x01=TERMINAL_UNIT
0x05=TERMINAL_UNIT
0x09=TERMINAL_UNIT
0x0C=TERMINAL_UNIT
0x02=PROCESSING_UNIT
0x03=PROCESSING_UNIT
0x04=FEATURE_UNIT
0x06=FEATURE_UNIT
0x08=FEATURE_UNIT
0x0B=FEATURE_UNIT
0x07=MIXER_UNIT
0x0A=MIXER_UNIT
}
These units can now be referred to by name, instead of by number, in the request
definitions:
wIndex={
HIBYTE={
Depends(HIBYTE(wIndex))={
TERMINAL_UNIT={
FormatValue=Terminal ID 0x%02X
}
MIXER_UNIT={
FormatValue=Mixer Unit ID 0x%02X
}
SELECTOR_UNIT={
FormatValue=Selector Unit ID 0x%02X
}
FEATURE_UNIT={
FormatValue=Feature Unit 0x%02X
}
PROCESSING_UNIT={
FormatValue=Processing Unit ID 0x%02X
}
Komentáře k této Příručce