aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0827-449/+301
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Tighten up the implementations of the USB_Device_SetDeviceAddress(), ↵Dean Camera2011-07-064-61/+61
| | | | | | USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. Minor corrections to the documentation of the USB_Control_Request_t enum.
* Fix improper indenting of the internal board driver dispatch headers.Dean Camera2011-07-064-115/+119
| | | | Slight improvements to the ADC peripheral driver example in the manual.
* Fix HID_Host_SetIdlePeriod() function to send the correct request type to ↵Dean Camera2011-07-052-3/+3
| | | | the device, remove reference to unavailable (and not needed) local variable.
* Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean Camera2011-07-041-1/+2
|
* Add missing function parameter to the new HID_Host_SetIdlePeriod() function.Dean Camera2011-07-042-2/+4
|
* Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver.Dean Camera2011-07-042-0/+26
|
* Merge over core library changes from the MultiArchDemos branch.Dean Camera2011-06-293-3/+6
|
* Added board hardware driver support for the EVK1104 board.Dean Camera2011-06-276-2/+257
| | | | Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
* Add board driver support for the EVK1100 board.Dean Camera2011-06-279-7/+379
|
* Minor internal macro renaming for the UC3 devices.Dean Camera2011-06-206-14/+14
|
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-2019-5/+175
| | | | | | 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.
* Make the HID Report Parser Get/Set Report Item routines fail if a NULL ↵Dean Camera2011-06-201-0/+6
| | | | | | pointer to a report item is given. Minor visual enhancement to the HIDReportViewer project.
* 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.
* Fix TWI driver documentation example (thanks to Jerome Colombie).Dean Camera2011-06-182-5/+5
|
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-162-657/+657
| | | | end-of-line characters.
* Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.Dean Camera2011-06-161-4/+20
|
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-164-25/+28
| | | | they contain the USB mode (Device or Host) in the function names.
* Add macro guards to the templated C files to prevent compile errors if they ↵Dean Camera2011-06-148-2/+272
| | | | are mistakenly compiled as regular source files in a LUFA project.
* Rename Audio Host Class driver internal descriptor matching routines to be ↵Dean Camera2011-06-142-10/+10
| | | | in line with the rest of the class driver function names.
* Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean Camera2011-06-132-5/+9
| | | | | | within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver.
* 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
|
* Fix compile errors when both Host and Device modes are enabled.Dean Camera2011-06-093-3/+3
|
* 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-088-37/+80
| | | | | | 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-087-8/+602
| | | | Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
* Fix compile errors when compiling for the AVR32 UC3 target.Dean Camera2011-06-082-0/+2
|
* Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, ↵Dean Camera2011-06-081-0/+0
| | | | which will cause issues on *nix systems.
* Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, ↵Dean Camera2011-06-081-0/+0
| | | | which will cause issues on *nix systems.
* 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-0529-56/+79
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Added board driver support for the Busware TUL board.Dean Camera2011-06-044-0/+220
|
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-034-15/+126
| | | | | | | | | | | | 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-0126-42/+42
|
* 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-305-17/+22
| | | | 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-275-13/+65
|
* Fix incorrect macro guard in the UC3 EndpointStream header file.Dean Camera2011-05-261-2/+2
| | | | Fix incorrect project name in the Projects/ folder makefile.
* Copy out the EndpointStream and PipeStream functions to each architecture, ↵Dean Camera2011-05-2619-1063/+2550
| | | | so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available).
* 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.
* Oops - fix bad include path in the moved USBKEY Dataflash board driver header.Dean Camera2011-05-181-1/+2
|
* Seperated out board drivers by architecture in the library internals for ↵Dean Camera2011-05-1856-113/+108
| | | | better organisation.
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-146-22/+55
| | | | | | | | 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.
* Add new USE_LUFA_CONFIG_HEADER compile time option.Dean Camera2011-05-091-8/+13
| | | | Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
* Minor documentation fixes.Dean Camera2011-05-081-2/+2
|