aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
AgeCommit message (Collapse)Author
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-30Fixed incorrect Dataflash buffer use in the ↵Dean
DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1900 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Minor documentation corrections.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1525 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Spell check all source files once again to find any typos.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1420 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Add missing const qualifiers to class drivers.Dean
Indent core library function parameters so that there is only one parameter per line, to increase readability. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1398 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean
demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@863 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-22Move Dataflash operational checking code out from SCSI.c into the ↵Dean
DataflashManager.c in the Device mode Mass Storage demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@840 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Changed over manual loops waiting for endpoints to be ready to use the ↵Dean
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@721 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-20Change Doxygen configuration files to not produce 4096 directories for the ↵Dean
documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@668 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-29Minor correction to MagStripe demo to fix build problems.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@638 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-29Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean
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%. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@637 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-28Added const modifiers to device mode class drivers.Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@636 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-18Break device mode class driver interfaces into seperate config and state ↵Dean
structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@609 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-15More Doxygen fixes - ensure no undocumented function parameters.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@597 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-05Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean
re-add old low level demos to a LowLevel subdirectory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@572 d5102386-fcda-11dd-9fdb-3debd5008f28