projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder to fix...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Pipe.h
diff --git
a/LUFA/Drivers/USB/LowLevel/Pipe.h
b/LUFA/Drivers/USB/LowLevel/Pipe.h
index
afae6bc
..
16b5ea6
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Pipe.h
+++ b/
LUFA/Drivers/USB/LowLevel/Pipe.h
@@
-175,6
+175,11
@@
*/
\r
#define PIPE_EPNUM_MASK 0x0F
\r
\r
*/
\r
#define PIPE_EPNUM_MASK 0x0F
\r
\r
+ /** Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's
\r
+ * direction for comparing with the ENDPOINT_DESCRIPTOR_DIR_* masks.
\r
+ */
\r
+ #define PIPE_EPDIR_MASK 0x80
\r
+
\r
/* Pseudo-Function Macros: */
\r
#if defined(__DOXYGEN__)
\r
/** Indicates the number of bytes currently stored in the current pipes's selected bank.
\r
/* Pseudo-Function Macros: */
\r
#if defined(__DOXYGEN__)
\r
/** Indicates the number of bytes currently stored in the current pipes's selected bank.
\r
@@
-805,9
+810,10
@@
/** Determines if a pipe has been bound to the given device endpoint address. If a pipe which is bound to the given
\r
* endpoint is found, it is automatically selected.
\r
*
\r
/** Determines if a pipe has been bound to the given device endpoint address. If a pipe which is bound to the given
\r
* endpoint is found, it is automatically selected.
\r
*
\r
- * \param[in] EndpointAddress Address of the endpoint within the attached device to check
\r
+ * \param[in] EndpointAddress Address
and direction mask
of the endpoint within the attached device to check
\r
*
\r
*
\r
- * \return Boolean true if a pipe bound to the given endpoint address is found, false otherwise
\r
+ * \return Boolean true if a pipe bound to the given endpoint address of the specified direction is found, false
\r
+ * otherwise
\r
*/
\r
bool Pipe_IsEndpointBound(const uint8_t EndpointAddress);
\r
\r
*/
\r
bool Pipe_IsEndpointBound(const uint8_t EndpointAddress);
\r
\r