Removed all binary constants and replaced with decimal or hexadecimal constants so...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / ConfigDescriptor.h
index d42b71c..bd92b51 100644 (file)
 \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