Fixed CDC and USBtoSerial demos freezing where buffers were full while still transmit...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBInterrupt.h
index 8438a58..65e0b5f 100644 (file)
  *  events as VBUS interrupts (on supported USB AVR models), device connections and disconnections, etc.\r
  */\r
 \r
+/** \ingroup Group_USB\r
+ *  @defgroup Group_USBInterrupt Endpoint and Pipe Interrupts\r
+ *\r
+ *  Functions, macros, variables, enums and types related to endpoint and pipe interrupts.\r
+ *\r
+ *  @{\r
+ */\r
+\r
 #ifndef __USBINTERRUPT_H__\r
 #define __USBINTERRUPT_H__\r
 \r
@@ -43,7 +51,7 @@
                \r
                #include "../../../Common/Common.h"\r
                #include "../LowLevel/LowLevel.h"\r
-               #include "../LowLevel/USBMode.h"\r
+               #include "USBMode.h"\r
                #include "Events.h"\r
                \r
        /* Enable C linkage for C++ Compilers: */\r
@@ -79,7 +87,7 @@
                        #define USB_INT_IsEnabled(int)                 ((USB_INT_GET_EN_REG(int)   &    USB_INT_GET_EN_MASK(int)) ? true : false)\r
 \r
                        /** Returns boolean true if the given interrupt flag is set (i.e. the condition for the interrupt has occurred,\r
-                        *  but the interrupt vector is not neccesarily enabled), otherwise returns false.\r
+                        *  but the interrupt vector is not necessarily enabled), otherwise returns false.\r
                         */\r
                        #define USB_INT_HasOccurred(int)               ((USB_INT_GET_INT_REG(int)  &    USB_INT_GET_INT_MASK(int)) ? true : false)\r
                \r
                #if defined(__cplusplus)\r
                        }\r
                #endif\r
-               \r
+\r
 #endif\r
+\r
+/** @} */\r