aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB
AgeCommit message (Collapse)Author
2011-09-21Add LUFA-111009-BETA tag.LUFA-111009-BETADean
git-svn-id: http://lufa-lib.googlecode.com/svn/tags/LUFA-111009-BETA@1929 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Update UC3 platform driver support to use the bitmasks defined in the header ↵Dean
files over raw constants. Start implementation of XMEGA platform drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1880 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14More XMEGA USB AVR device port work - re-add missing Endpoint stream ↵Dean
functions, remove unnecessary internal functions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1879 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Implementation of several key core USB driver functions for the new USB ↵Dean
XMEGA devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1878 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Correct the maximum banks per endpoint information macros for the UC3A3 and ↵Dean
UC3A4 devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1877 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Add support for triple endpoint/pipe bank AVR32 UC3 devices.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1876 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices.Dean
MultiArchDemos: Correct usage of updated INTC_RegisterGroupHandler() in the ported demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1875 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Added Device Qualifier standard descriptor structure definitions ↵Dean
USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1874 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-14Add high speed USB support for the UC3 devices containing a high speed USB ↵Dean
controller. Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1873 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-13Add start of an architecture port to the Atmel USB XMEGA devices.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1869 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-13Remove unneeded #include of Device.h in StdDescriptors.h breaking ↵Dean
compilation for some user projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1868 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Minor documentation fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1865 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Fixed error in the pipe unordered allocation algorithm for the AVR8 devices ↵Dean
breaking compatibility with some devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1864 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Add more missing function attributes to the TWI peripheral driver.Dean
Fix incorrect standard request name in the host standard request driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1863 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Add missing function attributes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1862 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Added new USB_Host_GetDeviceStatus() function for USB Host mode.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1861 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11More endianness porting of the LUFA host mode class drivers.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1859 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11More endianness porting of the LUFA device mode class drivers.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1858 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11Minor documentation and style fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1854 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-08Updated all host mode demos and projects to use the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1850 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-06Tighten up the implementations of the USB_Device_SetDeviceAddress(), ↵Dean
USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. Minor corrections to the documentation of the USB_Control_Request_t enum. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1848 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-05Fix HID_Host_SetIdlePeriod() function to send the correct request type to ↵Dean
the device, remove reference to unavailable (and not needed) local variable. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1844 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-04Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1843 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-04Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1842 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-04Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1840 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-29Merge over core library changes from the MultiArchDemos branch.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1831 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Minor internal macro renaming for the UC3 devices.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1819 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean
disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s. Add C++ compatibility to some header files currently missing extern "C" linkage. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1818 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Make the HID Report Parser Get/Set Report Item routines fail if a NULL ↵Dean
pointer to a report item is given. Minor visual enhancement to the HIDReportViewer project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1814 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-19Code style fixes for the Device mode USB Audio Class driver to make it more ↵Dean
in line with the style of the other library Device Class drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1811 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-16Add missing SVN eol-style properties to source files to prevent mixed ↵Dean
end-of-line characters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1805 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-16Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean
they contain the USB mode (Device or Host) in the function names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1803 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-14Add macro guards to the templated C files to prevent compile errors if they ↵Dean
are mistakenly compiled as regular source files in a LUFA project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1801 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-14Rename Audio Host Class driver internal descriptor matching routines to be ↵Dean
in line with the rest of the class driver function names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1800 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-13Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean
within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1799 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-12Fix bugs in the Host mode Audio class driver.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1798 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Fix errors in the library Host mode Audio Class driver.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1797 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Fix compile errors when both Host and Device modes are enabled.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1796 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Add new Audio Class Driver Host demos.Dean
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device. Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1794 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Pipe_BoundEndpointNumber() has been renamed to ↵Dean
Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address. Add Audio_GetSetEndpointProperty() function to the Host mode Audio class driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1793 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Remove warnings in the documentation for the library class drivers about ↵Dean
sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1792 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Added new Host mode Audio Class driver.Dean
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1791 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Fix compile errors when compiling for the AVR32 UC3 target.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1790 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-07Fix errors in the Audio device demos and class driver regarding multiple ↵Dean
sample frequency support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1787 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-03Added new callback to the Audio Class driver to allow for endpoint control ↵Dean
manipulations such as data sample rates. Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1779 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean
ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1776 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Added new incomplete AudioOutputHost Host LowLevel demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1775 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean
that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1774 d5102386-fcda-11dd-9fdb-3debd5008f28