aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
Commit message (Collapse)AuthorAgeFilesLines
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1931-31/+31
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* 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-304-135/+167
| | | | | | | | | | | | 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-262-8/+12
| | | | | | 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-163-4/+2
|
* 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 high level TWI packet read/write commands, altered behaviour of ↵Dean Camera2011-01-131-3/+3
| | | | | | the TWI_StartTransmission() function. Spell check source code files.
* Call USB_USBTask() in the Endpoint stream functions between packets if ↵Dean Camera2011-01-101-12/+0
| | | | 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-1025-125/+72
| | | | | | | | | | 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-0821-86/+88
|
* 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.
* Update copyright year on all source files.Dean Camera2011-01-0145-90/+90
|
* Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function ↵Dean Camera2010-12-311-1/+1
| | | | (thanks to WZab).
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2630-30/+30
| | | | fix incorrect and missing section names.
* Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID ↵Dean Camera2010-12-131-2/+3
| | | | | | class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
* Fixed HID hpst class driver incorrectly binding to HID devices that do not ↵Dean Camera2010-12-021-1/+4
| | | | have an OUT endpoint.
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-0218-65/+240
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-056-6/+6
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Minor documentation improvements.Dean Camera2010-11-032-24/+24
|
* Fixed MIDI class driver send routines silently discarding packets if the ↵Dean Camera2010-11-032-18/+12
| | | | endpoint or pipe is busy (thanks to Robin Green).
* 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.