aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Pseudo-port the host mode demos for possible later multi-arch support.Dean Camera2013-05-191-0/+2
|
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-5/+10
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-1/+1
| | | | trailing whitespace at the end of each line.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-081-160/+159
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-301-1/+1
| | | | name *_Disable().
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-1/+4
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-27/+28
| | | | tool made by Laszlo Monda
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-1/+2
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-300/+300
| | | | correctly converted to the target system's native end of line style.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-291-1/+1
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-20/+20
| | | | the Host mode Class Driver demos.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-251-0/+1
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* 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
|
* Make the StandaloneProgrammer project seamlessly read out drive contents ↵Dean Camera2009-11-241-1/+1
| | | | from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-131-2/+2
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-1/+1
|
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-071-0/+3
| | | | Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-311-3/+2
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-1/+3
| | | | | | 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).
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-271-1/+1
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-261-4/+8
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-261-1/+1
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-261-1/+53
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-261-2/+2
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-4/+1
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-131-0/+241
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-261-380/+0
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Copy over schedulerless host demos to ClassDrivers directory, for later ↵Dean Camera2009-06-091-0/+380
| | | | modification to new Host mode USB class drivers.
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-091-431/+0
| | | | | | 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.
* Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean Camera2009-06-051-0/+431