diff options
author | Dean Camera <[email protected]> | 2010-09-28 12:14:06 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-09-28 12:14:06 +0000 |
commit | 713670043a1edb714461fc83c2b8817f3db99961 (patch) | |
tree | 9c45545908c0ad14ad8e136e34de00867fc569a7 /LUFA/Drivers/USB/HighLevel/StdDescriptors.h | |
parent | 800485bd95de4287006a0d0aa099bc510e929531 (diff) | |
download | qmk_firmware-713670043a1edb714461fc83c2b8817f3db99961.tar.gz qmk_firmware-713670043a1edb714461fc83c2b8817f3db99961.zip |
Move out many of the common class driver constants into grouped enums, to make them more managable.
Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names.
Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/StdDescriptors.h')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index 4339479977..00b60c3d3a 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -198,7 +198,7 @@ * \see The USB specification for more details on the possible Endpoint usage attributes. */ #define ENDPOINT_USAGE_IMPLICIT_FEEDBACK (2 << 4) - + /* Enums: */ /** Enum for the possible standard descriptor types, as given in each descriptor's header. */ enum USB_DescriptorTypes_t @@ -212,6 +212,8 @@ DTYPE_Other = 0x07, /**< Indicates that the descriptor is of other type. */ DTYPE_InterfacePower = 0x08, /**< Indicates that the descriptor is an interface power descriptor. */ DTYPE_InterfaceAssociation = 0x0B, /**< Indicates that the descriptor is an interface association descriptor. */ + DTYPE_CSInterface = 0x24, /**< Indicates that the descriptor is a class specific interface descriptor. */ + DTYPE_CSEndpoint = 0x25, /**< Indicates that the descriptor is a class specific endpoint descriptor. */ }; /* Type Defines: */ |