Removed "Host_" section of the function names in ConfigDescriptor.h, as most of the...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / DevChapter9.h
index 5e1772a..23b7b46 100644 (file)
   this software.\r
 */\r
 \r
-/** \file\r
- *\r
- *  Module for device mode request processing. This module allows for the processing of standard control\r
- *  requests to the default control endpoint while in device mode.\r
- *\r
- *  \see Chapter 9 of the USB 2.0 specification.\r
- */\r
-\r
 #ifndef __DEVCHAPTER9_H__\r
 #define __DEVCHAPTER9_H__\r
 \r
@@ -46,8 +38,8 @@
                \r
                #include "../HighLevel/StdDescriptors.h"\r
                #include "../HighLevel/Events.h"\r
+               #include "../HighLevel/StdRequestType.h"\r
                #include "LowLevel.h"\r
-               #include "StdRequestType.h"\r
 \r
        /* Enable C linkage for C++ Compilers: */\r
                #if defined(__cplusplus)\r
@@ -66,6 +58,8 @@
                         *\r
                         *  \note This variable should be treated as read-only in the user application, and never manually\r
                         *        changed in value.\r
+                        *\r
+                        *  \ingroup Group_Device\r
                         */\r
                        extern uint8_t USB_ConfigurationNumber;\r
                        \r
                         *\r
                         *  \note This variable should be treated as read-only in the user application, and never manually\r
                         *        changed in value.\r
+                        *\r
+                        *  \ingroup Group_Device\r
                         */\r
                        extern bool USB_RemoteWakeupEnabled;\r
                        \r
                        /** Indicates if the device is currently being powered by its own power supply, rather than being\r
                         *  powered by the host's USB supply. This flag should remain cleared if the device does not\r
                         *  support self powered mode, as indicated in the device descriptors.\r
+                        *\r
+                        *  \ingroup Group_Device\r
                         */\r
                        extern bool USB_CurrentlySelfPowered;\r
 \r
                                static void USB_Device_GetConfiguration(void);\r
                                static void USB_Device_GetDescriptor(void);\r
                                static void USB_Device_GetStatus(const uint8_t bmRequestType);\r
-                               #if !defined(NO_CLEARSET_FEATURE_REQUEST)\r
+                               #if !defined(FEATURELESS_CONTROL_ONLY_DEVICE)\r
                                static void USB_Device_ClearSetFeature(const uint8_t bRequest, const uint8_t bmRequestType);\r
                                #endif\r
                        #endif\r