aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3
Commit message (Collapse)AuthorAgeFilesLines
* Complete USB XMEGA interrupt control subsystem code in the core USB driver.Dean Camera2011-07-151-6/+6
| | | | | | 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.
* 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.
* Add high speed USB support for the UC3 devices containing a high speed USB ↵Dean Camera2011-07-143-29/+60
| | | | | | controller. Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.
* Add missing function attributes.Dean Camera2011-07-122-1/+2
|
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0810-174/+31
| | | | | | | | | | | | | | 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-061-21/+21
| | | | | | USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. Minor corrections to the documentation of the USB_Control_Request_t enum.
* Minor internal macro renaming for the UC3 devices.Dean Camera2011-06-204-6/+6
|
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-201-0/+10
| | | | | | 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-144-1/+136
| | | | 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-091-1/+1
|
* Pipe_BoundEndpointNumber() has been renamed to ↵Dean Camera2011-06-082-12/+7
| | | | | | 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-052-2/+2
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Spell check library source code files.Dean Camera2011-06-013-4/+4
|
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-302-3/+3
| | | | 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-272-0/+30
|
* 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-268-0/+1388
| | | | 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-141-7/+16
| | | | | | | | 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-254-6/+8
| | | | | | | | | | 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).
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-124-2/+6
| | | | | | 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-083-41/+6
| | | | them.
* Correct UC3 global interrupt functions.Dean Camera2011-04-082-3/+4
| | | | | | 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-086-27/+72
| | | | | | | | 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.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-042-114/+112
| | | | | | 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.
* Add in new architecture attribute defines to selectively remove the EEPROM ↵Dean Camera2011-03-211-0/+4
| | | | 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-211-2/+2
| | | | architecture ports.
* Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating ↵Dean Camera2011-03-152-7/+3
| | | | | | when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
* 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-131-11/+11
|
* Add experimental support for the AVR32 UC3A4 microcontrollers.Dean Camera2011-03-132-11/+48
| | | | Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.
* Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.Dean Camera2011-03-132-0/+777
|
* Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.Dean Camera2011-03-1310-0/+3395