aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Class/Device
AgeCommit message (Collapse)Author
2012-06-12Add missing <math.h> include for the UC3 devices, hide CDC class driver ↵Dean
stream functions for unsupported platforms. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2343 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-06-09Spell check source code, fix mistakes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2322 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-05-26Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the ↵Dean
UC3 devices (thanks to Andrew Chu). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2238 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-05-05Fixed possible deadlock in the CDC device driver if the USB connection is ↵Dean
dropped while the CDC_REQ_SetLineEncoding control request is being processed by the stack (thanks to Jonathan Hudgins). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2180 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-04-14Reintegrate the FullEPAddresses development branch into trunk.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2155 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-03-25Re-enable cppcheck static analysis unused function checks after adding in ↵Dean
special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2120 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-03-15Fixed incorrect call to the user callback ↵Dean
CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2111 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-03-14Audio Device Class driver changed to also require the index of the Audio ↵Dean
Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2110 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-24Minor documentation fixes - change \note entries to \warning where ↵Dean
appropriate and remove/update old documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2066 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-19All USB Class Driver configuration struct values are now non-const, to allow ↵Dean
for run-time modifications if required before configuring an instance. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2058 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-11Clean up the Audio Device class driver control request Endpoint match logic.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2044 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-09Altered the HID class driver to only try to construct at maximum one packet ↵Dean
per USB frame, to reduce CPU usage. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2043 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-01Minor documentation improvements.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2017 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-01-28Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the ↵Dean
Audio Device Class driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2012 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-24Add new Android Open Accessory class driver to the library core and add a ↵Dean
new Android Open Accessory Host ClassDriver demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1988 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-18Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean
driver source filenames to prevent ambiguities. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1978 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-09Fixed race conditions in the CDC, HID and Mass Storage class drivers when ↵Dean
processing some control requests. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1971 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-26Fixed CDC class drivers not saving and sending all 16-bits of the control ↵Dean
line states (thanks to Matthew Swabey). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1953 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-07Added endian-correction to the CDC driver's Line Encoding control request ↵Dean
handlers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1935 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-05Oops - restore conditional calls to USB_USBTask() in the Mass Storage class ↵Dean
driver for the non-stream loops. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1920 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-29Remove redundant calls to USB_USBTask() in the Mass Storage Device Class ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1899 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-19Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean
ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1895 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11More endianness porting of the LUFA device mode class drivers.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1858 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-29Merge over core library changes from the MultiArchDemos branch.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1831 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-19Code style fixes for the Device mode USB Audio Class driver to make it more ↵Dean
in line with the style of the other library Device Class drivers. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1811 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-16Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean
they contain the USB mode (Device or Host) in the function names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1803 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Pipe_BoundEndpointNumber() has been renamed to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1793 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Remove warnings in the documentation for the library class drivers about ↵Dean
sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1792 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-08Added new Host mode Audio Class driver.Dean
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1791 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-07Fix errors in the Audio device demos and class driver regarding multiple ↵Dean
sample frequency support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1787 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-03Added new callback to the Audio Class driver to allow for endpoint control ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1779 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Added new incomplete AudioOutputHost Host LowLevel demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1775 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-29Added new incomplete AudioInputHost Host LowLevel demo.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1771 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-18Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and ↵Dean
RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1757 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-13Replace cast-as-char* byte access of multibyte variables with proper shifts ↵Dean
and masks to preserve endianness across different architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1738 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-12Add missing function attributes to the pipe/endpoint functions for all ↵Dean
architectures. Perform endianness correction in the HID report parser for big-endian platforms. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1734 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-10Remove redundant type information for bitfield elements, other than the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1733 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
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. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-05Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean
with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1698 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-27More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean
sucessfully compiled, although they will be currently non-functional. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1685 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20More updates to remove architecture-specific comments from the ↵Dean
documentation, alter USBMode.h preprocessor logic to support future architectures more easily. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1675 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-20Start update of documentation to support possible multiple architectures in ↵Dean
the future - alter \file documentation to automatically copy in the module documentation where possible. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1673 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-19Initial restructuring of the core USB driver module to support multiple ↵Dean
architectures in the future. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1672 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-19Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean
device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1669 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1647 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1646 d5102386-fcda-11dd-9fdb-3debd5008f28