Commit Graph

195 Commits (678cb3c2bfb52804a3428880208b18a79859e668)

Author SHA1 Message Date
Dean Camera 3808f5c36d Spell check source code, fix mistakes.
12 years ago
Dean Camera 35564bb1a7 Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the UC3 devices (thanks to Andrew Chu).
12 years ago
Dean Camera 2d98e5499b Fixed possible deadlock in the CDC device driver if the USB connection is dropped while the CDC_REQ_SetLineEncoding control request is being processed by the stack (thanks to Jonathan Hudgins).
13 years ago
Dean Camera 47f6a35013 Reintegrate the FullEPAddresses development branch into trunk.
13 years ago
Dean Camera 00b6b0140f Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos.
13 years ago
Dean Camera f87aec2264 Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep).
13 years ago
Dean Camera 77adb2ba52 Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
13 years ago
Dean Camera e406140f11 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation.
13 years ago
Dean Camera 50ff97f378 All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.
13 years ago
Dean Camera 81bd8f2f83 Clean up the Audio Device class driver control request Endpoint match logic.
13 years ago
Dean Camera 2180f57d17 Altered the HID class driver to only try to construct at maximum one packet per USB frame, to reduce CPU usage.
13 years ago
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012.
13 years ago
Dean Camera 2c806f6cee Update file header copyrights for 2012.
13 years ago
Dean Camera fc4d3ab400 Minor documentation improvements.
13 years ago
Dean Camera a147cee95f Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the Audio Device Class driver.
13 years ago
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
13 years ago
Dean Camera 8b5aa61601 Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo.
13 years ago
Dean Camera eb2e883fd3 Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities.
13 years ago
Dean Camera 8df0cf3241 Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests.
13 years ago
Dean Camera f1543ae8ff Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey).
13 years ago
Dean Camera 2ae41fb153 Added endian-correction to the CDC driver's Line Encoding control request handlers.
13 years ago
Dean Camera 94e0a0058a Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops.
13 years ago
Dean Camera 40728fd20d Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks.
13 years ago
Dean Camera 110711598a Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
13 years ago
Dean Camera 85e85befc4 More endianness porting of the LUFA device mode class drivers.
13 years ago
Dean Camera c6a7a028bd Merge over core library changes from the MultiArchDemos branch.
13 years ago
Dean Camera a7dd984446 Code style fixes for the Device mode USB Audio Class driver to make it more in line with the style of the other library Device Class drivers.
13 years ago
Dean Camera d8fe01f19a Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
13 years ago
Dean Camera 0bf5064aec Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address.
13 years ago
Dean Camera 34164a5550 Remove warnings in the documentation for the library class drivers about sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
13 years ago
Dean Camera e572ee7ff2 Added new Host mode Audio Class driver.
13 years ago
Dean Camera 567f7ecce0 Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
13 years ago
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
13 years ago
Dean Camera 2731c3a8ae Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
13 years ago
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo.
14 years ago
Dean Camera ea922c98d1 Added new incomplete AudioInputHost Host LowLevel demo.
14 years ago
Dean Camera 9d733d44b4 Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
14 years ago
Dean Camera e0852408de Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures.
14 years ago
Dean Camera 995195a2b0 Add missing function attributes to the pipe/endpoint functions for all architectures.
14 years ago
Dean Camera 852b5e612d Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element.
14 years ago
Dean Camera 899df7d331 Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
14 years ago
Dean Camera 8b13f7f89a Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name.
14 years ago
Dean Camera f3f481183a More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional.
14 years ago
Dean Camera f3ec62b5c6 More updates to remove architecture-specific comments from the documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
14 years ago
Dean Camera 5e73190582 Start update of documentation to support possible multiple architectures in the future - alter \file documentation to automatically copy in the module documentation where possible.
14 years ago
Dean Camera 1daa5e16f9 Initial restructuring of the core USB driver module to support multiple architectures in the future.
14 years ago
Dean Camera 3d4d8e7f62 Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
14 years ago
Dean Camera 43c4735305 Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead.
14 years ago
Dean Camera afd828c095 Removed SerialStream module, rolled functionality into the base USART Serial peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods.
14 years ago
Dean Camera a852ea8e43 Added new KeyboardMouseMultiReport Device ClassDriver demo.
14 years ago