diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-28 07:52:52 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-28 07:52:52 +0000 |
commit | b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8 (patch) | |
tree | e226bca6aee1711db57cb08be60a71c656b08193 /LUFA/Drivers/USB/HighLevel/StdDescriptors.h | |
parent | cb779e3d7d32d7c43e0a45bb526de0a04135b0c7 (diff) | |
download | lufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.tar.gz lufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.tar.bz2 lufa-b120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8.zip |
Move RNDISConstants.h into the RNDIS class driver common definition header.
Add logical grouping of related #define values for better Doxygen documentation.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/StdDescriptors.h')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index 717c935e6..c650b5b7f 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -119,6 +119,8 @@ */ #define LANGUAGE_ID_ENG 0x0409 + /** \name Endpoint Address Direction Masks */ + //@{ /** Can be masked with an endpoint address for a \ref USB_Descriptor_Endpoint_t endpoint descriptor's * EndpointAddress value to indicate to the host that the endpoint is of the IN direction (i.e, from * device to host). @@ -130,7 +132,10 @@ * host to device). */ #define ENDPOINT_DESCRIPTOR_DIR_OUT 0x00 + //@} + /** \name USB Configuration Descriptor Attribute Masks */ + //@{ /** Can be masked with other configuration descriptor attributes for a \ref USB_Descriptor_Configuration_Header_t * descriptor's ConfigAttributes value to indicate that the specified configuration can draw its power * from the host's VBUS line. @@ -149,7 +154,10 @@ * request. */ #define USB_CONFIG_ATTR_REMOTEWAKEUP 0x20 - + //@} + + /** \name Endpoint Descriptor Attribute Masks */ + //@{ /** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's * Attributes value to indicate that the specified endpoint is not synchronized. * @@ -177,7 +185,10 @@ * \see The USB specification for more details on the possible Endpoint attributes. */ #define ENDPOINT_ATTR_SYNC (3 << 2) - + //@} + + /** \name Endpoint Descriptor Usage Masks */ + //@{ /** Can be masked with other endpoint descriptor attributes for a \ref USB_Descriptor_Endpoint_t descriptor's * Attributes value to indicate that the specified endpoint is used for data transfers. * @@ -198,7 +209,8 @@ * \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 |