aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Oops - fix misnamed function call in Pipe_Discard_Stream().Dean Camera2011-04-041-1/+1
|
* Oops - fix incorrect variable name in the updated Pipe_Write_8() function.Dean Camera2011-04-041-1/+1
|
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-048-270/+268
| | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
* Conditionally add available address spaces to the address space enum, for ↵Dean Camera2011-04-041-0/+4
| | | | | | | | multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates.
* Ensure the library builds cleanly in device mode for architectures lacking ↵Dean Camera2011-03-271-11/+20
| | | | multiple address spaces.
* Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean Camera2011-03-218-144/+207
| | | | and FLASH memory space functions on architectures which do not have seperate memory address spaces.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-213-8/+7
| | | | architecture ports.
* Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin ↵Dean Camera2011-03-161-2/+5
| | | | Degelsegger).
* Added new VirtualSerialMassStorage Device Class Driver demo.Dean Camera2011-03-161-1/+2
|
* Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating ↵Dean Camera2011-03-154-10/+5
| | | | | | when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
* Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB ↵Dean Camera2011-03-152-14/+35
| | | | AVRs when automatic PLL mode is specified.
* Oops - fix internal serial number extraction routine for the AVR8 architecture.Dean Camera2011-03-141-1/+1
|
* Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.Dean Camera2011-03-142-13/+39
|
* Simplify the internal serial extraction routines for each architecture.Dean Camera2011-03-133-23/+24
|
* Add experimental support for the AVR32 UC3A4 microcontrollers.Dean Camera2011-03-136-29/+72
| | | | Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.