aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MassStorageHost/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-272-247/+202
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-2/+6
| | | | | | | | | | | | 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.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-282-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).
* MassStorageHost demo now retrieves Inquiry data from the device during ↵Dean Camera2009-06-232-0/+102
| | | | enumeration, and prints the device's Vendor and Product IDs.
* Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset ↵Dean Camera2009-06-231-0/+1
| | | | is issued while not processing a command.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-182-26/+2
| | | | | | | | | | condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-092-6/+12
| | | | | | ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
* Converted Host mode demos to schedulerless. Fixed host mode broken due to ↵Dean Camera2009-06-081-2/+2
| | | | earlier Start-of-frame event experiments.
* Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean Camera2009-06-053-0/+945