aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/MassStorage.h
Commit message (Collapse)AuthorAgeFilesLines
* Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean Camera2011-11-181-341/+0
| | | | driver source filenames to prevent ambiguities.
* Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions ↵Dean Camera2011-09-221-0/+1
| | | | | | declared with that meta-attribute are not discarded by the linker. Add missing function and definition documentation.
* Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq ↵Dean Camera2011-08-281-1/+2
| | | | module where it is used.
* Add missing function attributes.Dean Camera2011-07-121-5/+7
|
* Remove warnings in the documentation for the library class drivers about ↵Dean Camera2011-06-081-4/+0
| | | | sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-1/+1
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-4/+0
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Minor documentation improvements.Dean Camera2011-01-081-2/+2
|
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-261-1/+1
| | | | fix incorrect and missing section names.
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-021-0/+1
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* 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.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-251-11/+1
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-241-7/+8
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-22/+23
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-121-14/+14
| | | | | | interface was not configured. Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-301-16/+16
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-281-2/+2
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-15/+26
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-191-1/+1
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-171-58/+58
| | | | Minor tweaks to the library documentation.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-12/+12
|
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-081-6/+8
| | | | driver functions.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-031-1/+1
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-031-1/+1
|
* Minor documentation cleanups.Dean Camera2010-06-031-3/+3
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-23/+23
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-091-2/+2
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-339/+339
| | | | correctly converted to the target system's native end of line style.
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-151-2/+2
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Add briefs for the library core structures.Dean Camera2010-03-291-2/+8
|
* Add file-level brief documentation.Dean Camera2010-03-291-0/+7
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-1/+6
| | | | to manually include private driver header files, instead of the public driver headers.
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-051-8/+13
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-041-0/+18
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* 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
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-091-1/+1
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-041-0/+4
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-63/+0
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-171-8/+13
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* 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-5/+8
| | | | 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.
* Added new Printer Host mode Class driver.Dean Camera2009-11-041-4/+4
| | | | | | Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
* Add const attribute to class driver APIs.Dean Camera2009-11-031-9/+9
| | | | Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
* Fixed PrinterHost demo returning invalid Device ID data when the attached ↵Dean Camera2009-09-281-1/+1
| | | | device does not have a device ID (thanks to Andrei Krainev).
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-211-18/+20
| | | | Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-1/+1
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-0/+1
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-021-4/+4
| | | | | | Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".