aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/AudioOutput/AudioOutput.c
Commit message (Collapse)AuthorAgeFilesLines
* Make both LowLevel and ClassDriver AudioOutput demos always output to board ↵Dean Camera2009-08-021-11/+9
| | | | LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode.
* Fix incorrect configuration in the ClassDriver AudioOutput demo.Dean Camera2009-07-301-5/+5
| | | | | | Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs). Make LEDs more responsive in the AudioOutput device demos.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-0/+2
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Make LowLevel AudioOutput demo work in the same way as the ClassDriver ↵Dean Camera2009-07-281-23/+12
| | | | AudioOutput demo for LEDs output.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-281-7/+7
| | | | | | where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-4/+2
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-0/+4
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* Some minor whitespace corrections.Dean Camera2009-06-111-1/+1
|
* Error status LEDs shown when device endpoint configuration fails to complete.Dean Camera2009-06-081-5/+8
| | | | MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.
* Converted device mode low-level demos to schedulerless.Dean Camera2009-06-071-68/+30
|
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-051-0/+291
re-add old low level demos to a LowLevel subdirectory.