aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage/MassStorage.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: Update copyrights to 2019.Dean Camera2019-01-081-2/+2
|
* Update copyrights for 2018.Dean Camera2018-01-041-2/+2
|
* Update copyrights for 2017.Dean Camera2017-04-181-2/+2
|
* Update copyrights to 2016.Dean Camera2016-01-311-2/+2
|
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Update board Dataflash_Init() functions to automatically configure the ↵Dean Camera2013-06-121-1/+0
| | | | appropriate communication interface.
* Port the device mode demos to the XMEGA architecture where applicable.Dean Camera2013-05-191-0/+12
|
* Minor documentation improvements.Dean Camera2013-03-181-1/+1
|
* 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-13/+11
|
* Added Dataflash operational checks and aborts to all projects using the ↵Dean Camera2012-03-091-0/+7
| | | | Dataflash to ensure it is working correctly before use.
* 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/+2
| | | | trailing whitespace at the end of each line.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-041-1/+1
| | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
* Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean Camera2011-03-051-2/+2
| | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-34/+29
| | | | | | | | | | 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).
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-4/+4
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* 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.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-241-13/+13
| | | | | | 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-23/+24
| | | | tool made by Laszlo Monda
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-221-4/+2
| | | | control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-16/+9
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-291-1/+1
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Add TMC header read and write functions, so that TMC data can now be ↵Dean Camera2010-07-281-34/+26
| | | | | | exchanged in both directions. Minor update to the LowLevel MassStorage device demo, so that the ReadInCommandBlock() performs the data OUT endpoint selection and packet arrival test.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-336/+336
| | | | correctly converted to the target system's native end of line style.
* 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.
* Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked ↵Dean Camera2010-03-191-2/+2
| | | | endpoints.
* 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
|
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-151-16/+18
| | | | driver.
* Application documentation/comment cleanup.Dean Camera2009-10-081-2/+2
|
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-021-3/+3
|
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-231-1/+2
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-4/+4
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-56/+52
| | | | | | | | | | | | 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.
* Add extra tests to the MassStorage device demo and class driver for ↵Dean Camera2009-07-211-0/+2
| | | | validating command blocks from the host.
* 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.
* Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset ↵Dean Camera2009-06-231-3/+3
| | | | is issued while not processing a command.
* Changed per-device controller preprocessor checks over to per-device series ↵Dean Camera2009-06-141-4/+4
| | | | | | for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
* Error status LEDs shown when device endpoint configuration fails to complete.Dean Camera2009-06-081-8/+14
| | | | MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.
* Converted device mode low-level demos to schedulerless.Dean Camera2009-06-071-65/+23
|
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-051-0/+370
re-add old low level demos to a LowLevel subdirectory.