aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
Commit message (Collapse)AuthorAgeFilesLines
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0877-19811/+19811
| | | | correctly converted to the target system's native end of line style.
* Device mode class driver callbacks are now fired before the control request ↵Dean Camera2010-05-075-20/+15
| | | | | | status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine.
* Change over unix line-endings to dos line endings.Dean Camera2010-05-071-1/+1
|
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-065-2/+56
| | | | function to the Device and Host CDC Class drivers.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-062-9/+18
| | | | queried and the bank has become empty.
* Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵Dean Camera2010-05-042-0/+4
| | | | interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
* Fixed Host mode HID class driver not sending the correct report type when ↵Dean Camera2010-05-041-1/+1
| | | | HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-042-23/+24
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-034-5/+27
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-292-31/+27
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-10/+4
| | | | the Host mode Class Driver demos.
* Oops - relocated USBInterrupt.h header file requires adjusted include paths ↵Dean Camera2010-04-281-3/+3
| | | | for the other USB driver header files.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-285-8/+7
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-4/+6
| | | | be done in the user application once all init code has run.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-202-4/+9
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-152-5/+5
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Fixed Set/Clear Feature requests directed to a non-configured endpoint not ↵Dean Camera2010-04-142-15/+15
| | | | | | returning a stall to the host. Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-1311-20/+59
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Add briefs for the library core structures.Dean Camera2010-03-2935-77/+312
|
* Add file-level brief documentation.Dean Camera2010-03-2950-17/+389
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-253-12/+14
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report ↵Dean Camera2010-03-241-1/+1
| | | | item data alignment.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-242-4/+4
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-5/+4
|
* Fix incorrect LED mask name in the Webserver project.Dean Camera2010-03-092-3/+5
| | | | Fix missing text from the Host Mode States enum documentation.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-2416-16/+16
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-2423-801/+346
|
* More AVR32 achitecture ports.Dean Camera2010-02-249-66/+87
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-2319-205/+407
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-2318-121/+353
|
* Turn OFF double banking in the Webserver demo - leaving it on seems to ↵Dean Camera2010-02-181-2/+1
| | | | destroy the system throughput.
* Fix HID Host Class driver sending incorrect ReportType values to the device ↵Dean Camera2010-02-141-2/+2
| | | | when issuing requests via the control pipe.
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1171-42/+302
| | | | to manually include private driver header files, instead of the public driver headers.
* Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean Camera2010-02-092-2/+4
| | | | | | | | report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-082-8/+16
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean Camera2010-02-071-0/+12
| | | | demos.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-071-12/+38
| | | | driver and Keyboard demos.
* Add documentation to the USB Class Drivers module on how to use the Host ↵Dean Camera2010-02-021-0/+109
| | | | mode class drivers.
* Replace the Webserver demo's uIP with the latest code ripped from the ↵Dean Camera2010-02-021-0/+109
| | | | Contiki project by Adam Dunkels.
* Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and ↵Dean Camera2010-02-011-2/+2
| | | | | | | | USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen). Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered. Copy over file level documentation of the peripheral drivers to the module level documentation.
* Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction ↵Dean Camera2010-02-015-6/+26
| | | | | | into account. Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
* Be doubly-certain that the incomming CDC class driver's endpoint/pipe is ↵Dean Camera2010-01-282-10/+26
| | | | flushed only once when the bank is empty.
* Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints ↵Dean Camera2010-01-254-115/+15
| | | | should use two seperate pipes, not one half-duplex pipe.
* Cleanup and partially fix AVRISP-MKII project's TPI programming support.Dean Camera2010-01-251-9/+34
|
* Clean up and add more comments to the AVRISP-MKII project. Make sure the ↵Dean Camera2010-01-171-3/+9
| | | | SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
* Fix incorrect preprocessor checks in the PLL prescaler mask determination ↵Dean Camera2010-01-161-2/+2
| | | | code for the ATMEGA32U2.
* Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllersDean Camera2010-01-151-2/+4
| | | | | | Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders Changed incomplete Webserver project over to using the uIP timer library.
* Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse ↵Dean Camera2010-01-121-0/+17
| | | | | | demo class driver structures. Added caveat information to the CDC device class driver.
* Fix XPLAIN Dataflash and LED drivers.Dean Camera2010-01-071-1/+1
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-056-11/+89
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.