Add LUFA-side channel open/close routines, add signalling handlers for the creation...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / OTG.h
index 717b040..ef3ab38 100644 (file)
   this software.\r
 */\r
  \r
+/** \file\r
+ *  \brief USB OTG mode definitions.\r
+ *\r
+ *  This file contains structures, function prototypes and macros related to USB OTG mode, where two USB devices\r
+ *  may be linked directly together and exchange host/device roles as needed.\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
+\r
 /** \ingroup Group_USB\r
  *  @defgroup Group_OTG USB On The Go (OTG) Management\r
  *\r
 #define __USBOTG_H__\r
 \r
        /* Includes: */\r
-               #if defined(__AVR32__)\r
-                       #include <avr32/io.h>\r
-                       #include <stdint.h>\r
-                       #include <stdbool.h>\r
-               #elif defined(__AVR__)\r
-                       #include <avr/io.h>\r
-                       #include <stdbool.h>\r
-               #endif\r
+               #include <avr/io.h>\r
+               #include <stdbool.h>\r
                \r
                #include "../../../Common/Common.h"\r
 \r