aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/LowLevel/StillImageHost/Lib
AgeCommit message (Collapse)Author
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-24Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean
function works on an endpoint address within the attached device, and not a Pipe within the host. Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons). Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage. Minor documentation corrections. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1914 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-10Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1628 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-24All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1537 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-30Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean
on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1502 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-09-05Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean
functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1463 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-18Add const keyword to the demo function parameters where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1212 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-09Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean
(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.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@957 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-25Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@921 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-11-25Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean
macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@917 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Application documentation/comment cleanup.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@862 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-02Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean
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". git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@809 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-09-01Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean
waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@803 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-20Remove ClearPipeStall routine from the StillImageHost demo, as there is now ↵Dean
a version of the function built into the library itself. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@662 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-20Added error codes to most StillImageHost demo commands.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@659 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-28Added const modifiers to device mode class drivers.Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@636 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-08Converted Host mode demos to schedulerless. Fixed host mode broken due to ↵Dean
earlier Start-of-frame event experiments. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@580 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-05Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@576 d5102386-fcda-11dd-9fdb-3debd5008f28