aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common
Commit message (Collapse)AuthorAgeFilesLines
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-1/+1
| | | | | | | | descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum.
* Minor documentation fixes.Dean Camera2011-05-081-2/+2
|
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-121-2/+2
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-102-51/+51
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Fix corner case in the HID report descriptor Mouse/Joystick tempates at the ↵Dean Camera2011-03-231-2/+2
| | | | 8/16 bit boundary.
* Add structure padding to the appropriate descriptor structures to maintain ↵Dean Camera2011-03-117-55/+55
| | | | | | correct alignments on larger architectures. Fix EVK1101 swapped joystick Right/Down masks.
* More Doxygen updates for multiple architecture support.Dean Camera2011-02-201-0/+1
|
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-209-18/+0
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-199-12/+11
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1910-10/+10
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-302-68/+73
| | | | | | | | 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-261-4/+4
| | | | | | 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.
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-161-2/+2
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-164-0/+831
| | | | | | | | 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.
* Oops - fix type preventing compilation of demos using the class drivers.Dean Camera2011-01-081-1/+1
|
* Minor documentation improvements.Dean Camera2011-01-087-26/+27
|
* 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-018-16/+16
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-268-8/+8
| | | | 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.
* Minor documentation improvements.Dean Camera2010-11-031-8/+8
|
* 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-289-9/+9
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-257-38/+155
| | | | | | | | 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-249-51/+82
| | | | | | 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-139-209/+218
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-122-16/+16
| | | | | | 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.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-282-47/+50
| | | | 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-287-302/+466
| | | | | | | | 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.
* Whitespace corrections.Dean Camera2010-09-093-40/+40
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-093-85/+444
| | | | naming.
* Clarify in the documentation that the Audio demos and driver is for the ↵Dean Camera2010-08-211-3/+3
| | | | 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)
* 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-301-1/+1
| | | | EN-GB spelling dictionary.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-5/+5
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-177-216/+220
| | | | Minor tweaks to the library documentation.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-031-1/+3
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-032-3/+3
|
* Minor documentation cleanups.Dean Camera2010-06-033-12/+12
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-089-1942/+1942
| | | | correctly converted to the target system's native end of line style.
* 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-061-0/+9
| | | | function to the Device and Host CDC Class drivers.