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).
13 years ago
Dean Camera
68e777e16b
Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
13 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.
13 years ago
Dean Camera
6553bf5bfb
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
13 years ago
Dean Camera
2ae41fb153
Added endian-correction to the CDC driver's Line Encoding control request handlers.
13 years ago
Dean Camera
3bb8055459
Fix compile errors for the USB XMEGA parts when the USB driver is used.
...
Add core support for the ATXMEGA64A1U.
Minor documentation corrections.
13 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).
...
Small size improvement for Little Endian devices when USB host mode is used.
Minor documentation fixes.
13 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.
...
Add missing function and definition documentation.
13 years ago
Dean Camera
022fa26b43
Fix missing C++ linkage command in ArchitectureSpecific.h.
...
Fix missing closing brace in an Endpoint function for the UC3 targets.
13 years ago
Dean Camera
99ff27e403
Fixed HID Parser's largest report size bit count not including the size of the last parsed report item.
...
Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
13 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).
...
Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer.
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.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
14 years ago
Dean Camera
cff190b8f4
Minor documentation fixes.
...
Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
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.
...
Fix implementations of Endpoint_SetEndpointDirection() and Endpoint_GetEndpointDirection() for the AVR8 architecture.
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.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
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.
...
Automatically load in the USB calibration bytes from the User Signature Row on start-up.
Create internal SRAM variable for the endpoint control and status register table, used by the XMEGA USB controller hardware.
14 years ago
Dean Camera
ffa8b430c1
Complete initial revision of the XMEGA Clock Management platform driver.
...
Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
14 years ago
Dean Camera
77a9df36a7
Update UC3 platform driver support to use the bitmasks defined in the header files over raw constants.
...
Start implementation of XMEGA platform drivers.
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.
...
MultiArchDemos: Correct usage of updated INTC_RegisterGroupHandler() in the ported demos.
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.
...
Add device support preprocessor checks and use symbolic bit names in the UC3 platform clock management driver.
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.
...
Fix incorrect standard request name in the host standard request 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.
...
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
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.
...
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.
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.
...
Minor corrections to the documentation of the USB_Control_Request_t enum.
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