- Jul 26, 2009
-
-
Dean Camera authored
Completed host CDC class driver enumeration code.
-
- Jul 21, 2009
-
-
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.
-
- Jul 16, 2009
-
-
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.
-
- Jul 15, 2009
-
-
Dean Camera authored
Fix HID class device driver -- if a SetIDle request is issued with the LSB of wValue set to zero, the idle period must be set for all HID interfaces. Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman). Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
-
- Jul 14, 2009
-
-
Dean Camera authored
-
- Jul 13, 2009
-
-
Dean Camera authored
Added new HOST_STATE_WaitForDeviceRemoval host state machine state for 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.
-
- Jun 28, 2009
-
-
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).
-
- Jun 26, 2009
-
-
Dean Camera authored
-
Dean Camera authored
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
-
- Jun 23, 2009
-
-
Dean Camera authored
Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.
-
Dean Camera authored
Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
-
- Jun 20, 2009
-
-
Dean Camera authored
Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.
-
- Jun 19, 2009
-
-
Dean Camera authored
-
Dean Camera authored
Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.
-
Dean Camera authored
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.
-
- Jun 18, 2009
-
-
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.
-
- Jun 16, 2009
-
-
Dean Camera authored
Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
-
- Jun 15, 2009
-
-
Dean Camera authored
Remove ConfigDescriptor.c/.h files from the ClassDriver Host demos, as they will be obsoleted when the Host mode class drivers are complete. Add new StillImage stub class driver common header.
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Enhanced class drivers to use the same public/private section seperations as other portions of the library.
-
- Jun 14, 2009
-
-
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.
-
- Jun 11, 2009
-
-
Dean Camera authored
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.
-
- Jun 09, 2009
-
-
Dean Camera authored
Deleted Host ClassDriver demos -- not yet started, faster to rebase new ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
-
- Jun 08, 2009
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
- Jun 05, 2009
-
-
Dean Camera authored
-
Dean Camera authored
Added multiple Report ID support to the HID class driver. Removed OUT endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
-
- Jun 04, 2009
-
-
Dean Camera authored
Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface structure as a parameter. Converted TestApp demo over to the new demo structure. More class driver documentation improvements.
-
Dean Camera authored
Added Doxygen documentation to the Audio class driver. Added new modules for each of the new device class drivers to the library documentation.
-
Dean Camera authored
Ensure all USB device class drivers have the same three main functions as their interface for consistency.
-
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.
-
- Jun 02, 2009
-
-
Dean Camera authored
Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
-
- Jun 01, 2009
-
-
Dean Camera authored
Add MIDI class driver, update MIDI device demo to use the new USB class driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.
-
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.
-
- May 22, 2009
-
-
Dean Camera authored
Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs.
-
- May 18, 2009
-
-
Dean Camera authored
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
-