aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-081-14/+15
| | | | | | | | | | | | | | 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.
* Fixed compile error when FIXED_CONTROL_ENDPOINT_SIZE compile time option was ↵Dean Camera2011-06-201-1/+16
| | | | | | 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.
* Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating ↵Dean Camera2011-03-151-1/+2
| | | | | | when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
* Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB ↵Dean Camera2011-03-151-14/+26
| | | | AVRs when automatic PLL mode is specified.
* Porting updates for the UC3B architecture - get UC3B partially enumerating ↵Dean Camera2011-03-051-2/+0
| | | | 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.
* Add in USB_INT_RegisterHandlers() internal function to register the ↵Dean Camera2011-02-281-0/+2
| | | | | | interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet. Add in temporary global interrupts enable/disable macros.
* Changed over the AVR8 USB controller interrupt management macros to be ↵Dean Camera2011-02-271-1/+1
| | | | inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.
* Rename architecture specific driver files, to make them appear with uniquely ↵Dean Camera2011-02-201-0/+233
identifying filenames in the documentation.