- 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.
-
- 29 Jun, 2011 1 commit
-
-
Dean Camera authored
-
- 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.
-
- 19 Feb, 2011 1 commit
-
-
Dean Camera authored
Initial restructuring of the core USB driver module to support multiple architectures in the future.
-
- 26 Jan, 2011 1 commit
-
-
Dean Camera authored
Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used. Added new MAX() and MIN() convenience macros.
-
- 10 Jan, 2011 1 commit
-
-
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
-
- 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.
-
- 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
-
- 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.
-
- 24 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() callback function causing broken GET REPORT requests. Minor whitespace fixes.
-
- 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.
-
- 15 Jul, 2010 1 commit
-
-
Dean Camera authored
Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
-
- 09 May, 2010 1 commit
-
-
Dean Camera authored
Add new ReportType parameter to the HID class driver device callback and 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.
-
- 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.
-
- 07 May, 2010 1 commit
-
-
Dean Camera authored
Device mode class driver callbacks are now fired before the control request status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine.
-
- 20 Apr, 2010 1 commit
-
-
Dean Camera authored
Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
-
- 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.
-
- 04 Jan, 2010 1 commit
-
-
Dean Camera authored
Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 23 Nov, 2009 1 commit
-
-
Dean Camera authored
Added new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
-
- 06 Nov, 2009 2 commits
-
-
Dean Camera authored
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
-
Dean Camera authored
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
-
- 26 Oct, 2009 2 commits
-
-
Dean Camera authored
Make HID device class driver ignore the previous HID report comparison buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
-
Dean Camera authored
-
- 27 Aug, 2009 2 commits
-
-
Dean Camera authored
Fixed Device mode HID Class driver not explicitly initializing the ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent.
-
Dean Camera authored
-
- 11 Aug, 2009 1 commit
-
-
Dean Camera authored
SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
-
- 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.
-
- 02 Aug, 2009 1 commit
-
-
Dean Camera authored
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
-
- 31 Jul, 2009 1 commit
-
-
Dean Camera authored
Fix demos based on the device mode HID class driver, as well as the driver itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).
-
- 30 Jul, 2009 3 commits
-
-
Dean Camera authored
Add new HID_Device_MillisecondElapsed() function to the HID device Class driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
-
Dean Camera authored
Ensure that the previous HID reports in the HID device class driver are kept per-instance, rather than per-device.
-
Dean Camera authored
Fix to HID device mode Class driver, so that new reports are compared against the old, and updated reports made within the idle period are sent immediately to the host.
-
- 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 2 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 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.
-
- 16 Jul, 2009 1 commit
-
-
Dean Camera authored
Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
-