X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..32e735b2b2eefb74e0415a5826692f7ba8c0a984:/LUFA/Drivers/USB/LowLevel/DevChapter9.h diff --git a/LUFA/Drivers/USB/LowLevel/DevChapter9.h b/LUFA/Drivers/USB/LowLevel/DevChapter9.h index 5e1772a53..23b7b4620 100644 --- a/LUFA/Drivers/USB/LowLevel/DevChapter9.h +++ b/LUFA/Drivers/USB/LowLevel/DevChapter9.h @@ -28,14 +28,6 @@ this software. */ -/** \file - * - * Module for device mode request processing. This module allows for the processing of standard control - * requests to the default control endpoint while in device mode. - * - * \see Chapter 9 of the USB 2.0 specification. - */ - #ifndef __DEVCHAPTER9_H__ #define __DEVCHAPTER9_H__ @@ -46,8 +38,8 @@ #include "../HighLevel/StdDescriptors.h" #include "../HighLevel/Events.h" + #include "../HighLevel/StdRequestType.h" #include "LowLevel.h" - #include "StdRequestType.h" /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) @@ -66,6 +58,8 @@ * * \note This variable should be treated as read-only in the user application, and never manually * changed in value. + * + * \ingroup Group_Device */ extern uint8_t USB_ConfigurationNumber; @@ -74,12 +68,16 @@ * * \note This variable should be treated as read-only in the user application, and never manually * changed in value. + * + * \ingroup Group_Device */ extern bool USB_RemoteWakeupEnabled; /** Indicates if the device is currently being powered by its own power supply, rather than being * powered by the host's USB supply. This flag should remain cleared if the device does not * support self powered mode, as indicated in the device descriptors. + * + * \ingroup Group_Device */ extern bool USB_CurrentlySelfPowered; @@ -121,7 +119,7 @@ static void USB_Device_GetConfiguration(void); static void USB_Device_GetDescriptor(void); static void USB_Device_GetStatus(const uint8_t bmRequestType); - #if !defined(NO_CLEARSET_FEATURE_REQUEST) + #if !defined(FEATURELESS_CONTROL_ONLY_DEVICE) static void USB_Device_ClearSetFeature(const uint8_t bRequest, const uint8_t bmRequestType); #endif #endif