aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/MassStorage.h
Commit message (Collapse)AuthorAgeFilesLines
* 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".
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-301-2/+2
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Simplified Host mode Mass Storage Class driver to reduce compiled program size.Dean Camera2009-08-271-1/+2
|
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-271-1/+0
| | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.
* Minor documentation fixes to the completed Host mode Class drivers.Dean Camera2009-08-271-2/+6
|
* Completed initial Host mode Mass Storage class driver.Dean Camera2009-08-271-2/+55
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-261-2/+13
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-261-2/+3
| | | | 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-7/+28
| | | | | | | | 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-3/+134
| | | | | | 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 CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-131-0/+59
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Added module file dependancy information to the USB class drivers.Dean Camera2009-07-141-0/+4
|
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-151-1/+1
|
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-151-1/+2
| | | | other portions of the library.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+61
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.