Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3B / USBController_UC3B.h
index 5bfcb5b..dde6f23 100644 (file)
 \r
        /* Private Interface - For use in library only: */\r
        #if !defined(__DOXYGEN__)\r
-               /* Macros: */\r
-                       #define USB_GCLK_USBB_INDEX          3\r
+               /* Macros: */                   \r
+                       #if defined(USB_SERIES_UC3A3_AVR)\r
+                               #define USB_CLOCK_REQUIRED_FREQ  12000000UL\r
+                       #else\r
+                               #define USB_CLOCK_REQUIRED_FREQ  48000000UL\r
+                       #endif\r
        \r
                /* Function Prototypes: */\r
                        #if defined(__INCLUDE_FROM_USB_CONTROLLER_C)\r