projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed all binary constants and replaced with decimal or hexadecimal constants so...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
ConfigDescriptor.h
diff --git
a/LUFA/Drivers/USB/Class/ConfigDescriptor.h
b/LUFA/Drivers/USB/Class/ConfigDescriptor.h
index
d42b71c
..
bd92b51
100644
(file)
--- a/
LUFA/Drivers/USB/Class/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/Class/ConfigDescriptor.h
@@
-52,6
+52,11
@@
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
+ /** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared
\r
+ * with the EP_TYPE_* masks to determine the exact type of the endpoint.
\r
+ */
\r
+ #define EP_TYPE_MASK 0x03
\r
+
\r
/** Casts a pointer to a descriptor inside the configuration descriptor into a pointer to the given
\r
* descriptor type.
\r
*
\r
/** Casts a pointer to a descriptor inside the configuration descriptor into a pointer to the given
\r
* descriptor type.
\r
*
\r