aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation fixes.Dean Camera2011-10-301-10/+10
|
* XMEGA port improvements; connection and disconnection are now detected ↵Dean Camera2011-10-307-54/+146
| | | | correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices.
* Update XMEGA platform clock management example code to suit the currently ↵Dean Camera2011-10-252-12/+12
| | | | | | released silicon. Cleanups to the UC3 endpoint/pipe multi byte read code.
* When automatic PLL management mode is enabled on the U4 series AVR8 chips, ↵Dean Camera2011-10-121-1/+1
| | | | the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale).
* Prevent written but unused variable warnings on GCC 4.6 with dummy reads.Dean Camera2011-10-095-1/+25
|
* USB XMEGA support improvements; add DFLL clock platform support, ensure the ↵Dean Camera2011-10-071-2/+6
| | | | endpoint table is correctly aligned and configured in the USB controller.
* Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 ↵Dean Camera2011-10-071-1/+1
| | | | devices.
* Added endian-correction to the CDC driver's Line Encoding control request ↵Dean Camera2011-10-071-1/+1
| | | | handlers.
* Fix compile errors for the USB XMEGA parts when the USB driver is used.Dean Camera2011-10-042-6/+6
| | | | | | Add core support for the ATXMEGA64A1U. Minor documentation corrections.
* Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile ↵Dean Camera2011-09-282-1/+8
| | | | | | | | time option is used (thanks to Ian Woloschin). Small size improvement for Little Endian devices when USB host mode is used. Minor documentation fixes.
* Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions ↵Dean Camera2011-09-227-1/+18
| | | | | | declared with that meta-attribute are not discarded by the linker. Add missing function and definition documentation.
* Fix missing C++ linkage command in ArchitectureSpecific.h.Dean Camera2011-09-211-1/+1
| | | | Fix missing closing brace in an Endpoint function for the UC3 targets.
* Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq ↵Dean Camera2011-08-283-22/+12
| | | | module where it is used.
* Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean Camera2011-08-245-5/+6
| | | | | | | | | | function works on an endpoint address within the attached device, and not a Pipe within the host. Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons). Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage. Minor documentation corrections.
* Minor documentation fixes.Dean Camera2011-08-235-2/+11
| | | | Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
* Remove redundant calls to USB_USBTask() in the Mass Storage Device Class ↵Dean Camera2011-07-292-5/+5
| | | | | | 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.
* Add INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices.Dean Camera2011-07-252-6/+44
|
* Fixed USB_USBTask not being called internally in stream transfers between ↵Dean Camera2011-07-253-12/+12
| | | | | | packets when Partial Stream Transfers are used. Remove old unused function prototype in the LowLevel MassStorage device demo.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-197-70/+30
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Add support for the ORDERED_EP_CONFIG compile time token on the UC3 ↵Dean Camera2011-07-193-35/+90
| | | | architecture.
* Move out the EP_TYPE_* macros to the base USBController.h header, as these ↵Dean Camera2011-07-194-81/+28
| | | | are used in the device descriptors as well and thus must not be changed.
* More USB XMEGA porting for Endpoint control.Dean Camera2011-07-183-54/+94
|
* Add missing SVN eol-style property to files where it was missing.Dean Camera2011-07-1535-7472/+7472
|
* Add option to the USB XMEGAs to set the USB bus interrupt priority level.Dean Camera2011-07-152-5/+26
|
* Complete USB XMEGA interrupt control subsystem code in the core USB driver.Dean Camera2011-07-157-25/+158
| | | | | | Automatically load in the USB calibration bytes from the User Signature Row on start-up. Create internal SRAM variable for the endpoint control and status register table, used by the XMEGA USB controller hardware.
* Complete initial revision of the XMEGA Clock Management platform driver.Dean Camera2011-07-142-1/+6
| | | | Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
* Update UC3 platform driver support to use the bitmasks defined in the header ↵Dean Camera2011-07-141-4/+21
| | | | | | files over raw constants. Start implementation of XMEGA platform drivers.
* More XMEGA USB AVR device port work - re-add missing Endpoint stream ↵Dean Camera2011-07-143-11/+69
| | | | functions, remove unnecessary internal functions.
* Implementation of several key core USB driver functions for the new USB ↵Dean Camera2011-07-144-122/+124
| | | | XMEGA devices.
* Correct the maximum banks per endpoint information macros for the UC3A3 and ↵Dean Camera2011-07-141-7/+7
| | | | UC3A4 devices.
* Add support for triple endpoint/pipe bank AVR32 UC3 devices.Dean Camera2011-07-143-2/+24
|
* Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices.Dean Camera2011-07-141-1/+2
| | | | MultiArchDemos: Correct usage of updated INTC_RegisterGroupHandler() in the ported demos.
* Added Device Qualifier standard descriptor structure definitions ↵Dean Camera2011-07-141-0/+47
| | | | USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t.
* Add high speed USB support for the UC3 devices containing a high speed USB ↵Dean Camera2011-07-144-51/+83
| | | | | | controller. Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.
* Add start of an architecture port to the Atmel USB XMEGA devices.Dean Camera2011-07-1323-2/+2954
|
* Remove unneeded #include of Device.h in StdDescriptors.h breaking ↵Dean Camera2011-07-131-4/+0
| | | | compilation for some user projects.
* Fixed error in the pipe unordered allocation algorithm for the AVR8 devices ↵Dean Camera2011-07-122-12/+4
| | | | breaking compatibility with some devices.
* Add more missing function attributes to the TWI peripheral driver.Dean Camera2011-07-121-1/+1
| | | | Fix incorrect standard request name in the host standard request driver.
* Add missing function attributes.Dean Camera2011-07-126-6/+8
|
* Added new USB_Host_GetDeviceStatus() function for USB Host mode.Dean Camera2011-07-122-10/+37
|
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-112-0/+30
| | | | | | 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.
* Minor documentation and style fixes.Dean Camera2011-07-112-4/+4
|
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0827-449/+301
| | | | | | | | | | | | | | 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.
* Tighten up the implementations of the USB_Device_SetDeviceAddress(), ↵Dean Camera2011-07-064-61/+61
| | | | | | USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. Minor corrections to the documentation of the USB_Control_Request_t enum.
* Merge over core library changes from the MultiArchDemos branch.Dean Camera2011-06-292-2/+5
|
* Minor internal macro renaming for the UC3 devices.Dean Camera2011-06-205-12/+12
|
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-2017-5/+155
| | | | | | 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.
* Add macro guards to the templated C files to prevent compile errors if they ↵Dean Camera2011-06-148-2/+272
| | | | are mistakenly compiled as regular source files in a LUFA project.
* Fix compile errors when both Host and Device modes are enabled.Dean Camera2011-06-093-3/+3
|
* Pipe_BoundEndpointNumber() has been renamed to ↵Dean Camera2011-06-084-24/+14
| | | | | | 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.