aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3/Host_UC3.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-081-86/+6
| | | | | | | | | | | | | | 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.
* Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so ↵Dean Camera2011-05-301-2/+2
| | | | 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.
* Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-271-0/+17
|
* Correct UC3 global interrupt functions.Dean Camera2011-04-081-1/+1
| | | | | | Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function. Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-081-1/+1
| | | | | | | | all architectures. Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture. Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.
* Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.Dean Camera2011-03-131-0/+355