X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3702ba1fb31f265360a0e4cf1736465e44389103..fc31973daffea3506051ce51a5f79383ce0867d6:/LUFA/Drivers/USB/HighLevel/USBMode.h diff --git a/LUFA/Drivers/USB/HighLevel/USBMode.h b/LUFA/Drivers/USB/HighLevel/USBMode.h index ee10dea5c..d894bbad7 100644 --- a/LUFA/Drivers/USB/HighLevel/USBMode.h +++ b/LUFA/Drivers/USB/HighLevel/USBMode.h @@ -28,6 +28,17 @@ this software. */ +/** \file + * \brief USB mode and capability macros. + * + * This file defines macros indicating the type of USB controller the library is being compiled for, and its + * capabilities. These macros may then be referenced in the user application to selectively enable or disable + * code sections depending on if they are defined or not. + * + * \note This file should not be included directly. It is automatically included as needed by the USB driver + * dispatch header located in LUFA/Drivers/USB/USB.h. + */ + /** \ingroup Group_USB * @defgroup Group_USBMode USB Mode Tokens * @@ -69,11 +80,6 @@ * (i.e. AT90USBXXX7) when defined. */ #define USB_SERIES_7_AVR - - /** Indicates that the target AVR microcontroller belongs to the Series UC3B USB controller - * (i.e. AT32UC3BXXXX) when defined. - */ - #define USB_SERIES_UC3B_AVR /** Indicates that the target AVR microcontroller and compilation settings allow for the * target to be configured in USB Device mode when defined. @@ -100,11 +106,9 @@ #define USB_SERIES_6_AVR #elif (defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__)) #define USB_SERIES_7_AVR - #elif (defined(__AVR32_UC3B0256__)) - #define USB_SERIES_UC3B_AVR #endif - #if !defined(USB_SERIES_7_AVR) && !defined(USB_SERIES_UC3B_AVR) + #if !defined(USB_SERIES_7_AVR) #if defined(USB_HOST_ONLY) #error USB_HOST_ONLY is not available for the currently selected USB AVR model. #endif