aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/StillImageHost/StillImageHost.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
|
* Pseudo-port the host mode demos for possible later multi-arch support.Dean Camera2013-05-191-3/+4
|
* 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.
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Fixed port state table corruption in the TCP layer of the RNDIS Ethernet ↵Dean Camera2011-10-091-1/+1
| | | | | | device demos. Fix additional warnings under GCC 4.6.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-081-203/+185
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-301-1/+1
| | | | name *_Disable().
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-1/+4
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* 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-6/+6
| | | | | | 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-40/+41
| | | | tool made by Laszlo Monda
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-3/+6
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-375/+375
| | | | 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.
* Add file-level brief documentation.Dean Camera2010-03-291-5/+5
| | | | 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-1/+0
| | | | | | 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.
* 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
|
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* 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".
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-10/+10
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-5/+5
| | | | | | | | 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-8/+3
| | | | | | | | | | | | 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.
* Fix unfinished printer host demo - some printer languages use embedded NULLs ↵Dean Camera2009-07-201-1/+1
| | | | and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device.
* Added error codes to most StillImageHost demo commands.Dean Camera2009-07-201-10/+10
|
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-191-14/+14
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-131-5/+16
| | | | | | non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-4/+4
| | | | | | 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).
* Added new USB_Host_SetDeviceConfiguration() convenience function. Change ↵Dean Camera2009-06-161-29/+16
| | | | over Low Level host demos to use the new routine.
* Converted Host mode demos to schedulerless. Fixed host mode broken due to ↵Dean Camera2009-06-081-81/+29
| | | | earlier Start-of-frame event experiments.
* Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean Camera2009-06-051-0/+434