STM32_USB_Device_Library
usb_setup_req::wLength
is only used within STM32_USB_Device_Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32_USB_Device_Library
usb_setup_req::wLength
usb_setup_req::wLength field
Syntax
from
usbd_def.h:203
uint16_t
wLength
;
References
Location
Referrer
Text
usbd_def.h:203
uint16_t
wLength
;
usbd_audio.c:505
USBD_AUDIO_Setup()
len
=
MIN
(
USB_AUDIO_DESC_SIZ
,
req
->
wLength
)
;
usbd_audio.c:849
AUDIO_REQ_GetCurrent()
MIN
(
req
->
wLength
,
USB_MAX_EP0_SIZE
)
)
;
usbd_audio.c:869
AUDIO_REQ_SetCurrent()
if
(
req
->
wLength
!=
0U
)
usbd_audio.c:872
AUDIO_REQ_SetCurrent()
haudio
->
control
.
len
=
(
uint8_t
)
MIN
(
req
->
wLength
,
USB_MAX_EP0_SIZE
)
;
/* Set the request data length */
usbd_cdc.c:449
USBD_CDC_Setup()
if
(
req
->
wLength
!=
0U
)
usbd_cdc.c:455
USBD_CDC_Setup()
req
->
wLength
)
;
usbd_cdc.c:457
USBD_CDC_Setup()
len
=
MIN
(
CDC_REQ_MAX_DATA_SIZE
,
req
->
wLength
)
;
usbd_cdc.c:463
USBD_CDC_Setup()
hcdc
->
CmdLength
=
(
uint8_t
)
MIN
(
req
->
wLength
,
USB_MAX_EP0_SIZE
)
;
usbd_core.c:552
USBD_LL_SetupStage()
pdev
->
ep0_data_len
=
pdev
->
request
.
wLength
;
usbd_ctlreq.c:205
USBD_StdItfReq()
if
(
(
req
->
wLength
==
0U
)
&&
(
ret
==
USBD_OK
)
)
usbd_ctlreq.c:284
USBD_StdEPReq()
if
(
(
ep_addr
!=
0x00U
)
&&
(
ep_addr
!=
0x80U
)
&&
(
req
->
wLength
==
0x00U
)
)
usbd_ctlreq.c:654
USBD_GetDescriptor()
if
(
req
->
wLength
!=
0U
)
usbd_ctlreq.c:658
USBD_GetDescriptor()
len
=
MIN
(
len
,
req
->
wLength
)
;
usbd_ctlreq.c:684
USBD_SetAddress()
if
(
(
req
->
wIndex
==
0U
)
&&
(
req
->
wLength
==
0U
)
&&
(
req
->
wValue
<
128U
)
)
usbd_ctlreq.c:821
USBD_GetConfig()
if
(
req
->
wLength
!=
1U
)
usbd_ctlreq.c:860
USBD_GetStatus()
if
(
req
->
wLength
!=
0x2U
)
usbd_ctlreq.c:966
USBD_ParseSetupRequest()
req
->
wLength
=
SWAPBYTE
(
pbuff
)
;
usbd_customhid.c:402
USBD_CUSTOM_HID_Setup()
MIN
(
req
->
wLength
,
USBD_CUSTOMHID_OUTREPORT_BUF_SIZE
)
)
;
usbd_customhid.c:470
USBD_CUSTOM_HID_Setup()
len
=
MIN
(
USBD_CUSTOM_HID_REPORT_DESC_SIZE
,
req
->
wLength
)
;
usbd_customhid.c:478
USBD_CUSTOM_HID_Setup()
len
=
MIN
(
USB_CUSTOM_HID_DESC_SIZ
,
req
->
wLength
)
;
usbd_dfu.c:425
USBD_DFU_Setup()
len
=
MIN
(
USB_DFU_DESC_SIZ
,
req
->
wLength
)
;
usbd_dfu.c:655
USBD_DFU_EP0_TxReady()
req
.
wLength
=
1U
;
usbd_dfu.c:870
DFU_Download()
if
(
req
->
wLength
>
0U
)
usbd_dfu.c:876
DFU_Download()
hdfu
->
wlength
=
MIN
(
req
->
wLength
,
USBD_DFU_XFER_SIZE
)
;
usbd_dfu.c:955
DFU_Upload()
if
(
req
->
wLength
>
0U
)
usbd_dfu.c:961
DFU_Upload()
hdfu
->
wlength
=
MIN
(
req
->
wLength
,
USBD_DFU_XFER_SIZE
)
;
usbd_hid.c:415
USBD_HID_Setup()
len
=
MIN
(
HID_MOUSE_REPORT_DESC_SIZE
,
req
->
wLength
)
;
usbd_hid.c:421
USBD_HID_Setup()
len
=
MIN
(
USB_HID_DESC_SIZ
,
req
->
wLength
)
;
usbd_msc.c:332
USBD_MSC_Setup()
if
(
(
req
->
wValue
==
0U
)
&&
(
req
->
wLength
==
1U
)
&&
usbd_msc.c:346
USBD_MSC_Setup()
if
(
(
req
->
wValue
==
0U
)
&&
(
req
->
wLength
==
0U
)
&&
Data Use
Functions writing
usb_setup_req::wLength
Functions reading
usb_setup_req::wLength
USBD_ParseSetupRequest()
USBD_DFU_EP0_TxReady()
all items filtered out
usb_setup_req::wLength
USBD_LL_SetupStage()
USBD_StdItfReq()
USBD_StdEPReq()
USBD_GetDescriptor()
USBD_SetAddress()
USBD_GetConfig()
USBD_GetStatus()
USBD_AUDIO_Setup()
AUDIO_REQ_GetCurrent()
AUDIO_REQ_SetCurrent()
USBD_CDC_Setup()
USBD_CUSTOM_HID_Setup()
USBD_DFU_Setup()
DFU_Download()
DFU_Upload()
USBD_HID_Setup()
USBD_MSC_Setup()
all items filtered out
Type of
usb_setup_req::wLength
usb_setup_req::wLength
uint16_t
all items filtered out