LUFA Library  120219
USB_ClassInfo_Audio_Device_t Struct Reference

Audio Class Device Mode Configuration and State Structure. More...

#include <AudioClassDevice.h>

Data Fields

struct {
   uint8_t   StreamingInterfaceNumber
   uint8_t   DataINEndpointNumber
   uint16_t   DataINEndpointSize
   uint8_t   DataOUTEndpointNumber
   uint16_t   DataOUTEndpointSize
Config
struct {
   bool   InterfaceEnabled
State

Detailed Description

Class state structure. An instance of this structure should be made for each Audio interface within the user application, and passed to each of the Audio class driver functions as the AudioInterfaceInfo parameter. This stores each Audio interface's configuration and state information.


Field Documentation

Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.

Endpoint number of the incoming Audio Streaming data, if available (zero if unused).

Size in bytes of the incoming Audio Streaming data endpoint, if available (zero if unused).

Endpoint number of the outgoing Audio Streaming data, if available (zero if unused).

Size in bytes of the outgoing Audio Streaming data endpoint, if available (zero if unused).

Set and cleared by the class driver to indicate if the host has enabled the streaming endpoints of the Audio Streaming interface.

State data for the USB class interface within the device. All elements in this section are reset to their defaults when the interface is enumerated.

Index of the Audio Streaming interface within the device this structure controls.


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