aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
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).
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-281-13/+232
|
* Move RNDISConstants.h into the RNDIS class driver common definition header.Dean Camera2010-10-288-130/+135
| | | | Add logical grouping of related #define values for better Doxygen documentation.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2846-46/+46
| | | | 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-278-24/+44
| | | | | | 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-2521-120/+194
| | | | | | | | 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-2445-220/+249
| | | | | | 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.
* Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and ↵Dean Camera2010-10-131-3/+3
| | | | changed it to return the maximum number of supported banks for the given endpoint.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1346-1046/+1091
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-1214-78/+78
| | | | | | 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-3020-308/+456
| | | | | | 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.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-305-72/+151
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-2810-62/+65
| | | | 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-2820-432/+593
| | | | | | | | 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.
* Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() ↵Dean Camera2010-09-241-2/+3
| | | | | | callback function causing broken GET REPORT requests. Minor whitespace fixes.
* 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-094-41/+41
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-095-87/+446
| | | | 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.
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-225-31/+16
| | | | control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
* Moved calls to Device mode Class Driver events to after the request has been ↵Dean Camera2010-08-222-8/+11
| | | | | | acknowledged, so that long event handlers do do skew the timing of the control requests. Fixed USBtoSerial and Benito project SetLineEncoding calls failing if the USART is busy, due to the RX ISR delaying the control request handler.
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-213-7/+7
| | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification.
* Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵Dean Camera2010-08-201-0/+5
| | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
* 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-015-32/+27
| | | | | | | | | | | | | | 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.
* Oops - fix mixed "initialize" and "initialise" - opt for American spelling ↵Dean Camera2010-07-301-1/+1
| | | | due to its wide use in technical standards.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-304-4/+4
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-304-37/+60
| | | | | | 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-262-7/+7
| | | | | | 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-2123-155/+294
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint ↵Dean Camera2010-07-201-1/+1
| | | | to become ready (thanks to Robin Green).
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-1922-29/+29
| | | | 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.
* Fixed HID device class driver still using PrevReportINBuffer for GetReport ↵Dean Camera2010-07-151-1/+1
| | | | control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-1316-41/+43
| | | | were missing it.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-1721-686/+690
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-166-12/+12
| | | | 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-1510-97/+94
|
* Slight improvements to the reliability of the software UART in the ↵Dean Camera2010-06-121-1/+1
| | | | XPLAINBridge project.
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-0810-45/+63
| | | | driver functions.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-032-2/+4
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-034-16/+16
|
* Minor documentation cleanups.Dean Camera2010-06-0316-52/+52
|