aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Incomplete/Sideshow/Sideshow.c
Commit message (Collapse)AuthorAgeFilesLines
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-1/+1
| | | | | | | | | | | | 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-11/+11
| | | | 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.
* Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-131-1/+1
| | | | functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
* Conversion of old incomplete SideShow demo to new APIs.Dean Camera2009-06-051-114/+50
|
* Add new Incomplete device subdirectory for work-in-progress demos. Add ↵Dean Camera2009-06-051-0/+221
incomplete SideShow demo.