aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/StillImage.c
Commit message (Collapse)AuthorAgeFilesLines
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-191-1/+2
| | | | architectures in the future.
* Fixed several functions in the Host mode Still Image Class driver returning ↵Dean Camera2011-01-161-4/+4
| | | | an error code from the incorrect error code enum (thanks to Daniel Seibert).
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-7/+7
| | | | | | | | | | 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
|
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-021-10/+38
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-021-12/+14
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* 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-4/+4
| | | | | | | | 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-16/+16
| | | | | | 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-44/+45
| | | | tool made by Laszlo Monda
* Whitespace corrections.Dean Camera2010-10-011-5/+5
| | | | Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
* Make Host mode Class drivers only set the class driver instance's state ↵Dean Camera2010-09-301-19/+13
| | | | values once a compatible interface has been found within the device.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-301-41/+64
| | | | | | 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.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-52/+52
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-051-9/+9
| | | | | | | | 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.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-9/+19
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-131-1/+1
| | | | were missing it.
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-091-4/+4
| | | | | | 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-413/+413
| | | | correctly converted to the target system's native end of line style.
* Add file-level brief documentation.Dean Camera2010-03-291-1/+2
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-251-5/+7
| | | | | | 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.
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-1/+3
| | | | 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-5/+0
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* 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
|
* The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still ↵Dean Camera2009-12-161-2/+2
| | | | Image Host Class driver functions are now public.
* Fix a bug in the Still Image Host Class driver where the returned block ↵Dean Camera2009-12-151-2/+0
| | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-261-3/+24
| | | | | | | | Class Driver demo. Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-3/+3
|
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-071-4/+4
| | | | 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.
* Add const attribute to class driver APIs.Dean Camera2009-11-031-2/+2
| | | | 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.
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-211-14/+14
| | | | 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.
* Finish Still Image Host class driver.Dean Camera2009-09-091-12/+22
|
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-061-14/+38
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-021-11/+78
| | | | | | 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 documentation for the constants and enums of the new StillImage Host ↵Dean Camera2009-09-011-0/+2
| | | | Class driver added to the library so far.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-011-3/+146
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-301-6/+6
| | | | Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-301-0/+109
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Commit for 090810rc1 release.Dean Camera2009-08-051-0/+3
|
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+36
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.