aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Fix compile errors when compiling for the AVR32 UC3 target.Dean Camera2011-06-082-0/+2
|
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-058-9/+9
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-031-2/+2
| | | | | | | | | | | | 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.
* Spell check library source code files.Dean Camera2011-06-018-10/+10
|
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-304-6/+6
| | | | 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.
* Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-274-0/+60
|
* Fix incorrect macro guard in the UC3 EndpointStream header file.Dean Camera2011-05-261-2/+2
| | | | Fix incorrect project name in the Projects/ folder makefile.
* Copy out the EndpointStream and PipeStream functions to each architecture, ↵Dean Camera2011-05-2618-1061/+2548
| | | | so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available).
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-145-21/+54
| | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum.
* Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result ↵Dean Camera2011-04-255-17/+23
| | | | | | | | | | typecasting to the SWAPENDIAN_* macros. Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags). Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default. Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
* Fix reversed descriptions for the AVR8 USB pad regulator enable/disable ↵Dean Camera2011-04-202-3/+4
| | | | masks (thanks to Omar).
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-1210-6/+14
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-104-4/+4
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Move global interrupt enable/disable functions out to Common.h and document ↵Dean Camera2011-04-087-79/+13
| | | | them.
* Correct UC3 global interrupt functions.Dean Camera2011-04-083-4/+5
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-0811-56/+133
| | | | | | | | all architectures. Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture. Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.