aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common
Commit message (Collapse)AuthorAgeFilesLines
* Remove potentially unaligned uint32_t access in HIDParser.c, replace with ↵Dean Camera2012-02-201-3/+4
| | | | standard C bit shifts.
* Minor documentation improvements.Dean Camera2012-02-111-2/+2
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-0412-12/+12
|
* Update file header copyrights for 2012.Dean Camera2012-02-0412-12/+12
|
* Minor documentation improvements.Dean Camera2012-02-012-2/+2
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-2310-28/+30
| | | | trailing whitespace at the end of each line.
* Don't validate the Device Descriptor's vendor ID when validating that a ↵Dean Camera2011-12-141-3/+0
| | | | device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values.
* Oops - fix incorrect value of AOA_CSCP_AOADataSubclass in the Android Open ↵Dean Camera2011-11-241-1/+1
| | | | Accessory class driver.
* Convert the LowLevel AndroidAccessory demo to use the new class driver ↵Dean Camera2011-11-241-1/+6
| | | | | | constants to reduce code duplication. Add missing Doxygen documentation.
* Add new Android Open Accessory class driver to the library core and add a ↵Dean Camera2011-11-241-0/+125
| | | | new Android Open Accessory Host ClassDriver demo.
* Add XMEGA compile time tokens to the LUFAConfig.h code template.Dean Camera2011-11-231-2/+1
| | | | | | Add additional compile time errors to the XMEGA and AVR8 architectures if multiple USE_*_DESCRIPTORS compile time tokens are enabled. Add support for the NO_INTERNAL_SERIAL compile time token on the XMEGA targets.
* Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean Camera2011-11-189-3/+3
| | | | driver source filenames to prevent ambiguities.
* Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver ↵Dean Camera2011-11-161-8/+8
| | | | (thanks to Laszlo Monda).
* Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions ↵Dean Camera2011-09-221-0/+3
| | | | | | declared with that meta-attribute are not discarded by the linker. Add missing function and definition documentation.
* Fixed HID Parser's largest report size bit count not including the size of ↵Dean Camera2011-09-171-2/+1
| | | | | | the last parsed report item. Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
* Fixed optimization error in the HID Parser item value ↵Dean Camera2011-09-072-12/+14
| | | | | | USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API). Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer.
* Add multiple axis support to the HID joystick report in the ↵Dean Camera2011-08-231-20/+22
| | | | HID_DESCRIPTOR_JOYSTICK() macro.
* Minor documentation fixes.Dean Camera2011-07-122-9/+9
|
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-117-12/+100
| | | | | | Add endianness information to the class driver and core structure definitions. Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-201-0/+10
| | | | | | disabled, and a USE_*_DESCRIPTORS compile time option was not enabled on the AVR8s. Add C++ compatibility to some header files currently missing extern "C" linkage.
* Make the HID Report Parser Get/Set Report Item routines fail if a NULL ↵Dean Camera2011-06-201-0/+6
| | | | | | pointer to a report item is given. Minor visual enhancement to the HIDReportViewer project.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-052-3/+3
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-031-13/+32
| | | | | | | | | | | | manipulations such as data sample rates. Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes.
* Spell check library source code files.Dean Camera2011-06-012-6/+6
|
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-301-11/+16
| | | | that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-291-2/+18
| | | | | | Added missing Audio class control request definitions. Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
* Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean Camera2011-05-181-10/+13
| | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
* 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.