aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/StdRequestType.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-10-28 07:52:52 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-10-28 07:52:52 +0000
commitb120c4e4cda5b5ed12a61697b5ab33d4dd0a70e8 (patch)
treee226bca6aee1711db57cb08be60a71c656b08193 /LUFA/Drivers/USB/HighLevel/StdRequestType.h
parentcb779e3d7d32d7c43e0a45bb526de0a04135b0c7 (diff)
downloadlufa-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/StdRequestType.h')
-rw-r--r--LUFA/Drivers/USB/HighLevel/StdRequestType.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdRequestType.h b/LUFA/Drivers/USB/HighLevel/StdRequestType.h
index 7432798f6..02afc9654 100644
--- a/LUFA/Drivers/USB/HighLevel/StdRequestType.h
+++ b/LUFA/Drivers/USB/HighLevel/StdRequestType.h
@@ -81,6 +81,8 @@
*/
#define CONTROL_REQTYPE_RECIPIENT 0x1F
+ /** \name Control Request Data Direction Masks */
+ //@{
/** Request data direction mask, indicating that the request data will flow from host to device.
*
* \see \ref CONTROL_REQTYPE_DIRECTION macro.
@@ -92,7 +94,10 @@
* \see \ref CONTROL_REQTYPE_DIRECTION macro.
*/
#define REQDIR_DEVICETOHOST (1 << 7)
+ //@}
+ /** \name Control Request Type Masks */
+ //@{
/** Request type mask, indicating that the request is a standard request.
*
* \see \ref CONTROL_REQTYPE_TYPE macro.
@@ -110,7 +115,10 @@
* \see \ref CONTROL_REQTYPE_TYPE macro.
*/
#define REQTYPE_VENDOR (2 << 5)
+ //@}
+ /** \name Control Request Recipient Masks */
+ //@{
/** Request recipient mask, indicating that the request is to be issued to the device as a whole.
*
* \see \ref CONTROL_REQTYPE_RECIPIENT macro.
@@ -137,7 +145,10 @@
* \see \ref CONTROL_REQTYPE_RECIPIENT macro.
*/
#define REQREC_OTHER (3 << 0)
+ //@}
+ /** \name Feature Request Types */
+ //@{
/** Feature indicator for Clear Feature or Set Feature commands. When used in a Clear Feature
* request this indicates that an endpoint (whose address is given elsewhere in the request
* should have its stall condition cleared. If used in a similar manner inside a Set Feature
@@ -151,6 +162,7 @@
* request, this re-enabled the remote wakeup feature on the device.
*/
#define FEATURE_REMOTE_WAKEUP 0x01
+ //@}
/* Type Defines: */
/** \brief Standard USB Control Request