aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel
Commit message (Collapse)AuthorAgeFilesLines
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1322-265/+282
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-121-1/+2
| | | | | | interface was not configured. Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-121-2/+2
| | | | | | | | Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
* Fixed random enumeration failure while in device mode due to interrupts ↵Dean Camera2010-10-121-29/+28
| | | | causing the Set Address request to exceed maximum timings.
* Cache the USB_DeviceState variable internally in the library core when ↵Dean Camera2010-10-062-16/+21
| | | | multiple checks are required in a single loop iteration, to reduce compiled code size.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-301-1/+1
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Changed default value for the reset polarity parameter in the AVRISP-MKII ↵Dean Camera2010-09-291-1/+4
| | | | | | project so that it defaults to active low drive. Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-281-1/+3
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Rename internal suspend and wake up USB interrupt macros so that they follow ↵Dean Camera2010-09-191-2/+0
| | | | the same naming scheme as the other USB ISR macros.
* Ensure device address latch bit is not set at the same time as the new ↵Dean Camera2010-09-191-2/+2
| | | | | | | | address, as per datasheet. Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
* Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to ↵Dean Camera2010-09-151-10/+0
| | | | USB_Init() now defaults the controller into UID selection mode.
* Fix incorrect documentation on the Get Descriptor standard request.Dean Camera2010-09-151-4/+6
|
* Fixed SET FEATURE and CLEAR FEATURE control requests directed at an ↵Dean Camera2010-09-132-13/+13
| | | | unconfigured endpoint causing request timeouts.
* Minor documentation phrasing changes.Dean Camera2010-09-121-5/+5
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-091-14/+14
| | | | naming.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-051-0/+18
| | | | | | | | functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
* Clarify in the project documentation files what the each of the different ↵Dean Camera2010-08-311-4/+4
| | | | USB AVR device "series" comprises of.
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-241-2/+2
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Split out endpoint and pipe stream functions into new EndpointStream.c/.h ↵Dean Camera2010-08-228-0/+1510
| | | | and PipeStream.c/.h files.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-302-3/+3
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-1/+1
|
* Add missing const qualifiers to class drivers.Dean Camera2010-07-214-9/+14
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-2110-9/+872
| | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
* Add missing const qualifier to the parameters of the ↵Dean Camera2010-07-213-208/+198
| | | | | | USB_GetNextDescriptorComp() function. Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-174-48/+48
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-162-6/+6
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Minor documentation cleanups.Dean Camera2010-06-032-3/+3
|
* Oops - descriptor pointer should be assigned, not incremented with the new ↵Dean Camera2010-06-021-1/+1
| | | | type-safe code.
* Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean Camera2010-06-021-16/+4
| | | | C++ compatibility (thanks to Michael Hennebry).
* Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵Dean Camera2010-05-312-50/+61
| | | | function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast.
* Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean Camera2010-05-302-10/+8
| | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-301-1/+4
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-292-18/+18
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0810-2216/+2216
| | | | correctly converted to the target system's native end of line style.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-282-346/+0
| | | | LowLevel directory as it is hardware-dependent.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-133-1/+13
| | | | | | | | 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-292-15/+45
|
* Add file-level brief documentation.Dean Camera2010-03-298-5/+87
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-2/+1
| | | | | | | | 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.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-248-8/+8
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-249-126/+55
|
* More AVR32 achitecture ports.Dean Camera2010-02-243-21/+30
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-238-33/+61
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-236-11/+45
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1112-9/+49
| | | | to manually include private driver header files, instead of the public driver headers.
* 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.
* 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 XPLAIN Dataflash and LED drivers.Dean Camera2010-01-071-1/+1
|
* Update copyright year to 2010.Dean Camera2009-12-3012-24/+24
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2812-84/+84
|