Commit Graph

62 Commits (04b8360b15e3f1a78cb74e97b0c9acbb068f025a)

Author SHA1 Message Date
Dean Camera c60897df39 Allow serial strings to be generated on the older AVR8 devices which do not explicitly state they contain unique values in the datasheet, as this appears to be implemented in hardware. 13 years ago
Dean Camera a677254026 Added INVERTED_VBUS_ENABLE_LINE and NO_AUTO_VBUS_MANAGEMENT compile time options (thanks to Opendous Inc.). 13 years ago
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012. 13 years ago
Dean Camera 2c806f6cee Update file header copyrights for 2012. 13 years ago
Dean Camera fc4d3ab400 Minor documentation improvements. 14 years ago
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 14 years ago
Dean Camera 09577fe541 Add XMEGA compile time tokens to the LUFAConfig.h code template. 14 years ago
Dean Camera ab43251bf9 Minor documentation fixes. 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 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 dc9133ad21 Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used. 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 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 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 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 f4528c4aef Add high speed USB support for the UC3 devices containing a high speed USB controller. 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 7207b05695 Add missing function attributes. 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 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 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 e5e34f91fa Fix compile errors when both Host and Device modes are enabled. 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 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 f01a05415c Spell check library source code files. 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
Dean Camera cc9b190919 Add new USB_Host_SetInterfaceAltSetting() convenience function. 14 years ago
Dean Camera 1ea5dae8a8 Copy out the EndpointStream and PipeStream functions to each architecture, so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available). 14 years ago
Dean Camera 049e930963 Fixed possible invalid program execution when in host mode if corrupt descriptor lengths are supplied by the attached device. 14 years ago
Dean Camera 2b0c9532a3 Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar). 14 years ago
Dean Camera 995195a2b0 Add missing function attributes to the pipe/endpoint functions for all architectures. 14 years ago
Dean Camera c263ea837a Move global interrupt enable/disable functions out to Common.h and document them. 14 years ago
Dean Camera de9bd767dc Correct UC3 global interrupt functions. 14 years ago
Dean Camera 70284d390f Add in a new common Delay_MS() function, which provides a blocking delay for all architectures. 14 years ago
Dean Camera 96a2da1813 Oops - fix incorrect variable name in the updated Pipe_Write_8() function. 14 years ago
Dean Camera 899df7d331 Renamed all low level Endpoint_Read_*, Endpoint_Write_* and 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. 14 years ago
Dean Camera aba7932a5c F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports. 14 years ago
Dean Camera 134e018b21 Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus). 14 years ago
Dean Camera b35f93a372 Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified. 14 years ago
Dean Camera 0111fb515d Oops - fix internal serial number extraction routine for the AVR8 architecture. 14 years ago
Dean Camera 02dfd7dc3d Simplify the internal serial extraction routines for each architecture. 14 years ago
Dean Camera a7eca42996 Add experimental support for the AVR32 UC3A4 microcontrollers. 14 years ago
Dean Camera 1e3d892b6a Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines. 14 years ago
Dean Camera b763c3f33e Porting updates for the UC3B architecture - get UC3B partially enumerating using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet. 14 years ago
Dean Camera c1c94fe5a0 Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found. 14 years ago
Dean Camera 8c6f26e19d Add in USB_INT_RegisterHandlers() internal function to register the interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet. 14 years ago