SAMV71 Xplained Ultra Software Package 1.3

Usbd_composite_cdcaud

Collaboration diagram for Usbd_composite_cdcaud:

Data Structures

struct  _AUDHeaderDescriptor1
struct  _AUDHeaderDescriptor2
struct  _AUDFeatureUnitDescriptor3
struct  _AUDDSpeakerAcDescriptors
struct  _AUDDSpeakerPhoneAcDescriptors
struct  _AUDFormatTypeOneDescriptor1
struct  _CdcAudspkdDriverConfigurationDescriptors
struct  _CdcAuddDriverConfigurationDescriptors

Modules

 CDC(Serial) + Audio(Speaker) Device Codes
 CDC(Serial) + Audio(Speaker) Endpoints
 USB CDC(Serial) + AUD(Speaker) Definitions

Functions

void CDCAUDDDriver_Initialize (const USBDDriverDescriptors *pDescriptors)
void CDCAUDDDriver_ConfigurationChangedHandler (uint8_t cfgnum)
void CDCAUDDDriver_InterfaceSettingChangedHandler (uint8_t interface, uint8_t setting)
void CDCAUDDDriver_RequestHandler (const USBGenericRequest *request)
struct _AUDHeaderDescriptor1 __attribute__ ((__packed__)) AUDHeaderDescriptor1

Variables

typedef __attribute__
 SBCTestUnitReady Data structure for the TEST UNIT READY command.

Function Documentation

struct _AUDHeaderDescriptor1 __attribute__ ( (__packed__)   ) 

Audio header descriptor with 1 interface

Audio header descriptor with 2 interface

Feature unit descriptor with 3 channel controls (master, right, left).

List of descriptors for detailing the audio control interface of a device using a USB audio speaker function.

List of descriptors for detailing the audio control interface of a device using a USB Audio Speakerphoneer function.

Format type I descriptor with one discrete sampling frequency.

Configuration descriptor list for a device implementing CDC(Serial) + Audio(Speaker) composite driver.

Configuration descriptor list for a device implementing CDC(Serial) + Audio(SpeakerPhone) composite driver.

void CDCAUDDDriver_ConfigurationChangedHandler ( uint8_t  cfgnum  ) 

Invoked whenever the configuration value of a device is changed by the host

Parameters:
cfgnum Configuration number.
void CDCAUDDDriver_Initialize ( const USBDDriverDescriptors pDescriptors  ) 

Initializes the USB device composite device driver.

void CDCAUDDDriver_InterfaceSettingChangedHandler ( uint8_t  interface,
uint8_t  setting 
)

Invoked whenever the active setting of an interface is changed by the host. Changes the status of the third LED accordingly.

Parameters:
interface Interface number.
setting Newly active setting.
void CDCAUDDDriver_RequestHandler ( const USBGenericRequest request  ) 

Handles composite-specific USB requests sent by the host, and forwards standard ones to the USB device driver.

Parameters:
request Pointer to a USBGenericRequest instance.

Variable Documentation

SBCTestUnitReady Data structure for the TEST UNIT READY command.

USB Device LPM Descriptor structure.

Audio header descriptor with 2 interface

Feature unit descriptor with 3 channel controls (master, right, left).

List of descriptors for detailing the audio control interface of a device using a USB audio speaker function.

List of descriptors for detailing the audio control interface of a device using a USB Audio Speakerphoneer function.

Format type I descriptor with one discrete sampling frequency.

Configuration descriptor list for a device implementing CDC(Serial) + Audio(Speaker) composite driver.

Configuration descriptor list for a device implementing CDC(Serial) + Audio(SpeakerPhone) composite driver.

USB CDC SerialState struct (bitmap)

List of descriptors for detailing the audio control interface of a device using a USB audio speaker driver.

HID Physical Descriptor set 0: specifies the number of additional descriptor sets.

HID Physical Descriptor

See also:
spc4r06.pdf - Section 6.34 - Table 192

The BOS descriptor and capabilities descriptors for LPM.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines