aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
Commit message (Collapse)AuthorAgeFilesLines
* Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean Camera2011-11-1845-45/+45
| | | | 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).
* Fixed race conditions in the CDC, HID and Mass Storage class drivers when ↵Dean Camera2011-11-093-1/+12
| | | | processing some control requests.
* Fixed CDC class drivers not saving and sending all 16-bits of the control ↵Dean Camera2011-10-262-14/+14
| | | | line states (thanks to Matthew Swabey).
* Added endian-correction to the CDC driver's Line Encoding control request ↵Dean Camera2011-10-071-4/+12
| | | | handlers.
* Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions ↵Dean Camera2011-09-223-0/+5
| | | | | | 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-172-3/+2
| | | | | | 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.
* Oops - restore conditional calls to USB_USBTask() in the Mass Storage class ↵Dean Camera2011-09-051-0/+8
| | | | driver for the non-stream loops.
* Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq ↵Dean Camera2011-08-281-1/+2
| | | | module where it is used.
* Remove redundant prototype for Audio_Host_StartStopStreaming() and ↵Dean Camera2011-08-281-8/+6
| | | | Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings.
* Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean Camera2011-08-242-7/+20
| | | | | | | | | | function works on an endpoint address within the attached device, and not a Pipe within the host. Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons). Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage. Minor documentation corrections.
* Add multiple axis support to the HID joystick report in the ↵Dean Camera2011-08-231-20/+22
| | | | HID_DESCRIPTOR_JOYSTICK() macro.
* Remove redundant calls to USB_USBTask() in the Mass Storage Device Class ↵Dean Camera2011-07-291-20/+0
| | | | | | driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks. Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-199-10/+10
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Minor documentation fixes.Dean Camera2011-07-122-9/+9
|
* Add missing function attributes.Dean Camera2011-07-129-41/+71
|
* More endianness porting of the LUFA host mode class drivers.Dean Camera2011-07-118-84/+84
|
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-1110-139/+236
| | | | | | 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.
* Minor documentation and style fixes.Dean Camera2011-07-111-4/+4
|
* Fix HID_Host_SetIdlePeriod() function to send the correct request type to ↵Dean Camera2011-07-052-3/+3
| | | | the device, remove reference to unavailable (and not needed) local variable.
* Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean Camera2011-07-041-1/+2
|
* Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean Camera2011-07-042-2/+4
|
* Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.Dean Camera2011-07-042-0/+26
|
* Merge over core library changes from the MultiArchDemos branch.Dean Camera2011-06-291-1/+1
|
* Minor internal macro renaming for the UC3 devices.Dean Camera2011-06-201-2/+2
|
* 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.
* Code style fixes for the Device mode USB Audio Class driver to make it more ↵Dean Camera2011-06-191-2/+8
| | | | in line with the style of the other library Device Class drivers.
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-162-657/+657
| | | | end-of-line characters.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-164-25/+28
| | | | they contain the USB mode (Device or Host) in the function names.
* Rename Audio Host Class driver internal descriptor matching routines to be ↵Dean Camera2011-06-142-10/+10
| | | | in line with the rest of the class driver function names.
* Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean Camera2011-06-132-5/+9
| | | | | | within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver.
* Fix bugs in the Host mode Audio class driver.Dean Camera2011-06-122-8/+20
|
* Fix errors in the library Host mode Audio Class driver.Dean Camera2011-06-092-9/+10
|
* Add new Audio Class Driver Host demos.Dean Camera2011-06-092-10/+39
| | | | | | Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device. Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
* Pipe_BoundEndpointNumber() has been renamed to ↵Dean Camera2011-06-084-13/+66
| | | | | | Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address. Add Audio_GetSetEndpointProperty() function to the Host mode Audio class driver.
* Remove warnings in the documentation for the library class drivers about ↵Dean Camera2011-06-0814-66/+8
| | | | sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
* Added new Host mode Audio Class driver.Dean Camera2011-06-086-7/+601
| | | | Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
* Fix errors in the Audio device demos and class driver regarding multiple ↵Dean Camera2011-06-072-17/+17
| | | | sample frequency support.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-057-23/+23
| | | | 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-033-13/+124
| | | | | | | | | | | | 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-013-7/+7
|
* Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean Camera2011-06-011-1/+1
| | | | | | | | ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output.
* Added new incomplete AudioOutputHost Host LowLevel demo.Dean Camera2011-05-301-0/+1
|
* 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-292-2/+25
| | | | | | 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 USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-271-13/+5
|
* Fix broken Doxygen documentation.Dean Camera2011-05-191-7/+7
|
* Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean Camera2011-05-185-70/+140
| | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.