aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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
|
* 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-122-5/+3
| | | | | | 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-103-51/+52
| | | | | | 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-047-18/+18
| | | | | | 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.
* 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.
* 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.
* Fixed Still Image Host class driver exiting the descriptor search routine ↵Dean Camera2011-03-031-1/+1
| | | | | | prematurely if the data pipes (but not event pipe) is found. Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-274-5/+23
| | | | sucessfully compiled, although they will be currently non-functional.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-202-2/+2
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* 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-2017-33/+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-1930-33/+45
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1931-31/+31
| | | | 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-306-27/+122
| | | | | | 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-304-73/+83
| | | | | | | | 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-262-8/+12
| | | | | | 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.
* Fixed several functions in the Host mode Still Image Class driver returning ↵Dean Camera2011-01-161-4/+4
| | | | an error code from the incorrect error code enum (thanks to Daniel Seibert).
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-163-4/+2
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-167-180/+151
| | | | | | | | 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.
* 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-1025-125/+72
| | | | | | | | | | 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).
* Oops - fix type preventing compilation of demos using the class drivers.Dean Camera2011-01-081-1/+1
|
* Minor documentation improvements.Dean Camera2011-01-0821-86/+88
|
* 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.