main.c
Default mainpageusb-device-audio-speaker-projectmain.c
Description Overview
Methods Brief description
 main Starts the driver and waits for an audio input stream to forward to the SSC.
Defines  
 BUFFER_NUMBER Master clock frequency in Hz AT73C213 Master Clock selector Number of available audio buffers.
 DAC_DELAY Delay in ms for starting the DAC transmission after a frame has been received.
 SPI_CONFIGURATION SPI configuration value.
 STATE_IDLE Use for power management.
 STATE_RESUME The USB device is in resume state.
 STATE_SUSPEND The USB device is in suspend state.
Attributes  
 USBState State of USB, for suspend and resume.