欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN295 参数 Datasheet PDF下载

AN295图片预览
型号: AN295
PDF下载: 下载PDF文件 查看货源
内容描述: USB音频类教程 [USB AUDIO CLASS TUTORIAL]
分类和应用: 光电二极管
文件页数/大小: 18 页 / 244 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号AN295的Datasheet PDF文件第5页浏览型号AN295的Datasheet PDF文件第6页浏览型号AN295的Datasheet PDF文件第7页浏览型号AN295的Datasheet PDF文件第8页浏览型号AN295的Datasheet PDF文件第10页浏览型号AN295的Datasheet PDF文件第11页浏览型号AN295的Datasheet PDF文件第12页浏览型号AN295的Datasheet PDF文件第13页  
AN295
4.1.5. Input Terminal Audio Class Descriptor
The next Descriptor, using the subclass tag Input Terminal, describes capabilities of the controls on the audio
stream.
0x0C,
0x24,
0x02,
0x01,
0x1007,
0x00,
0x02,
0x0300,
0x00,
0x00
0x01,
0x1007,
//
//
//
//
//
//
//
//
//
//
bLength (12)
bDescriptorType (CS_INTERFACE)
bDescriptorSubtype (INPUT_TERMINAL)
bTerminalID (1)
wTerminalType (radio receiver)
bAssocTerminal (none)
bNrChannels (2)
wChannelConfig (left, right)
iChannelNames (none)
iTerminal (none)
// bTerminalID (1)
// wTerminalType (radio receiver)
The host addresses this terminal using the value stored in this ID field.
This two-byte value defines the input terminal’s control according to definitions found in the document called “USB
Audio Terminal Types”.
0x00,
// bAssocTerminal (none)
Some terminals are associated with other terminals. For example, an input terminal could be a microphone, and its
associated output terminal could be the headset attached to that microphone. This example has only one input
terminal for the audio stream and no associated terminals.
0x02,
0x0300,
// bNrChannels (2)
// wChannelConfig (left, right)
These fields describe the number of “logical” channels in the audio channel cluster, and the spatial characteristics
of the audio channels. This stream will carry a stereo signal, with a left and a right channel of audio.
0x00,
0x00
// iChannelNames (none)
// iTerminal (none)
These fields are indexes to strings describing the name of the first logical audio channel of the stream and the
name of the terminal, respectively. This example does not define these strings.
4.1.6. Feature Unit Audio Class Descriptor
The next Descriptor describes the capabilities of a Feature Unit associated with the input terminal. A Feature unit
can control different aspects of an audio stream such as volume control, audio gain, and delay. The firmware
defines the Feature Unit as follows:
0x0D,
0x24,
0x06,
0x02,
0x01,
0x02,
0x0100,
0x0000,
0x0000,
0x00
0x02,
//
//
//
//
//
//
//
//
//
//
bLength (13)
bDescriptorType (CS_INTERFACE)
bDescriptorSubtype (FEATURE_UNIT)
bUnitID (2)
bSourceID (input terminal 1)
bControlSize (2 bytes)
Master controls
Channel 0 controls
Channel 1 controls
iFeature (none)
// bUnitID (2)
bUnitID
gives the unit a unique ID, and this value is chosen by the programmer.
Rev. 0.1
9