aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-102-7/+7
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-302-2/+2
| | | | name *_Disable().
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-306-27/+122
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-304-73/+83
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-5/+11
| | | | into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-306-143/+175
| | | | | | | | | | | | ClassDriver demos to use it. Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
* Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-263-13/+17
| | | | | | Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used. Added new MAX() and MIN() convenience macros.
* Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and ↵Dean Camera2011-01-231-0/+153
| | | | HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
* Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in ↵Dean Camera2011-01-171-2/+3
| | | | | | the HID class driver (thanks to Joby Taffey). Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-32/+41
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* Fixed several functions in the Host mode Still Image Class driver returning ↵Dean Camera2011-01-161-4/+4
| | | | an error code from the incorrect error code enum (thanks to Daniel Seibert).
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-164-4/+3
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-167-180/+151
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.Dean Camera2011-01-161-2/+8
|
* Added new high level TWI packet read/write commands, altered behaviour of ↵Dean Camera2011-01-133-6/+6
| | | | | | the TWI_StartTransmission() function. Spell check source code files.
* Call USB_USBTask() in the Endpoint stream functions between packets if ↵Dean Camera2011-01-105-20/+6
| | | | INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1036-597/+944
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Oops - fix type preventing compilation of demos using the class drivers.Dean Camera2011-01-081-1/+1
|
* Minor documentation improvements.Dean Camera2011-01-0833-232/+237
|
* The FAST_STREAM_TRANSFERS compile time option has been removed due to lack ↵Dean Camera2011-01-084-160/+0
| | | | | | of use and low cost/benefit ratio. Add GCC_FORCE_POINTER_ACCESS() macro use to the RingBuffer library header, to attempt to force GCC into producing more efficient code for manipulating the buffers.
* Update Doxygen documentation configuration file for the main project ↵Dean Camera2011-01-031-1/+3
| | | | documentation to the latest version. Add missing data structure documentation briefs.