usb_setup_req::wLength is only used within STM32_USB_Device_Library.
 
Symbols
loading...
Files
loading...

usb_setup_req::wLength field

Syntax

uint16_t wLength;

References

LocationReferrerText
usbd_def.h:203
uint16_t wLength;
usbd_audio.c:505USBD_AUDIO_Setup()
len = MIN(USB_AUDIO_DESC_SIZ, req->wLength);
usbd_audio.c:849AUDIO_REQ_GetCurrent()
MIN(req->wLength, USB_MAX_EP0_SIZE));
usbd_audio.c:869AUDIO_REQ_SetCurrent()
if (req->wLength != 0U)
usbd_audio.c:872AUDIO_REQ_SetCurrent()
haudio->control.len = (uint8_t)MIN(req->wLength, USB_MAX_EP0_SIZE); /* Set the request data length */
usbd_cdc.c:449USBD_CDC_Setup()
if (req->wLength != 0U)
usbd_cdc.c:455USBD_CDC_Setup()
req->wLength);
usbd_cdc.c:457USBD_CDC_Setup()
len = MIN(CDC_REQ_MAX_DATA_SIZE, req->wLength);
usbd_cdc.c:463USBD_CDC_Setup()
hcdc->CmdLength = (uint8_t)MIN(req->wLength, USB_MAX_EP0_SIZE);
usbd_core.c:552USBD_LL_SetupStage()
usbd_ctlreq.c:205USBD_StdItfReq()
if ((req->wLength == 0U) && (ret == USBD_OK))
usbd_ctlreq.c:284USBD_StdEPReq()
if ((ep_addr != 0x00U) && (ep_addr != 0x80U) && (req->wLength == 0x00U))
usbd_ctlreq.c:654USBD_GetDescriptor()
if (req->wLength != 0U)
usbd_ctlreq.c:658USBD_GetDescriptor()
len = MIN(len, req->wLength);
usbd_ctlreq.c:684USBD_SetAddress()
if ((req->wIndex == 0U) && (req->wLength == 0U) && (req->wValue < 128U))
usbd_ctlreq.c:821USBD_GetConfig()
if (req->wLength != 1U)
usbd_ctlreq.c:860USBD_GetStatus()
if (req->wLength != 0x2U)
usbd_ctlreq.c:966USBD_ParseSetupRequest()
req->wLength = SWAPBYTE(pbuff);
usbd_customhid.c:402USBD_CUSTOM_HID_Setup()
MIN(req->wLength, USBD_CUSTOMHID_OUTREPORT_BUF_SIZE));
usbd_customhid.c:470USBD_CUSTOM_HID_Setup()
len = MIN(USBD_CUSTOM_HID_REPORT_DESC_SIZE, req->wLength);
usbd_customhid.c:478USBD_CUSTOM_HID_Setup()
len = MIN(USB_CUSTOM_HID_DESC_SIZ, req->wLength);
usbd_dfu.c:425USBD_DFU_Setup()
len = MIN(USB_DFU_DESC_SIZ, req->wLength);
usbd_dfu.c:655USBD_DFU_EP0_TxReady()
req.wLength = 1U;
usbd_dfu.c:870DFU_Download()
if (req->wLength > 0U)
usbd_dfu.c:876DFU_Download()
hdfu->wlength = MIN(req->wLength, USBD_DFU_XFER_SIZE);
usbd_dfu.c:955DFU_Upload()
if (req->wLength > 0U)
usbd_dfu.c:961DFU_Upload()
hdfu->wlength = MIN(req->wLength, USBD_DFU_XFER_SIZE);
usbd_hid.c:415USBD_HID_Setup()
usbd_hid.c:421USBD_HID_Setup()
len = MIN(USB_HID_DESC_SIZ, req->wLength);
usbd_msc.c:332USBD_MSC_Setup()
if ((req->wValue == 0U) && (req->wLength == 1U) &&
usbd_msc.c:346USBD_MSC_Setup()
if ((req->wValue == 0U) && (req->wLength == 0U) &&

Data Use

Type of usb_setup_req::wLength
usb_setup_req::wLength
uint16_t
all items filtered out