- 09 Nov, 2011 1 commit
-
-
Dean Camera authored
Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
-
- 05 Sep, 2011 1 commit
-
-
Dean Camera authored
Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
-
- 29 Jul, 2011 1 commit
-
-
Dean Camera authored
Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks. Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
-
- 11 Jul, 2011 1 commit
-
-
Dean Camera authored
Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
-
- 04 Apr, 2011 1 commit
-
-
Dean Camera authored
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and 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.
-
- 05 Mar, 2011 1 commit
-
-
Dean Camera authored
Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
-
- 19 Feb, 2011 1 commit
-
-
Dean Camera authored
Initial restructuring of the core USB driver module to support multiple architectures in the future.
-
- 10 Jan, 2011 2 commits
-
-
Dean Camera authored
Call USB_USBTask() in the Endpoint stream functions between packets if INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
-
Dean Camera authored
Altered all endpoint/pipe stream transfers so that the new BytesProcessed 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).
-
- 01 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 02 Dec, 2010 1 commit
-
-
Dean Camera authored
Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
-
- 28 Oct, 2010 1 commit
-
-
Dean Camera authored
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
-
- 27 Oct, 2010 1 commit
-
-
Dean Camera authored
Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic flushing of interfaces when the USB management tasks for each driver is called. The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
-
- 24 Oct, 2010 1 commit
-
-
Dean Camera authored
All USB class drivers are now automatically included when LUFA/Drivers/USB.h 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.
-
- 13 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 30 Sep, 2010 1 commit
-
-
Dean Camera authored
Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction 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.
-
- 28 Sep, 2010 1 commit
-
-
Dean Camera authored
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.
-
- 22 Aug, 2010 1 commit
-
-
Dean Camera authored
Changed all Device mode LowLevel demos and Device Class drivers so that the 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.
-
- 08 May, 2010 1 commit
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 15 Nov, 2009 1 commit
-
-
Dean Camera authored
-
- 09 Nov, 2009 1 commit
-
-
Dean Camera authored
Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed. Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
-
- 06 Nov, 2009 1 commit
-
-
Dean Camera authored
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
-
- 05 Aug, 2009 1 commit
-
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode 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.
-
- 27 Jul, 2009 1 commit
-
-
Dean Camera authored
State information for class drivers is now zeroed out during enumeration (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
-
- 21 Jul, 2009 3 commits
-
-
Dean Camera authored
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.
-
Dean Camera authored
Add extra tests to the MassStorage device demo and class driver for validating command blocks from the host.
-
Dean Camera authored
Add explicit guards to all device mode tasks to ensure the device is connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
-
- 28 Jun, 2009 1 commit
-
-
Dean Camera authored
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).
-
- 26 Jun, 2009 1 commit
-
-
Dean Camera authored
-
- 23 Jun, 2009 1 commit
-
-
Dean Camera authored
Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.
-
- 18 Jun, 2009 1 commit
-
-
Dean Camera authored
Break device mode class driver interfaces into seperate config and state structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
-
- 14 Jun, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 11 Jun, 2009 1 commit
-
-
Dean Camera authored
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.
-
- 04 Jun, 2009 1 commit
-
-
Dean Camera authored
Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
-
- 01 Jun, 2009 1 commit
-
-
Dean Camera authored
Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
-