aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MassStorage/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-4/+20
| | | | | | | | | | | | 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.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-201-0/+2
| | | | | | 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.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-3/+3
| | | | | | Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
* Minor correction to MagStripe demo to fix build problems.Dean Camera2009-06-291-9/+15
|
* Dataflash_WaitWhileBusy() now always ensures that the dataflash is ready for ↵Dean Camera2009-06-291-20/+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-22/+22
| | | | | | 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).
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-184-38/+38
| | | | 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.
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-151-0/+2
|
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-142-3/+5
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-055-0/+1122
re-add old low level demos to a LowLevel subdirectory.