Switch StaticAnalysisTest build test to use the new build system CPPCHECK module...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / USBMode.h
index 56e5b5e..02c4ec3 100644 (file)
                                #define USB_SERIES_B3_XMEGA
                                #define USB_CAN_BE_DEVICE
                        #elif (defined(__AVR_ATxmega128C3__) || defined(__AVR_ATxmega64C3__) || \
-                              defined(__AVR_ATxmega192C3__) || defined(__AVR_ATxmega256C3__))
+                              defined(__AVR_ATxmega192C3__) || defined(__AVR_ATxmega256C3__) || \
+                                  defined(__AVR_ATxmega384C3__))
                                #define USB_SERIES_C3_XMEGA
                                #define USB_CAN_BE_DEVICE
                        #elif (defined(__AVR_ATxmega16C4__) || defined(__AVR_ATxmega32C4__))
                                #define USB_CAN_BE_DEVICE
                        #endif
 
-                       #if (defined(USB_CAN_BE_DEVICE) && defined(USB_CAN_BE_HOST))
+                       #if   ( defined(USB_CAN_BE_DEVICE) &&  defined(USB_CAN_BE_HOST))
                                #define USB_CAN_BE_BOTH
+                       #elif ( defined(USB_CAN_BE_DEVICE) && !defined(USB_CAN_BE_HOST))
+                               #define USB_DEVICE_ONLY
+                       #elif (!defined(USB_CAN_BE_DEVICE) &&  defined(USB_CAN_BE_HOST))
+                               #define USB_HOST_ONLY
                        #endif
 
                        #if defined(USB_HOST_ONLY)