X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6933f2e1a543b066ebe734bd126a7ff2f1c2777f..ecaf872177e771b6b7e331b47a5b68832b5dd126:/LUFA/Drivers/USB/Class/ConfigDescriptor.h?ds=inline diff --git a/LUFA/Drivers/USB/Class/ConfigDescriptor.h b/LUFA/Drivers/USB/Class/ConfigDescriptor.h index d42b71cce..bd92b51f3 100644 --- a/LUFA/Drivers/USB/Class/ConfigDescriptor.h +++ b/LUFA/Drivers/USB/Class/ConfigDescriptor.h @@ -52,6 +52,11 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ + /** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared + * with the EP_TYPE_* masks to determine the exact type of the endpoint. + */ + #define EP_TYPE_MASK 0x03 + /** Casts a pointer to a descriptor inside the configuration descriptor into a pointer to the given * descriptor type. *