projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed CDC and USBtoSerial demos freezing where buffers were full while still transmit...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
USBInterrupt.h
diff --git
a/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
b/LUFA/Drivers/USB/HighLevel/USBInterrupt.h
index
8438a58
..
65e0b5f
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/USBInterrupt.h
+++ b/
LUFA/Drivers/USB/HighLevel/USBInterrupt.h
@@
-34,6
+34,14
@@
* events as VBUS interrupts (on supported USB AVR models), device connections and disconnections, etc.
\r
*/
\r
\r
* 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
#ifndef __USBINTERRUPT_H__
\r
#define __USBINTERRUPT_H__
\r
\r
@@
-43,7
+51,7
@@
\r
#include "../../../Common/Common.h"
\r
#include "../LowLevel/LowLevel.h"
\r
\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
#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
#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 nec
ce
sarily enabled), otherwise returns false.
\r
+ * but the interrupt vector is not nec
es
sarily 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
*/
\r
#define USB_INT_HasOccurred(int) ((USB_INT_GET_INT_REG(int) & USB_INT_GET_INT_MASK(int)) ? true : false)
\r
\r
@@
-220,5
+228,7
@@
#if defined(__cplusplus)
\r
}
\r
#endif
\r
#if defined(__cplusplus)
\r
}
\r
#endif
\r
-
\r
+
\r
#endif
\r
#endif
\r
+
\r
+/** @} */
\r