X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/6933f2e1a543b066ebe734bd126a7ff2f1c2777f..6380d057f8911f5d09bdffff4220aa9602df49e2:/LUFA/Drivers/USB/LowLevel/HostChapter9.h diff --git a/LUFA/Drivers/USB/LowLevel/HostChapter9.h b/LUFA/Drivers/USB/LowLevel/HostChapter9.h index 4e4fa4f08..8e7695b34 100644 --- a/LUFA/Drivers/USB/LowLevel/HostChapter9.h +++ b/LUFA/Drivers/USB/LowLevel/HostChapter9.h @@ -44,7 +44,8 @@ #include #include "LowLevel.h" - #include "StdRequestType.h" + #include "../HighLevel/USBMode.h" + #include "../HighLevel/StdRequestType.h" /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) @@ -57,6 +58,8 @@ * * \see StdRequestType.h for information on the request type and data. * \see The USB 2.0 specification for more information on standard control requests. + * + * \ingroup Group_PipeControlReq */ typedef struct { @@ -70,6 +73,8 @@ /* Enums: */ /** Enum for the USB_Host_SendControlRequest() return code, indicating the reason for the error * if the transfer of the request is unsuccessful. + * + * \ingroup Group_PipeControlReq */ enum USB_Host_SendControlErrorCodes_t { @@ -88,13 +93,17 @@ /** Global for the request to send via the USB_Host_SendControlRequest() function. This * global should be filled with the correct control request data before sending the request to * the attached device while in host mode. + * + * \ingroup Group_PipeControlReq */ extern USB_Host_Request_Header_t USB_HostRequest; /* Function Prototypes: */ /** Sends the request stored in the USB_HostRequest global structure to the attached device, * and transfers the data stored in the buffer to the device, or from the device to the buffer - * as requested. + * as requested. The transfer is made on the currently selected pipe. + * + * \ingroup Group_PipeControlReq * * \param BufferPtr Pointer to the start of the data buffer if the request has a data stage, or * NULL if the request transfers no data to or from the device.