Commit Graph

691 Commits (4453133d3c94b7727214631d83b2eddf641012c4)

Author SHA1 Message Date
Dean Camera 38d7cdf803 Minor Doxygen documentation improvements. 13 years ago
Dean Camera 3b99abb5fc Add new USB_Host_GetDescriptor() function. Alter the USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function. 13 years ago
Dean Camera e915d968a5 Added new USB_Host_GetDeviceConfiguration() and USB_Host_GetInterfaceAltSetting() functions. 13 years ago
Dean Camera 7f8dbb4908 Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication. 13 years ago
Dean Camera 8b5aa61601 Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo. 13 years ago
Dean Camera 09577fe541 Add XMEGA compile time tokens to the LUFAConfig.h code template. 13 years ago
Dean Camera b711b7d6a4 Fixed broken AVR32 endpoint/pipe communications when ORDERED_EP_CONFIG compile time option is not enabled (thanks to Matthias). 13 years ago
Dean Camera eb2e883fd3 Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities. 13 years ago
Dean Camera 3e04487279 Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda). 13 years ago
Dean Camera dc09ccab8b Minor corrections for the XMEGA USB controller. Add compile time warning if the USB clock frequency is provably incorrect. 13 years ago
Dean Camera 8df0cf3241 Fixed race conditions in the CDC, HID and Mass Storage class drivers when processing some control requests. 13 years ago
Dean Camera cb7f7a8241 Fix XMEGA core USB driver endpoint code to prevent incorrect STALL determination. 13 years ago
Dean Camera 7992202603 Add support for the new MEGA B series devices. 13 years ago
Dean Camera 00ad509061 Add support for the Atmel XMEGA A3BU Xplained board. 13 years ago
Dean Camera 0304916356 Fix XMEGA core USB driver so that device mode enumerates correctly on the host PC. 14 years ago
Dean Camera 1e0c3bc69a Namespace out the internal endpoint globals in the XMEGA architecture. 14 years ago
Dean Camera fe87b8a225 Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07. 14 years ago
Dean Camera 72717825e5 Namespace out the internal endpoint and pipe globals in the UC3 architecture. 14 years ago
Dean Camera b714ffbfa0 Update XMEGA clock management so that the correct 16-bit calibration is used when requested. Fix endpoint descriptor table so that the frame number is stored into the correct location. Add compile time option to source the USB clock from the PLL rather than the internal 32MHz RC oscillator. 14 years ago
Dean Camera ab43251bf9 Minor documentation fixes. 14 years ago
Dean Camera 028a3c4ab3 XMEGA port improvements; connection and disconnection are now detected correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices. 14 years ago
Dean Camera f1543ae8ff Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey). 14 years ago
Dean Camera bc14c1a7f6 Update XMEGA platform clock management example code to suit the currently released silicon. 14 years ago
Dean Camera c15eaa5dae When automatic PLL management mode is enabled on the U4 series AVR8 chips, the PLL is now configured for 48MHz and not a divided 96MHz, to lower power consumption and to keep the system within the datasheet specs for 3.3V operation (thanks to Scott Vitale). 14 years ago
Dean Camera 68e777e16b Prevent written but unused variable warnings on GCC 4.6 with dummy reads. 14 years ago
Dean Camera a4d67bb6ff USB XMEGA support improvements; add DFLL clock platform support, ensure the endpoint table is correctly aligned and configured in the USB controller. 14 years ago
Dean Camera 6553bf5bfb Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices. 14 years ago
Dean Camera 2ae41fb153 Added endian-correction to the CDC driver's Line Encoding control request handlers. 14 years ago
Dean Camera 3bb8055459 Fix compile errors for the USB XMEGA parts when the USB driver is used. 14 years ago
Dean Camera 3223786c49 Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile time option is used (thanks to Ian Woloschin). 14 years ago
Dean Camera 77dbfd3cc4 Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker. 14 years ago
Dean Camera 022fa26b43 Fix missing C++ linkage command in ArchitectureSpecific.h. 14 years ago
Dean Camera 99ff27e403 Fixed HID Parser's largest report size bit count not including the size of the last parsed report item. 14 years ago
Dean Camera 4b229cb5ef Fixed optimization error in the HID Parser item value USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API). 14 years ago
Dean Camera 94e0a0058a Oops - restore conditional calls to USB_USBTask() in the Mass Storage class driver for the non-stream loops. 14 years ago
Dean Camera dc9133ad21 Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used. 14 years ago
Dean Camera 3b898ae178 Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings. 14 years ago
Dean Camera a233109909 Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host. 14 years ago
Dean Camera cff190b8f4 Minor documentation fixes. 14 years ago
Dean Camera 2d9f98b592 Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro. 14 years ago
Dean Camera 40728fd20d Remove redundant calls to USB_USBTask() in the Mass Storage Device Class driver when INTERRUPT_CONTROL_ENDPOINT is not used, as this is done inside the stream callbacks. 14 years ago
Dean Camera d5e874d348 Add INTERRUPT_CONTROL_ENDPOINT compile time option support for the UC3 devices. 14 years ago
Dean Camera 5c274d106b Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used. 14 years ago
Dean Camera 110711598a Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. 14 years ago
Dean Camera 2c404e5af5 Add support for the ORDERED_EP_CONFIG compile time token on the UC3 architecture. 14 years ago
Dean Camera 69243c5071 Move out the EP_TYPE_* macros to the base USBController.h header, as these are used in the device descriptors as well and thus must not be changed. 14 years ago
Dean Camera 69ab85cbc0 More USB XMEGA porting for Endpoint control. 14 years ago
Dean Camera 0c2ad9eb34 Add missing SVN eol-style property to files where it was missing. 14 years ago
Dean Camera a36012fc4b Add option to the USB XMEGAs to set the USB bus interrupt priority level. 14 years ago
Dean Camera f07e766755 Complete USB XMEGA interrupt control subsystem code in the core USB driver. 14 years ago
Dean Camera ffa8b430c1 Complete initial revision of the XMEGA Clock Management platform driver. 14 years ago
Dean Camera 77a9df36a7 Update UC3 platform driver support to use the bitmasks defined in the header files over raw constants. 14 years ago
Dean Camera b971dbbce8 More XMEGA USB AVR device port work - re-add missing Endpoint stream functions, remove unnecessary internal functions. 14 years ago
Dean Camera 8629e1918c Implementation of several key core USB driver functions for the new USB XMEGA devices. 14 years ago
Dean Camera 6490d1c443 Correct the maximum banks per endpoint information macros for the UC3A3 and UC3A4 devices. 14 years ago
Dean Camera bc41cbd26d Add support for triple endpoint/pipe bank AVR32 UC3 devices. 14 years ago
Dean Camera 7c3290607e Add missing ENDPOINT_DETAILS_EP7 macro for the UC3A3/UC3A4 devices. 14 years ago
Dean Camera 3f38ea6317 Added Device Qualifier standard descriptor structure definitions USB_StdDescriptor_DeviceQualifier_t and USB_Descriptor_DeviceQualifier_t. 14 years ago
Dean Camera f4528c4aef Add high speed USB support for the UC3 devices containing a high speed USB controller. 14 years ago
Dean Camera d9643cf6ec Add start of an architecture port to the Atmel USB XMEGA devices. 14 years ago
Dean Camera f580232392 Remove unneeded #include of Device.h in StdDescriptors.h breaking compilation for some user projects. 14 years ago
Dean Camera bd8046976f Minor documentation fixes. 14 years ago
Dean Camera fdb82cd1e8 Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices. 14 years ago
Dean Camera 04287b76c5 Add more missing function attributes to the TWI peripheral driver. 14 years ago
Dean Camera 7207b05695 Add missing function attributes. 14 years ago
Dean Camera 065ed4da20 Added new USB_Host_GetDeviceStatus() function for USB Host mode. 14 years ago
Dean Camera c029d72b94 More endianness porting of the LUFA host mode class drivers. 14 years ago
Dean Camera 85e85befc4 More endianness porting of the LUFA device mode class drivers. 14 years ago
Dean Camera 6c4f736793 Minor documentation and style fixes. 14 years ago
Dean Camera 137ce280c1 Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. 14 years ago
Dean Camera 4e601207a7 Tighten up the implementations of the USB_Device_SetDeviceAddress(), USB_Controller_Reset() and USB_PLL_On() functions for the AVR8 devices. 14 years ago
Dean Camera 9ea22ebf41 Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable. 14 years ago
Dean Camera 5b06886dab Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 14 years ago
Dean Camera 258381e760 Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 14 years ago
Dean Camera 61861c548e Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver. 14 years ago
Dean Camera c6a7a028bd Merge over core library changes from the MultiArchDemos branch. 14 years ago
Dean Camera 5d7827a573 Minor internal macro renaming for the UC3 devices. 14 years ago
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. 14 years ago
Dean Camera bb0b761c65 Make the HID Report Parser Get/Set Report Item routines fail if a NULL pointer to a report item is given. 14 years ago
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. 14 years ago
Dean Camera 0ec2b55a7c Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters. 14 years ago
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. 14 years ago
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. 14 years ago
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. 14 years ago
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. 14 years ago
Dean Camera 6e0a26083a Fix bugs in the Host mode Audio class driver. 14 years ago
Dean Camera 6e2a3174a5 Fix errors in the library Host mode Audio Class driver. 14 years ago
Dean Camera e5e34f91fa Fix compile errors when both Host and Device modes are enabled. 14 years ago
Dean Camera 1f1d0710f3 Add new Audio Class Driver Host demos. 14 years ago
Dean Camera 0bf5064aec Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address. 14 years ago
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). 14 years ago
Dean Camera e572ee7ff2 Added new Host mode Audio Class driver. 14 years ago
Dean Camera 605ef921cc Fix compile errors when compiling for the AVR32 UC3 target. 14 years ago
Dean Camera 567f7ecce0 Fix errors in the Audio device demos and class driver regarding multiple sample frequency support. 14 years ago
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 14 years ago
Dean Camera 2731c3a8ae Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates. 14 years ago
Dean Camera f01a05415c Spell check library source code files. 14 years ago
Dean Camera 6d2a08f1b7 Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2. 14 years ago
Dean Camera 68468e0aea Added new incomplete AudioOutputHost Host LowLevel demo. 14 years ago
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. 14 years ago