STM32_USB_Device_Library
usb_setup_req::wValue
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::wValue
usb_setup_req::wValue field
Syntax
from
usbd_def.h:201
uint16_t
wValue
;
References
Location
Referrer
Text
usbd_def.h:201
uint16_t
wValue
;
usbd_audio.c:500
USBD_AUDIO_Setup()
if
(
(
req
->
wValue
>
>
8
)
==
AUDIO_DESCRIPTOR_TYPE
)
usbd_audio.c:531
USBD_AUDIO_Setup()
if
(
(
uint8_t
)
(
req
->
wValue
)
<=
USBD_MAX_NUM_INTERFACES
)
usbd_audio.c:533
USBD_AUDIO_Setup()
haudio
->
alt_setting
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_ctlreq.c:282
USBD_StdEPReq()
if
(
req
->
wValue
==
USB_FEATURE_EP_HALT
)
usbd_ctlreq.c:316
USBD_StdEPReq()
if
(
req
->
wValue
==
USB_FEATURE_EP_HALT
)
usbd_ctlreq.c:432
USBD_GetDescriptor()
switch
(
req
->
wValue
>
>
8
)
usbd_ctlreq.c:483
USBD_GetDescriptor()
switch
(
(
uint8_t
)
(
req
->
wValue
)
)
usbd_ctlreq.c:566
USBD_GetDescriptor()
pbuf
=
pdev
->
pClass
[
idx
]
->
GetUsrStrDescriptor
(
pdev
,
LOBYTE
(
req
->
wValue
)
,
&
len
)
;
usbd_ctlreq.c:684
USBD_SetAddress()
if
(
(
req
->
wIndex
==
0U
)
&&
(
req
->
wLength
==
0U
)
&&
(
req
->
wValue
<
128U
)
)
usbd_ctlreq.c:686
USBD_SetAddress()
dev_addr
=
(
uint8_t
)
(
req
->
wValue
)
&
0x7FU
;
usbd_ctlreq.c:726
USBD_SetConfig()
cfgidx
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_ctlreq.c:896
USBD_SetFeature()
if
(
req
->
wValue
==
USB_FEATURE_REMOTE_WAKEUP
)
usbd_ctlreq.c:901
USBD_SetFeature()
else
if
(
req
->
wValue
==
USB_FEATURE_TEST_MODE
)
usbd_ctlreq.c:927
USBD_ClrFeature()
if
(
req
->
wValue
==
USB_FEATURE_REMOTE_WAKEUP
)
usbd_ctlreq.c:958
USBD_ParseSetupRequest()
req
->
wValue
=
SWAPBYTE
(
pbuff
)
;
usbd_customhid.c:375
USBD_CUSTOM_HID_Setup()
hhid
->
Protocol
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_customhid.c:383
USBD_CUSTOM_HID_Setup()
hhid
->
IdleState
=
(
uint8_t
)
(
req
->
wValue
>
>
8
)
;
usbd_customhid.c:468
USBD_CUSTOM_HID_Setup()
if
(
(
req
->
wValue
>
>
8
)
==
CUSTOM_HID_REPORT_DESC
)
usbd_customhid.c:475
USBD_CUSTOM_HID_Setup()
if
(
(
req
->
wValue
>
>
8
)
==
CUSTOM_HID_DESCRIPTOR_TYPE
)
usbd_customhid.c:500
USBD_CUSTOM_HID_Setup()
hhid
->
AltSetting
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_dfu.c:419
USBD_DFU_Setup()
if
(
(
req
->
wValue
>
>
8
)
==
DFU_DESCRIPTOR_TYPE
)
usbd_dfu.c:449
USBD_DFU_Setup()
if
(
(
uint8_t
)
(
req
->
wValue
)
<
USBD_DFU_MAX_ITF_NUM
)
usbd_dfu.c:453
USBD_DFU_Setup()
hdfu
->
alt_setting
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_dfu.c:844
DFU_Detach()
USBD_Delay
(
(
uint32_t
)
req
->
wValue
)
;
usbd_dfu.c:875
DFU_Download()
hdfu
->
wblock_num
=
req
->
wValue
;
usbd_dfu.c:960
DFU_Upload()
hdfu
->
wblock_num
=
req
->
wValue
;
usbd_hid.c:376
USBD_HID_Setup()
hhid
->
Protocol
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_hid.c:384
USBD_HID_Setup()
hhid
->
IdleState
=
(
uint8_t
)
(
req
->
wValue
>
>
8
)
;
usbd_hid.c:413
USBD_HID_Setup()
if
(
(
req
->
wValue
>
>
8
)
==
HID_REPORT_DESC
)
usbd_hid.c:418
USBD_HID_Setup()
else
if
(
(
req
->
wValue
>
>
8
)
==
HID_DESCRIPTOR_TYPE
)
usbd_hid.c:447
USBD_HID_Setup()
hhid
->
AltSetting
=
(
uint8_t
)
(
req
->
wValue
)
;
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
)
&&
usbd_msc.c:395
USBD_MSC_Setup()
hmsc
->
interface
=
(
uint8_t
)
(
req
->
wValue
)
;
usbd_msc.c:407
USBD_MSC_Setup()
if
(
req
->
wValue
==
USB_FEATURE_EP_HALT
)
Data Use
Functions writing
usb_setup_req::wValue
Functions reading
usb_setup_req::wValue
USBD_ParseSetupRequest()
all items filtered out
usb_setup_req::wValue
USBD_StdEPReq()
USBD_GetDescriptor()
USBD_SetAddress()
USBD_SetConfig()
USBD_SetFeature()
USBD_ClrFeature()
USBD_AUDIO_Setup()
USBD_CUSTOM_HID_Setup()
USBD_DFU_Setup()
DFU_Detach()
DFU_Download()
DFU_Upload()
USBD_HID_Setup()
USBD_MSC_Setup()
all items filtered out
Type of
usb_setup_req::wValue
usb_setup_req::wValue
uint16_t
all items filtered out