LUFA Library  151115
USB_Audio_Descriptor_FeatureUnit_t Struct Reference

Audio class-specific Feature Unit Descriptor (LUFA naming conventions). More...

#include <AudioClassCommon.h>

Data Fields

uint8_t ChannelControls [3]
 
uint8_t ControlSize
 
uint8_t FeatureUnitStrIndex
 
USB_Descriptor_Header_t Header
 
uint8_t SourceID
 
uint8_t Subtype
 
uint8_t UnitID
 

Detailed Description

Type define for an Audio class-specific Feature Unit descriptor. This indicates to the host what features are present in the device's audio stream for basic control, such as per-channel volume. See the USB Audio specification for more details.

See also
USB_Audio_StdDescriptor_FeatureUnit_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

uint8_t USB_Audio_Descriptor_FeatureUnit_t::ChannelControls[3]

Feature masks for the control channel, and each separate audio channel.

uint8_t USB_Audio_Descriptor_FeatureUnit_t::ControlSize

Size of each element in the ChannelControls array.

uint8_t USB_Audio_Descriptor_FeatureUnit_t::FeatureUnitStrIndex

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

USB_Descriptor_Header_t USB_Audio_Descriptor_FeatureUnit_t::Header

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

uint8_t USB_Audio_Descriptor_FeatureUnit_t::SourceID

Source ID value of the audio source input into this feature unit.

uint8_t USB_Audio_Descriptor_FeatureUnit_t::Subtype

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

uint8_t USB_Audio_Descriptor_FeatureUnit_t::UnitID

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


The documentation for this struct was generated from the following file: