aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
Commit message (Collapse)AuthorAgeFilesLines
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-523/+523
| | | | correctly converted to the target system's native end of line style.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-221-0/+33
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* 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-281-10/+10
| | | | | | 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-051-0/+477
re-add old low level demos to a LowLevel subdirectory.