projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the Low Level Audio Input and Audio Output demos to support multiple sample...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
USBController.h
diff --git
a/LUFA/Drivers/USB/Core/USBController.h
b/LUFA/Drivers/USB/Core/USBController.h
index
475aeb1
..
0568dee
100644
(file)
--- a/
LUFA/Drivers/USB/Core/USBController.h
+++ b/
LUFA/Drivers/USB/Core/USBController.h
@@
-29,10
+29,8
@@
*/
\r
\r
/** \file
\r
*/
\r
\r
/** \file
\r
- * \brief USB low level USB controller definitions.
\r
- *
\r
- * This file contains structures, function prototypes and macros related to the low level configuration of the
\r
- * USB controller, to start, stop and reset the USB library core.
\r
+ * \brief Common USB Controller definitions for all architectures.
\r
+ * \copydetails Group_USBManagement
\r
*
\r
* \note This file should not be included directly. It is automatically included as needed by the USB driver
\r
* dispatch header located in LUFA/Drivers/USB/USB.h.
\r
*
\r
* \note This file should not be included directly. It is automatically included as needed by the USB driver
\r
* dispatch header located in LUFA/Drivers/USB/USB.h.
\r
@@
-40,6
+38,7
@@
\r
/** \ingroup Group_USB
\r
* \defgroup Group_USBManagement USB Interface Management
\r
\r
/** \ingroup Group_USB
\r
* \defgroup Group_USBManagement USB Interface Management
\r
+ * \brief USB Controller definitions for general USB controller management.
\r
*
\r
* Functions, macros, variables, enums and types related to the setup and management of the USB interface.
\r
*
\r
*
\r
* Functions, macros, variables, enums and types related to the setup and management of the USB interface.
\r
*
\r
@@
-51,16
+50,20
@@
\r
/* Includes: */
\r
#include "../../../Common/Common.h"
\r
\r
/* Includes: */
\r
#include "../../../Common/Common.h"
\r
-
\r
- #if (ARCH == ARCH_AVR8)
\r
- #include "AVR8/USBController.h"
\r
- #endif
\r
+ #include "USBMode.h"
\r
\r
/* Preprocessor Checks and Defines: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
\r
#endif
\r
\r
\r
/* Preprocessor Checks and Defines: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
\r
#endif
\r
\r
+ /* Architecture Includes: */
\r
+ #if (ARCH == ARCH_AVR8)
\r
+ #include "AVR8/USBController_AVR8.h"
\r
+ #elif (ARCH == ARCH_UC3)
\r
+ #include "UC3/USBController_UC3.h"
\r
+ #endif
\r
+
\r
#endif
\r
\r
/** @} */
\r
#endif
\r
\r
/** @} */
\r