LUFA Library  120219
USB_Audio_Descriptor_InputTerminal_t Struct Reference

Audio class-specific Input Terminal Descriptor (LUFA naming conventions). More...

#include <AudioClassCommon.h>

Data Fields

USB_Descriptor_Header_t Header
uint8_t Subtype
uint8_t TerminalID
uint16_t TerminalType
uint8_t AssociatedOutputTerminal
uint8_t TotalChannels
uint16_t ChannelConfig
uint8_t ChannelStrIndex
uint8_t TerminalStrIndex

Detailed Description

Type define for an Audio class-specific input terminal descriptor. This indicates to the host that the device contains an input audio source, either from a physical terminal on the device, or a logical terminal (for example, a USB endpoint). See the USB Audio specification for more details.

See also:
USB_Audio_StdDescriptor_InputTerminal_t for the version of this type with standard element names.
Note:
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

ID of associated output terminal, for physically grouped terminals such as the speaker and microphone of a phone handset.

CHANNEL_* masks indicating what channel layout is supported by this terminal.

Index of a string descriptor describing this channel within the device.

Regular descriptor header containing the descriptor's type and length.

Sub type value used to distinguish between audio class-specific descriptors, must be AUDIO_DSUBTYPE_CSInterface_InputTerminal.

ID value of this terminal unit - must be a unique value within the device.

Index of a string descriptor describing this descriptor within the device.

Type of terminal, a TERMINAL_* mask.

Total number of separate audio channels within this interface (right, left, etc.)


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines