1# UsbControlRequestSetup 2 3 4## Overview 5 6Setup data for control transfer. It corresponds to <b>Setup Data</b> in the USB protocol. 7 8**Since** 9 1010 11 12**Related Modules** 13 14[USB DDK](_usb_ddk.md) 15 16 17## Summary 18 19 20### Member Variables 21 22| Name| Description| 23| -------- | -------- | 24| [bmRequestType](#bmrequesttype) | Request type.| 25| [bRequest](#brequest) | Specific request.| 26| [wValue](#wvalue) | Value corresponding to **wValue** in the USB protocol. Its meaning varies according to the request.| 27| [wIndex](#windex) | Index corresponding to **wIndex** in the USB protocol. It is usually used to transfer the index or offset. Its meaning varies according to the request. | 28| [wLength](#wlength) | Data length corresponding to **wLength** in the USB protocol. If data is transferred, this field indicates the number of transferred bytes.| 29 30 31## Member Variable Description 32 33 34### wIndex 35 36 37``` 38uint16_t UsbControlRequestSetup::wIndex 39``` 40 41**Description** 42 43Index corresponding to **wIndex** in the USB protocol. It is usually used to transfer the index or offset. Its meaning varies according to the request. 44 45 46### wLength 47 48 49``` 50uint16_t UsbControlRequestSetup::wLength 51``` 52 53**Description** 54 55Data length, corresponding to **wLength** in the USB protocol. If data is transferred, this field indicates the number of transferred bytes. 56 57 58### bRequest 59 60 61``` 62uint8_t UsbControlRequestSetup::bRequest 63``` 64 65**Description** 66 67Specific request. 68 69 70### bmRequestType 71 72 73``` 74uint8_t UsbControlRequestSetup::bmRequestType 75``` 76 77**Description** 78 79Request type. 80 81 82### wValue 83 84 85``` 86uint16_t UsbControlRequestSetup::wValue 87``` 88 89**Description** 90 91Value corresponding to **wValue** in the USB protocol. Its meaning varies according to the request. 92