Start porting the USB core to the AVR32 UC3B.
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBMode.h
index ba2d453..1ceb981 100644 (file)
                 *  (i.e. AT90USBXXX7) when defined.\r
                 */\r
                #define USB_SERIES_7_AVR\r
+               \r
+               /** Indicates that the target AVR microcontroller belongs to the Series UC3B USB controller\r
+                *  (i.e. AT32UC3BXXXX) when defined.\r
+                */\r
+               #define USB_SERIES_UC3B_AVR\r
 \r
                /** Indicates that the target AVR microcontroller and compilation settings allow for the\r
                 *  target to be configured in USB Device mode when defined.\r
                                #define USB_SERIES_6_AVR\r
                        #elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__))\r
                                #define USB_SERIES_7_AVR\r
+                       #elif (defined(__AVR32_UC3B0256__))\r
+                               #define USB_SERIES_UC3B_AVR\r
                        #endif                  \r
 \r
-                       #if !defined(USB_SERIES_7_AVR)          \r
+                       #if !defined(USB_SERIES_7_AVR) && !defined(USB_SERIES_UC3B_AVR)\r
                                #if defined(USB_HOST_ONLY)\r
                                        #error USB_HOST_ONLY is not available for the currently selected USB AVR model.\r
                                #endif\r