aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device
Commit message (Collapse)AuthorAgeFilesLines
...
* Update file header copyrights for 2012.Dean Camera2012-02-0412-12/+12
|
* Minor documentation improvements.Dean Camera2012-02-011-4/+4
|
* Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the ↵Dean Camera2012-01-282-3/+68
| | | | Audio Device Class driver.
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-238-26/+28
| | | | trailing whitespace at the end of each line.
* Add new Android Open Accessory class driver to the library core and add a ↵Dean Camera2011-11-246-6/+6
| | | | new Android Open Accessory Host ClassDriver demo.
* Added Class, ClassDevice, ClassHost and ClassCommon to the internal class ↵Dean Camera2011-11-1812-12/+12
| | | | driver source filenames to prevent ambiguities.
* 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-261-7/+7
| | | | 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.
* Oops - restore conditional calls to USB_USBTask() in the Mass Storage class ↵Dean Camera2011-09-051-0/+8
| | | | driver for the non-stream loops.
* 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-191-2/+2
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* More endianness porting of the LUFA device mode class drivers.Dean Camera2011-07-113-127/+136
| | | | | | 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.
* Merge over core library changes from the MultiArchDemos branch.Dean Camera2011-06-291-1/+1
|
* 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.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-162-13/+16
| | | | they contain the USB mode (Device or Host) in the function names.
* Pipe_BoundEndpointNumber() has been renamed to ↵Dean Camera2011-06-081-1/+1
| | | | | | 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-086-24/+0
| | | | 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-083-4/+30
| | | | 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-053-16/+16
| | | | 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-032-0/+92
| | | | | | | | | | | | 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.
* Added new incomplete AudioOutputHost Host LowLevel demo.Dean Camera2011-05-301-0/+1
|
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-291-0/+7
| | | | | | 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-182-52/+122
| | | | | | RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver. Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
* Replace cast-as-char* byte access of multibyte variables with proper shifts ↵Dean Camera2011-04-131-2/+2
| | | | and masks to preserve endianness across different architectures.
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-121-3/+1
| | | | | | 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-101-0/+1
| | | | | | 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.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-044-13/+13
| | | | | | 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.
* Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent ↵Dean Camera2011-03-051-2/+2
| | | | | | | | with the Pipe_ResetPipe() function name. Fix undefined error in Pipe_UC3B.h. Add missing migration notes.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-272-5/+14
| | | | sucessfully compiled, although they will be currently non-functional.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-201-1/+1
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-206-11/+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-196-6/+12
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-196-6/+6
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-302-11/+37
| | | | | | 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.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-3/+3
| | | | | | | | 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.
* Added new KeyboardMouseMultiReport Device ClassDriver demo.Dean Camera2011-01-261-4/+8
| | | | | | 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.
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-161-1/+0
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-0/+1
| | | | | | | | 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/.
* Call USB_USBTask() in the Endpoint stream functions between packets if ↵Dean Camera2011-01-101-12/+0
| | | | INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1011-71/+47
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Minor documentation improvements.Dean Camera2011-01-086-23/+23
|
* Update copyright year on all source files.Dean Camera2011-01-0112-24/+24
|
* Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function ↵Dean Camera2010-12-311-1/+1
| | | | (thanks to WZab).
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-266-6/+6
| | | | fix incorrect and missing section names.
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-024-4/+4
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-056-6/+6
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Fixed MIDI class driver send routines silently discarding packets if the ↵Dean Camera2010-11-031-9/+6
| | | | endpoint or pipe is busy (thanks to Robin Green).
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2812-12/+12
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.