aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
Commit message (Collapse)AuthorAgeFilesLines
* 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-0415-288/+286
| | | | | | 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.
* Fix corner case in the HID report descriptor Mouse/Joystick tempates at the ↵Dean Camera2011-03-231-2/+2
| | | | 8/16 bit boundary.
* 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
|
* Remove redundant Doxygen guards from the internal preprocessor definitions.Dean Camera2011-03-151-3/+1
|
* 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.
* 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-1318-886/+109
|
* Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 ↵Dean Camera2011-03-134-22/+72
| | | | microcontrollers.
* Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte ↵Dean Camera2011-03-114-75/+75
| | | | at a time to prevent data alignment issues.
* Add structure padding to the appropriate descriptor structures to maintain ↵Dean Camera2011-03-119-70/+70
| | | | | | correct alignments on larger architectures. Fix EVK1101 swapped joystick Right/Down masks.
* Fix UC3B architecture compile errors and ensure the architecture can be ↵Dean Camera2011-03-052-7/+7
| | | | compiled with no special makefile tokens defined.
* Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean Camera2011-03-052-2/+3
| | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
* Add software FIFOs to the UC3B pipe control interfaces, to match the ↵Dean Camera2011-03-056-89/+72
| | | | endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines.
* Porting updates for the UC3B architecture - get UC3B partially enumerating ↵Dean Camera2011-03-0511-149/+124
| | | | using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
* Fixed Still Image Host class driver exiting the descriptor search routine ↵Dean Camera2011-03-032-1/+3
| | | | | | prematurely if the data pipes (but not event pipe) is found. Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
* Add in USB_INT_RegisterHandlers() internal function to register the ↵Dean Camera2011-02-284-29/+42
| | | | | | interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet. Add in temporary global interrupts enable/disable macros.
* Add code to start the USBB Generic Clock from the user-specified master ↵Dean Camera2011-02-272-0/+32
| | | | clock source (OSCx or PLLx) in the AVR32 UC3B core USB driver.
* Oops - ensure that only the relevant/available interrupts are defined and ↵Dean Camera2011-02-2717-56/+144
| | | | | | used on each architecture. Make all USB driver headers include USBMode.h first, to ensure that the relevant USB mode macros are defined.
* Changed over the AVR8 USB controller interrupt management macros to be ↵Dean Camera2011-02-276-83/+304
| | | | inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.
* General cleanup and more port work to the AVR32 UC3B.Dean Camera2011-02-279-79/+34
|
* Fix USB Host mode compile errors for the UC3B architecture.Dean Camera2011-02-273-47/+52
|
* Move out common architecture-independent core definitions into the ↵Dean Camera2011-02-2715-370/+216
| | | | appropriate core dispatch header files.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-2713-126/+309
| | | | sucessfully compiled, although they will be currently non-functional.
* Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically ↵Dean Camera2011-02-268-371/+171
| | | | | | cleared when Pipe_ClearError() is called. More UC3B architecture porting.
* More UC3B architecture port updates.Dean Camera2011-02-267-219/+21
|
* Fix incorrect Doxygen grouping in the incomplete AVR32 UC3B architecture port.Dean Camera2011-02-202-59/+59
|
* Make sure the peripheral driver .c files include the driver dispatch header, ↵Dean Camera2011-02-203-4/+4
| | | | rather than the architecture specific header files.
* Rename architecture specific driver files, to make them appear with uniquely ↵Dean Camera2011-02-2034-32/+32
| | | | identifying filenames in the documentation.
* Added start of a port of the core USB driver code to the AVR32 UC3B ↵Dean Camera2011-02-2023-40/+4624
| | | | architecture.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-207-33/+39
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* More Doxygen updates for multiple architecture support.Dean Camera2011-02-2010-11/+26
|
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-2037-176/+117
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-1972-337/+826
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1945-53/+53
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Reduced latency for executing the Start-Of-Frame events (if enabled in the ↵Dean Camera2011-02-191-14/+14
| | | | user application).
* Add more const-ness to the stream endpoint/pipe functions where possible.Dean Camera2011-02-136-34/+34
|