aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host
Commit message (Collapse)AuthorAgeFilesLines
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-027-102/+122
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2817-17/+17
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic ↵Dean Camera2010-10-274-12/+24
| | | | | | flushing of interfaces when the USB management tasks for each driver is called. The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-261-2/+2
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2514-82/+39
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2416-84/+94
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1317-492/+509
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-128-49/+49
| | | | | | 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.
* Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID ↵Dean Camera2010-10-012-2/+2
| | | | | | interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
* Whitespace corrections.Dean Camera2010-10-018-65/+68
| | | | Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
* Make Host mode Class drivers only set the class driver instance's state ↵Dean Camera2010-09-307-138/+74
| | | | values once a compatible interface has been found within the device.
* Fix incorrectly named configuration descriptor callback routines in the host ↵Dean Camera2010-09-304-14/+20
| | | | | | mode class drivers. Fix typo in MIDI low level device demo.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-3014-308/+432
| | | | | | 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.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-287-14/+14
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-288-110/+107
| | | | | | | | 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.
* Added PRNT_Host_SendByte() and PRNT_Host_Flush() functions to the Host mode ↵Dean Camera2010-09-112-13/+95
| | | | | | Printer Class driver. Modified PRNT_Host_USBTask() to flush the output pipe on each call.
* Whitespace corrections.Dean Camera2010-09-091-1/+1
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-092-2/+2
| | | | naming.
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-072-13/+91
| | | | the Print Host Class driver.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-052-14/+16
| | | | | | | | 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.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-241-4/+4
| | | | printer with the correct printer interface wIndex value.
* Fixed USB_GetHIDReportItemInfo() function modifying the given report item's ↵Dean Camera2010-08-102-6/+8
| | | | data when the report item does not exist within the supplied report of a multiple report HID device.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-013-21/+15
| | | | | | | | | | | | | | a double read from the endpoint. Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full. Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread. Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value. Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received. Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-302-2/+2
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-302-18/+33
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-2/+2
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-2116-117/+228
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-198-9/+9
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-139-25/+27
| | | | were missing it.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-178-326/+326
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-164-8/+8
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Fix HID parser documentation for the default maximum report/path/etc. ↵Dean Camera2010-06-151-2/+2
| | | | elements so that it matches the current code values.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-157-65/+62
|
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-086-27/+35
| | | | driver functions.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-031-1/+1
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-031-1/+1
|
* Minor documentation cleanups.Dean Camera2010-06-038-29/+29
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-298-86/+86
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-0914-64/+65
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0817-5597/+5597
| | | | correctly converted to the target system's native end of line style.
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-062-2/+26
| | | | 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-061-6/+10
| | | | queried and the bank has become empty.
* 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.
* 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.
* 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.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-0/+4
| | | | | | | | 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-299-20/+78
|
* Add file-level brief documentation.Dean Camera2010-03-2910-6/+57
| | | | 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-251-5/+7
| | | | | | 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.