diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-07-14 11:31:12 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-07-14 11:31:12 +0000 |
| commit | 73e9d5a7f02ce008d574cf4524122229d32ee84c (patch) | |
| tree | 3a3734b821fb7e4406a0868c3b1c498b212d0a74 /LUFA/CodeTemplates | |
| parent | 44e3311de4c0d12b228bce55edc4ceff690d4f91 (diff) | |
Complete initial revision of the XMEGA Clock Management platform driver.
Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1884 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/CodeTemplates')
| -rw-r--r-- | LUFA/CodeTemplates/makefile_template.uc3 | 5 | ||||
| -rw-r--r-- | LUFA/CodeTemplates/makefile_template.xmega | 8 |
2 files changed, 4 insertions, 9 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3 index 2077ca18..645f6c28 100644 --- a/LUFA/CodeTemplates/makefile_template.uc3 +++ b/LUFA/CodeTemplates/makefile_template.uc3 @@ -70,10 +70,7 @@ F_CPU = ### INSERT PRESCALED SYSTEM CLOCK SPEED HERE, IN HZ ### # USB controller master clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU, as the USB clock is often sourced from the same oscillator as
-# the CPU clock, but run through multipliers and dividers to achieve the desired
-# clock rate.
+# input clock frequency of the USB controller's clock generator in Hz.
#
# For the UC3 chips, this should be equal to 48MHz or 96MHz.
F_USB = ### INSERT CLOCK TO USB MODULE HERE, IN HZ ###
diff --git a/LUFA/CodeTemplates/makefile_template.xmega b/LUFA/CodeTemplates/makefile_template.xmega index 2ceca1fa..719a107f 100644 --- a/LUFA/CodeTemplates/makefile_template.xmega +++ b/LUFA/CodeTemplates/makefile_template.xmega @@ -86,12 +86,10 @@ F_CPU = ### INSERT PRESCALED SYSTEM CLOCK SPEED HERE, IN HZ ### # USB controller master clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
-# input clock frequency (before any prescaling is performed) in Hz. This value may
-# differ from F_CPU, as the USB clock is often sourced from the same oscillator as
-# the CPU clock, but run through multipliers and dividers to achieve the desired
-# clock rate.
+# input clock frequency of the USB controller's clock generator in Hz.
#
-# For the UC3 chips, this should be equal to 48MHz or 96MHz.
+# For the XMEGA chips, this should be equal to a multiple of 6MHz for Low
+# Speed USB mode, or a multiple of 48MHz for Full Speed USB mode.
F_USB = ### INSERT CLOCK TO USB MODULE HERE, IN HZ ###
|
