aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/DoxygenPages
diff options
context:
space:
mode:
authorMichael Hanselmann <public@hansmi.ch>2013-12-19 23:44:23 +0100
committerMichael Hanselmann <public@hansmi.ch>2013-12-20 00:04:51 +0100
commit25a02432e72542015015b37d4ddfd518f4aea111 (patch)
tree91efdca610d043f7cf25bfed835e446a39c0c467 /LUFA/DoxygenPages
parent70a726b5aa6fb5a87193df1a780050d51110e6cb (diff)
downloadlufa-25a02432e72542015015b37d4ddfd518f4aea111.tar.gz
lufa-25a02432e72542015015b37d4ddfd518f4aea111.tar.bz2
lufa-25a02432e72542015015b37d4ddfd518f4aea111.zip
AVR8: Add option to keep 3.3V regulator enabled
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>
Diffstat (limited to 'LUFA/DoxygenPages')
-rw-r--r--LUFA/DoxygenPages/ChangeLog.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/LUFA/DoxygenPages/ChangeLog.txt b/LUFA/DoxygenPages/ChangeLog.txt
index 55150f4d4..75a1c6c6a 100644
--- a/LUFA/DoxygenPages/ChangeLog.txt
+++ b/LUFA/DoxygenPages/ChangeLog.txt
@@ -11,6 +11,7 @@
* - Library Applications:
* - Added new Bulk Vendor low level device demo
* - Added new libUSB host Python and NodeJS application examples for the class driver GenericHID demo (thanks to Laszlo Monda)
+ * - Added new AVR8 USB option to keep 3.3V regulator enabled
*
* <b>Changed:</b>
* - Library Applications: