aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-221-2/+4
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-223-29/+38
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean Camera2009-08-191-2/+2
| | | | Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages.
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-051-20/+8
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-5/+21
| | | | | | | | | | | | 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.
* Minor correction to MagStripe demo to fix build problems.Dean Camera2009-06-291-8/+14
|
* Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean Camera2009-06-291-26/+29
| | | | | | | | the next command immediately after returning, no need to call Dataflash_ToggleSelectedChipCS() afterwards. Added new DATAFLASH_CHIP_MASK() macro to the Dataflash driver, which returns the Dataflash select mask for the given chip index. Updated MassStorage device block write routines to use ping-pong Dataflash buffering to increase throughput by around 30%.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-283-14/+14
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-055-0/+1136
re-add old low level demos to a LowLevel subdirectory.