#include <USBRequests.h>
#include <USBDescriptors.h>
#include <AUDDescriptors.h>
#include "USBD.h"
#include <USBD_HAL.h>
#include <USBDDriver.h>
Go to the source code of this file.
Definition of a USB Audio Speakerphone Driver with two playback channels and one record channel.
Definition in file AUDDSpeakerPhoneDriver.h.
unsigned char bInterface0 |
Id of the first grouped interface - Speaker.
Definition at line 179 of file AUDDSpeakerPhoneDriver.h.
unsigned char bInterface1 |
Id of the second grouped interface - Speakerphone.
Definition at line 181 of file AUDDSpeakerPhoneDriver.h.
unsigned char bmaControls[3] |
Available controls for each channel.
Definition at line 194 of file AUDDSpeakerPhoneDriver.h.
USBConfigurationDescriptor configuration |
Standard configuration.
Definition at line 271 of file AUDDSpeakerPhoneDriver.h.
USBInterfaceDescriptor control |
Audio control interface.
Definition at line 273 of file AUDDSpeakerPhoneDriver.h.
AUDDSpeakerPhoneDriverAudioControlDescriptors controlDescriptors |
Descriptors for the audio control interface.
Definition at line 275 of file AUDDSpeakerPhoneDriver.h.
AUDFeatureUnitDescriptor feature |
Feature unit descriptor.
Definition at line 192 of file AUDDSpeakerPhoneDriver.h.
AUDFeatureUnitDescriptor3 featureRec |
Feature unit descriptor - SpeakerPhonephone.
Definition at line 228 of file AUDDSpeakerPhoneDriver.h.
AUDFeatureUnitDescriptor3 featureSpeakerPhone |
Feature unit descriptor - SpeakerPhone.
Definition at line 222 of file AUDDSpeakerPhoneDriver.h.
AUDFormatTypeOneDescriptor formatType |
Format type I descriptor.
Definition at line 229 of file AUDDSpeakerPhoneDriver.h.
AUDHeaderDescriptor2 header |
Header descriptor.
Header descriptor (with one slave interface).
Definition at line 177 of file AUDDSpeakerPhoneDriver.h.
unsigned char iFeature |
Index of a string descriptor for the feature unit.
Definition at line 196 of file AUDDSpeakerPhoneDriver.h.
AUDInputTerminalDescriptor inputRec |
Input terminal descriptor.
Definition at line 224 of file AUDDSpeakerPhoneDriver.h.
AUDInputTerminalDescriptor inputSpeakerPhone |
Input terminal descriptor.
Definition at line 218 of file AUDDSpeakerPhoneDriver.h.
AUDOutputTerminalDescriptor outputRec |
Output terminal descriptor.
Definition at line 226 of file AUDDSpeakerPhoneDriver.h.
AUDOutputTerminalDescriptor outputSpeakerPhone |
Output terminal descriptor.
Definition at line 220 of file AUDDSpeakerPhoneDriver.h.
USBInterfaceDescriptor streamingIn |
Streaming in interface descriptor.
Definition at line 293 of file AUDDSpeakerPhoneDriver.h.
AUDStreamingInterfaceDescriptor streamingInClass |
Audio class descriptor for the streaming in interface.
Definition at line 295 of file AUDDSpeakerPhoneDriver.h.
AUDDataEndpointDescriptor streamingInDataEndpoint |
Audio class descriptor for the streaming in endpoint.
Definition at line 301 of file AUDDSpeakerPhoneDriver.h.
AUDEndpointDescriptor streamingInEndpoint |
Streaming in endpoint descriptor.
Definition at line 299 of file AUDDSpeakerPhoneDriver.h.
AUDFormatTypeOneDescriptor1 streamingInFormatType |
Stream format descriptor.
Definition at line 297 of file AUDDSpeakerPhoneDriver.h.
USBInterfaceDescriptor streamingInNoIsochronous |
Streaming in interface descriptor (with no endpoint, required).
Definition at line 291 of file AUDDSpeakerPhoneDriver.h.
USBInterfaceDescriptor streamingOut |
Streaming out interface descriptor.
Definition at line 280 of file AUDDSpeakerPhoneDriver.h.
AUDStreamingInterfaceDescriptor streamingOutClass |
Audio class descriptor for the streaming out interface.
Definition at line 282 of file AUDDSpeakerPhoneDriver.h.
AUDDataEndpointDescriptor streamingOutDataEndpoint |
Audio class descriptor for the streaming out endpoint.
Definition at line 288 of file AUDDSpeakerPhoneDriver.h.
AUDEndpointDescriptor streamingOutEndpoint |
Streaming out endpoint descriptor.
Definition at line 286 of file AUDDSpeakerPhoneDriver.h.
AUDFormatTypeOneDescriptor1 streamingOutFormatType |
Stream format descriptor.
Definition at line 284 of file AUDDSpeakerPhoneDriver.h.
USBInterfaceDescriptor streamingOutNoIsochronous |
Streaming out interface descriptor (with no endpoint, required).
Definition at line 278 of file AUDDSpeakerPhoneDriver.h.
unsigned char tSamFreq[3] |
Sampling frequency in Hz.
Definition at line 231 of file AUDDSpeakerPhoneDriver.h.