X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1daa5e16f9a395fb2943906a715adb35b8106988..1a25b6f5f1b9735c44090a27f2925da51ddcc67b:/LUFA/Drivers/USB/Core/USBController.h diff --git a/LUFA/Drivers/USB/Core/USBController.h b/LUFA/Drivers/USB/Core/USBController.h index 475aeb1bd..0568deef6 100644 --- a/LUFA/Drivers/USB/Core/USBController.h +++ b/LUFA/Drivers/USB/Core/USBController.h @@ -29,10 +29,8 @@ */ /** \file - * \brief USB low level USB controller definitions. - * - * This file contains structures, function prototypes and macros related to the low level configuration of the - * USB controller, to start, stop and reset the USB library core. + * \brief Common USB Controller definitions for all architectures. + * \copydetails Group_USBManagement * * \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. @@ -40,6 +38,7 @@ /** \ingroup Group_USB * \defgroup Group_USBManagement USB Interface Management + * \brief USB Controller definitions for general USB controller management. * * Functions, macros, variables, enums and types related to the setup and management of the USB interface. * @@ -51,16 +50,20 @@ /* Includes: */ #include "../../../Common/Common.h" - - #if (ARCH == ARCH_AVR8) - #include "AVR8/USBController.h" - #endif + #include "USBMode.h" /* Preprocessor Checks and Defines: */ #if !defined(__INCLUDE_FROM_USB_DRIVER) #error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead. #endif + /* Architecture Includes: */ + #if (ARCH == ARCH_AVR8) + #include "AVR8/USBController_AVR8.h" + #elif (ARCH == ARCH_UC3) + #include "UC3/USBController_UC3.h" + #endif + #endif /** @} */