X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..663f449c10b9a77a429aaa81066ce2b43ca6dc39:/LUFA/Drivers/USB/HighLevel/USBInterrupt.h diff --git a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h index 8438a589e..c5b0a8358 100644 --- a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h +++ b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h @@ -28,10 +28,14 @@ this software. */ -/** \file +/** \ingroup Group_USB + * @defgroup Group_USBInterrupt Endpoint and Pipe Interrupts * - * Main USB interrupt vector handler. This file manages the main USB interrupt vector, for handling such - * events as VBUS interrupts (on supported USB AVR models), device connections and disconnections, etc. + * This module manages the main USB interrupt vector, for handling such events as VBUS interrupts + * (on supported USB AVR models), device connections and disconnections, etc. as well as providing + * easy to use macros for the management of the unified Endpoint/Pipe interrupt vector. + * + * @{ */ #ifndef __USBINTERRUPT_H__ @@ -43,7 +47,7 @@ #include "../../../Common/Common.h" #include "../LowLevel/LowLevel.h" - #include "../LowLevel/USBMode.h" + #include "USBMode.h" #include "Events.h" /* Enable C linkage for C++ Compilers: */ @@ -79,7 +83,7 @@ #define USB_INT_IsEnabled(int) ((USB_INT_GET_EN_REG(int) & USB_INT_GET_EN_MASK(int)) ? true : false) /** Returns boolean true if the given interrupt flag is set (i.e. the condition for the interrupt has occurred, - * but the interrupt vector is not neccesarily enabled), otherwise returns false. + * but the interrupt vector is not necessarily enabled), otherwise returns false. */ #define USB_INT_HasOccurred(int) ((USB_INT_GET_INT_REG(int) & USB_INT_GET_INT_MASK(int)) ? true : false) @@ -220,5 +224,7 @@ #if defined(__cplusplus) } #endif - + #endif + +/** @} */