USB_HostRequest renamed to USB_ControlRequest, entire control request header is now...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / USBTask.h
index 833fd9e..7e88ce8 100644 (file)
@@ -40,6 +40,7 @@
                \r
                #include "../../../Scheduler/Scheduler.h"\r
                #include "../LowLevel/LowLevel.h"\r
+               #include "StdRequestType.h"\r
                #include "USBMode.h"\r
                #include "Events.h"\r
                #include "StdDescriptors.h"\r
                         */\r
                        extern volatile bool USB_IsInitialized;\r
 \r
+                       /** Structure containing the last received Control request when in Device mode (for use in user-applications\r
+                        *  inside of the USB_UnhandledControlPacket() event, or for filling up with a control request to issue when\r
+                        *  in Host mode before calling USB_Host_SendControlRequest().\r
+                        *\r
+                        *  \ingroup Group_USBManagement\r
+                        */\r
+                        extern USB_Request_Header_t USB_ControlRequest;\r
+                       \r
                        #if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)\r
                        /** Indicates if the USB interface is currently suspended by the host when in device mode. When suspended,\r
                         *  the device should consume minimal power, and cannot communicate to the host. If Remote Wakeup is\r