Add extra LUFA TAR archive export exclusions.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / ConfigDescriptor.h
index 634dc8f..5e97939 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2011.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -36,7 +36,7 @@
  *        dispatch header located in LUFA/Drivers/USB/USB.h.
  */
 
-/** \ingroup Group_Descriptors
+/** \ingroup Group_StdDescriptors
  *  \defgroup Group_ConfigDescriptorParser Configuration Descriptor Parser
  *  \brief USB Configuration Descriptor definitions.
  *
@@ -52,7 +52,7 @@
 
        /* Includes: */
                #include "../../../Common/Common.h"
-               #include "USBMode.h"            
+               #include "USBMode.h"
                #include "HostStandardReq.h"
                #include "StdDescriptors.h"
 
 
        /* 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 \c 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.
                         *
                         */
                        uint8_t USB_GetNextDescriptorComp(uint16_t* const BytesRem,
                                                          void** const CurrConfigLoc,
-                                                         const ConfigComparatorPtr_t const ComparatorRoutine);
+                                                         ConfigComparatorPtr_t const ComparatorRoutine);
 
                /* Inline Functions: */
                        /** Skips over the current sub-descriptor inside the configuration descriptor, so that the pointer then
                                                                 void** CurrConfigLoc)
                        {
                                uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
-                               
+
                                if (*BytesRem < CurrDescriptorSize)
                                  CurrDescriptorSize = *BytesRem;