Commit Graph

1605 Commits

Author SHA1 Message Date
Dean Camera 5d7827a573 Minor internal macro renaming for the UC3 devices. 2011-06-20 13:08:27 +00:00
Dean Camera d784baaa3a Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was 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.
2011-06-20 04:32:34 +00:00
Dean Camera dab7e06a4a Split HIDReportViewer project sub-components into seperate functions for readability/convenience. 2011-06-20 02:36:52 +00:00
Dean Camera ea3b5c7423 More cosmetic data output changes to the HIDReportViewer project. 2011-06-20 02:22:34 +00:00
Dean Camera 91bc546be0 Make HIDReportViewer project show the IN, OUT and DATA report sizes as both bits and (rounded) bytes. 2011-06-20 02:08:52 +00:00
Dean Camera bb0b761c65 Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given.
Minor visual enhancement to the HIDReportViewer project.
2011-06-20 01:57:22 +00:00
Dean Camera 6599238dab Remove HID parser information output from the Low Level Host applications using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required. 2011-06-20 01:39:03 +00:00
Dean Camera 5e0c807708 Fix incorrect printf format specifier in the HIDReportViewer project. 2011-06-20 01:33:42 +00:00
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. 2011-06-19 04:48:49 +00:00
Dean Camera 2e6370a6b9 Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project. 2011-06-19 04:47:53 +00:00
Dean Camera 5ee8068f2c Move the HIDReportViewer project into the normal Projects/ folder and out of the Incomplete/ projects folder. 2011-06-19 04:32:58 +00:00
Dean Camera 6e0adb9872 Switch to using the standard printf() format specifiers in the HIDReportViewer project. 2011-06-19 04:29:03 +00:00
Dean Camera bad956bace Fix TWI driver documentation example (thanks to Jerome Colombie). 2011-06-18 08:04:25 +00:00
Dean Camera 00acc95ff6 Add new incomplete HIDReportViewer project. 2011-06-16 13:37:45 +00:00
Dean Camera 0ec2b55a7c Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters. 2011-06-16 12:18:46 +00:00
Dean Camera f10126a95e Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver. 2011-06-16 07:23:37 +00:00
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. 2011-06-16 06:49:08 +00:00
Dean Camera 57eedebd19 Fix Doxygen documentation errors. 2011-06-14 12:55:32 +00:00
Dean Camera 21a012a018 Add macro guards to the templated C files to prevent compile errors if they are mistakenly compiled as regular source files in a LUFA project. 2011-06-14 12:54:46 +00:00
Dean Camera f1cfd7ea7d Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names. 2011-06-14 12:44:41 +00:00
Dean Camera deaab90089 Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
Fix const-correctness of the Audio Host Class driver.
2011-06-13 00:19:40 +00:00
Dean Camera 6e0a26083a Fix bugs in the Host mode Audio class driver. 2011-06-12 13:59:03 +00:00
Dean Camera 6e2a3174a5 Fix errors in the library Host mode Audio Class driver. 2011-06-09 08:00:19 +00:00
Dean Camera e5e34f91fa Fix compile errors when both Host and Device modes are enabled. 2011-06-09 04:32:52 +00:00
Dean Camera 1191da7b7b Add missing AS4 and project description files to the new Audio Host demos.
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
2011-06-09 04:23:19 +00:00
Dean Camera 1f1d0710f3 Add new Audio Class Driver Host demos.
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.
2011-06-09 04:08:03 +00:00
Dean Camera 0bf5064aec Pipe_BoundEndpointNumber() has been renamed to 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.
2011-06-08 02:45:32 +00:00
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). 2011-06-08 01:32:44 +00:00
Dean Camera e572ee7ff2 Added new Host mode Audio Class driver.
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
2011-06-08 01:26:52 +00:00
Dean Camera 605ef921cc Fix compile errors when compiling for the AVR32 UC3 target. 2011-06-08 00:25:20 +00:00
Dean Camera 2e76ad721e Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems. 2011-06-08 00:25:03 +00:00
Dean Camera 73733275be Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems. 2011-06-08 00:24:01 +00:00
Dean Camera 567f7ecce0 Fix errors in the Audio device demos and class driver regarding multiple sample frequency support. 2011-06-07 02:05:19 +00:00
Dean Camera 2d778a3ff5 Add additional support files for the new low level AudioInputHost and AudioOutputHost demos. 2011-06-06 09:57:38 +00:00
Dean Camera 85f39a58c5 Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder. 2011-06-06 09:51:54 +00:00
Dean Camera 2da2b2d9fb Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant. 2011-06-06 09:45:41 +00:00
Dean Camera 1a25b6f5f1 Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
2011-06-06 09:43:09 +00:00
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 2011-06-05 13:55:56 +00:00
Dean Camera 0210fa5648 Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors). 2011-06-05 12:21:52 +00:00
Dean Camera 3bd6336075 Added board driver support for the Busware TUL board. 2011-06-04 04:13:01 +00:00
Dean Camera 2731c3a8ae Added new callback to the Audio Class driver to allow for endpoint control 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.
2011-06-03 07:56:12 +00:00
Dean Camera c2135f2776 Expand the documentation for each Bootloader to give sample usage instructions for the command line programmer utilities.
Fix typo in the HID class bootloader CLI programmer application usage instructions.
2011-06-02 13:40:53 +00:00
Dean Camera f01a05415c Spell check library source code files. 2011-06-01 14:33:40 +00:00
Dean Camera 6d2a08f1b7 Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
Minor documentation cleanups.

Modify the incomplete AudioInputHost demo for mono audio output.
2011-06-01 14:10:35 +00:00
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo. 2011-05-30 11:36:21 +00:00
Dean Camera 2a26efc691 Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so 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. 2011-05-30 11:07:57 +00:00
Dean Camera 78cfaac9b4 Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine. 2011-05-30 09:37:31 +00:00
Dean Camera 0b6d5467bc Oops - revert commit of an incomplete port of the AVRISP-MKII project. 2011-05-29 12:47:56 +00:00
Dean Camera ea922c98d1 Added new incomplete AudioInputHost Host LowLevel demo.
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.
2011-05-29 12:41:14 +00:00
Dean Camera cc9b190919 Add new USB_Host_SetInterfaceAltSetting() convenience function. 2011-05-27 07:33:58 +00:00