aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/USBController.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ↵Dean Camera2010-12-241-0/+1
| | | | ORDERED_EP_CONFIG compile time option to override the workaround and use the previous behaviour that imposes correct Endpoint/Pipe ordering but produces smaller compiled code.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-20/+21
| | | | tool made by Laszlo Monda
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-121-4/+4
| | | | | | | | Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
* Fix device mode for the U4 parts.Dean Camera2010-10-011-1/+1
|
* Reverted modifications to USBInterrupt.h that were intefering with correct ↵Dean Camera2010-09-221-0/+1
| | | | | | | | host mode operation. Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
* Oops - need to call USB_Attach() when reinitializing into USB Host mode, or ↵Dean Camera2010-09-211-1/+2
| | | | no devices will be detected.
* Rename internal suspend and wake up USB interrupt macros so that they follow ↵Dean Camera2010-09-191-1/+1
| | | | the same naming scheme as the other USB ISR macros.
* Make device mode configure the control endpoint even before the bus has been ↵Dean Camera2010-09-191-12/+14
| | | | reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use.
* More simplifications to USBController.c, fix errors and warnings when ↵Dean Camera2010-09-191-8/+12
| | | | compiled for the series 2 USB AVRs.
* Fix warning when not compiled for UID auto-selection mode.Dean Camera2010-09-191-0/+2
|
* Clean up USBController.c/.h to more clearly seperate out host and device ↵Dean Camera2010-09-191-130/+90
| | | | | | setup and reset paths. Make USBInterrupt.c process all pending USB host mode interrupts before resetting the bus, so that no interrupts are lost when in UID auto-selection mode.
* Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to ↵Dean Camera2010-09-151-12/+2
| | | | USB_Init() now defaults the controller into UID selection mode.
* Fixed SET FEATURE and CLEAR FEATURE control requests directed at an ↵Dean Camera2010-09-131-3/+3
| | | | unconfigured endpoint causing request timeouts.
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-211-0/+271
directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.