LUFA Library  120219
USB_Audio_StdDescriptor_FeatureUnit_t Struct Reference

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

#include <AudioClassCommon.h>

Data Fields

uint8_t bLength
uint8_t bDescriptorType
uint8_t bDescriptorSubtype
uint8_t bUnitID
uint8_t bSourceID
uint8_t bControlSize
uint8_t bmaControls [3]
uint8_t iFeature

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_Descriptor_FeatureUnit_t for the version of this type with non-standard LUFA specific element names.
Note:
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

Size of each element in the ChannelControls array.

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

Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.

Size of the descriptor, in bytes.

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

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

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

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


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