diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-14 11:31:12 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-14 11:31:12 +0000 |
commit | ffa8b430c1886b696e1e94039e6a9343b5b81dbd (patch) | |
tree | 3a3734b821fb7e4406a0868c3b1c498b212d0a74 /LUFA/CodeTemplates/makefile_template.xmega | |
parent | c8e517646538669c290c5566231c8ec2b02f33bc (diff) | |
download | lufa-ffa8b430c1886b696e1e94039e6a9343b5b81dbd.tar.gz lufa-ffa8b430c1886b696e1e94039e6a9343b5b81dbd.tar.bz2 lufa-ffa8b430c1886b696e1e94039e6a9343b5b81dbd.zip |
Complete initial revision of the XMEGA Clock Management platform driver.
Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
Diffstat (limited to 'LUFA/CodeTemplates/makefile_template.xmega')
-rw-r--r-- | LUFA/CodeTemplates/makefile_template.xmega | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.xmega b/LUFA/CodeTemplates/makefile_template.xmega index 2ceca1faa..719a107fd 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 ###
|