aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host
Commit message (Collapse)AuthorAgeFilesLines
* Add return codes to the CDC Host Class driver String/Byte transmission ↵Dean Camera2009-08-314-10/+23
| | | | functions.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-302-8/+8
| | | | 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-308-20/+211
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement ↵Dean Camera2009-08-304-210/+0
| | | | in next release.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-3/+5
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class ↵Dean Camera2009-08-271-2/+5
| | | | driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces.
* Simplified Host mode Mass Storage Class driver to reduce compiled program size.Dean Camera2009-08-272-102/+47
|
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-271-2/+2
|
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-271-1/+0
| | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.
* Minor documentation fixes to the completed Host mode Class drivers.Dean Camera2009-08-273-6/+12
|
* Completed initial Host mode Mass Storage class driver.Dean Camera2009-08-272-10/+271
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-262-13/+137
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-262-3/+46
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-262-12/+47
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-264-30/+349
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-134-5/+161
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Added flag to the HID report parser to indicate if a device has multiple ↵Dean Camera2009-08-112-11/+20
| | | | | | | | | | reports. 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.
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-111-0/+10
| | | | Minor documentation fixes.
* Document CDC Host class driver functions and enums.Dean Camera2009-08-111-0/+60
|
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-18/+51
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-113-47/+47
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Completion of initial CDC host mode class driver.Dean Camera2009-08-111-5/+28
| | | | Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-114-2/+132
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Commit for 090810rc1 release.Dean Camera2009-08-056-1/+17
|
* Fixed report data alignment issues in the MouseHostWithParser demo when X ↵Dean Camera2009-07-281-0/+2
| | | | | | and Y movement data size is not a multiple of 8 bits. Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-272-0/+4
| | | | (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.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-271-2/+7
| | | | single if statement within the new host mode class driver demos for clarity.
* Change Host mode class driver Pipe configuration routines -- better to let ↵Dean Camera2009-07-274-42/+18
| | | | the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
* Add new MouseHost Class Driver demo, unfinished, to allow for better testing ↵Dean Camera2009-07-274-19/+169
| | | | of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
* Corrected new Pipe_IsEndpointBound() function.Dean Camera2009-07-262-29/+12
| | | | Completed host CDC class driver enumeration code.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-1/+1
| | | | | | 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.
* Added module file dependancy information to the USB class drivers.Dean Camera2009-07-147-0/+29
|
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-131-2/+2
| | | | | | 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-7/+7
| | | | | | 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).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-261-55/+44
| | | | name where appropriate.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-261-0/+2
| | | | | | | | 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.
* Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting ↵Dean Camera2009-06-231-6/+0
| | | | infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
* Added USE_INTERNAL_SERIAL compile time option to automatically read out the ↵Dean Camera2009-06-202-15/+37
| | | | internal unique serial number as the device's serial number descriptor on supported AVR models.
* Extend USB_GetDeviceConfigDescriptor() routine to require the configuration ↵Dean Camera2009-06-191-2/+2
| | | | number within the device to fetch, to add support for multi-configuration devices.
* Re-add in simple scheduler for compatibility with legacy code, mark all ↵Dean Camera2009-06-192-27/+58
| | | | scheduler related files as deprecated.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-182-29/+28
| | | | 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.
* Fixed broken HIDReportParser.c.Dean Camera2009-06-151-1/+3
|
* More Doxygen fixes - ensure no undocumented function parameters.Dean Camera2009-06-153-2/+33
|
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-157-16/+35
| | | | other portions of the library.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-1413-0/+788
| | | | | | 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.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-013-0/+729
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.