X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/dc42c5eb6b663b0b117b5660ba5818186744efd5..cc879df4f014e403e57caca50a5791c996c0d79c:/LUFA/Drivers/USB/USB.h diff --git a/LUFA/Drivers/USB/USB.h b/LUFA/Drivers/USB/USB.h index d0837a844..9d2e84801 100644 --- a/LUFA/Drivers/USB/USB.h +++ b/LUFA/Drivers/USB/USB.h @@ -51,7 +51,9 @@ * - LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c * * \section Module Description - * Functions, macros, variables, enums and types related to the management of USB communications. + * Driver and framework for the USB controller hardware on the USB series of AVR microcontrollers. This module + * consists of many submodules, and is designed to provide an easy way to configure and control USB host, device + * or OTG mode USB applications. */ /** \ingroup Group_USB @@ -67,31 +69,15 @@ * same class driver. */ -/** \ingroup Group_USBClassDrivers - * @defgroup Group_USBDeviceClassDrivers Device Class Drivers - * - * Device mode drivers for the standard USB classes. These drivers all implement one of the standard USB - * classes, allowing for the class to be easily implemented in a user project. - */ - -/** \ingroup Group_USBClassDrivers - * @defgroup Group_USBHostClassDrivers Host Class Drivers - * - * Host mode drivers for the standard USB classes. These drivers all implement one of the standard USB - * classes, allowing for the class to be easily implemented in a user project. - */ - #ifndef __USB_H__ #define __USB_H__ - /* Preprocessor Checks: */ - #if (!(defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__)) && defined(USB_HOST_ONLY)) - #error USB_HOST_ONLY is not available for the currently selected USB AVR model. - #endif - + /* Preprocessor Checks: */ #if (!(defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__) || \ defined(__AVR_AT90USB162__) || defined(__AVR_AT90USB82__) || \ + defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__) || \ + defined(__AVR_ATmega8U2__) || \ defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || \ defined(__AVR_ATmega32U6__))) #error The currently selected AVR model is not supported under the USB component of the LUFA library.