aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: Update copyrights to 2019.Dean Camera2019-01-081-2/+2
|
* Update copyrights for 2018.Dean Camera2018-01-041-2/+2
|
* Update copyrights for 2017.Dean Camera2017-04-181-2/+2
|
* Update copyrights to 2016.Dean Camera2016-01-311-2/+2
|
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* AVR8: Add option to keep 3.3V regulator enabledMichael Hanselmann2013-12-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The documentation contains example code[1] on how to restart into the bootloader. In the process of preparing for the reset, USB is disabled using “USB_Disable()”. For hardware making use of the AVR8's internal 3.3V regulator that call would also disable the regulator, resetting the processor immediately rather than setting the boot key and letting the watchdog reset the processor. This patch adds a new flag to be given to “USB_Init()” or to be defined in “USE_STATIC_OPTIONS” telling “USB_Disable()” to keep the regulator enabled. On November 1st, 2013 this issue was already mentioned on the mailing list[2], but no fix came from that discussion. [1] <http://www.fourwalledcubicle.com/files/LUFA/Doc/130901/ html/_page__software_bootloader_start.html> [2] <https://groups.google.com/d/msg/lufa-support/uwrFpRQpJzU/e9I6UK5jMJQJ> Signed-off-by: Michael Hanselmann <public@hansmi.ch>
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Fixed logic hole breaking USB operations on a USB controller with only one ↵Dean Camera2012-08-281-1/+1
| | | | supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY configuration token set.
* Added workaround for broken VBUS detection on AVR8 devices when a bootloader ↵Dean Camera2012-08-121-0/+7
| | | | starts the application via a software jump without first turning off the OTG pad (thanks to Simon Inns)
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-2/+1
|
* Add architecture guards to all architecture-specific files, so that they can ↵Dean Camera2012-04-071-0/+4
| | | | be bulk-added to existing IDE projects without having to exclude unused architecture files.
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-4/+4
| | | | trailing whitespace at the end of each line.
* When automatic PLL management mode is enabled on the U4 series AVR8 chips, ↵Dean Camera2011-10-121-1/+1
| | | | 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).
* 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.