Complete initial revision of the XMEGA Clock Management platform driver.
Start the USB clock source generator inside USB_ResetInterface() for XMEGA devices.
This commit is contained in:
parent
c8e5176465
commit
ffa8b430c1
6 changed files with 173 additions and 92 deletions
|
|
@ -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 ###
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue