STM32_USB_Host_Library
USBH_CtrlTypeDef::setup
is only used within STM32_USB_Host_Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32_USB_Host_Library
USBH_CtrlTypeDef::setup
USBH_CtrlTypeDef::setup field
Syntax
from
usbh_def.h:424
USB_Setup_TypeDef
setup
;
References
Location
Referrer
Text
usbh_def.h:424
USB_Setup_TypeDef
setup
;
usbh_audio.c:1263
USBH_AC_SetCur()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_INTERFACE
usbh_audio.c:1266
USBH_AC_SetCur()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_SET_CUR
;
usbh_audio.c:1267
USBH_AC_SetCur()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1268
USBH_AC_SetCur()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1269
USBH_AC_SetCur()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_audio.c:1335
USBH_AC_GetCur()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_audio.c:1338
USBH_AC_GetCur()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_GET_CUR
;
usbh_audio.c:1339
USBH_AC_GetCur()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1340
USBH_AC_GetCur()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1341
USBH_AC_GetCur()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_audio.c:1408
USBH_AC_GetMax()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_audio.c:1411
USBH_AC_GetMax()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_GET_MAX
;
usbh_audio.c:1412
USBH_AC_GetMax()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1413
USBH_AC_GetMax()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1414
USBH_AC_GetMax()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_audio.c:1481
USBH_AC_GetRes()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_RECIPIENT_INTERFACE
usbh_audio.c:1484
USBH_AC_GetRes()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_GET_RES
;
usbh_audio.c:1485
USBH_AC_GetRes()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1486
USBH_AC_GetRes()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1487
USBH_AC_GetRes()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_audio.c:1554
USBH_AC_GetMin()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_audio.c:1557
USBH_AC_GetMin()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_GET_MIN
;
usbh_audio.c:1558
USBH_AC_GetMin()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1559
USBH_AC_GetMin()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1560
USBH_AC_GetMin()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_audio.c:1583
USBH_AUDIO_SetEndpointControls()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_ENDPOINT
|
\
usbh_audio.c:1586
USBH_AUDIO_SetEndpointControls()
phost
->
Control
.
setup
.
b
.
bRequest
=
UAC_SET_CUR
;
usbh_audio.c:1587
USBH_AUDIO_SetEndpointControls()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_audio.c:1588
USBH_AUDIO_SetEndpointControls()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
wIndex
;
usbh_audio.c:1589
USBH_AUDIO_SetEndpointControls()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
wLength
;
usbh_cdc.c:460
GetLineCoding()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_TYPE_CLASS
|
\
usbh_cdc.c:463
GetLineCoding()
phost
->
Control
.
setup
.
b
.
bRequest
=
CDC_GET_LINE_CODING
;
usbh_cdc.c:464
GetLineCoding()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
0U
;
usbh_cdc.c:465
GetLineCoding()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_cdc.c:466
GetLineCoding()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
LINE_CODING_STRUCTURE_SIZE
;
usbh_cdc.c:483
SetLineCoding()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_TYPE_CLASS
|
usbh_cdc.c:486
SetLineCoding()
phost
->
Control
.
setup
.
b
.
bRequest
=
CDC_SET_LINE_CODING
;
usbh_cdc.c:487
SetLineCoding()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
0U
;
usbh_cdc.c:489
SetLineCoding()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_cdc.c:491
SetLineCoding()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
LINE_CODING_STRUCTURE_SIZE
;
usbh_ctlreq.c:204
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
req_type
;
usbh_ctlreq.c:205
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_GET_DESCRIPTOR
;
usbh_ctlreq.c:206
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
value_idx
;
usbh_ctlreq.c:210
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0x0409U
;
usbh_ctlreq.c:214
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_ctlreq.c:216
USBH_GetDescriptor()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
length
;
usbh_ctlreq.c:235
USBH_SetAddress()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_DEVICE
|
\
usbh_ctlreq.c:238
USBH_SetAddress()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_SET_ADDRESS
;
usbh_ctlreq.c:240
USBH_SetAddress()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
(
uint16_t
)
DeviceAddress
;
usbh_ctlreq.c:241
USBH_SetAddress()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_ctlreq.c:242
USBH_SetAddress()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_ctlreq.c:260
USBH_SetCfg()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_DEVICE
usbh_ctlreq.c:263
USBH_SetCfg()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_SET_CONFIGURATION
;
usbh_ctlreq.c:264
USBH_SetCfg()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
cfg_idx
;
usbh_ctlreq.c:265
USBH_SetCfg()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_ctlreq.c:266
USBH_SetCfg()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_ctlreq.c:284
USBH_SetInterface()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_INTERFACE
usbh_ctlreq.c:287
USBH_SetInterface()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_SET_INTERFACE
;
usbh_ctlreq.c:288
USBH_SetInterface()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
altSetting
;
usbh_ctlreq.c:289
USBH_SetInterface()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
ep_num
;
usbh_ctlreq.c:290
USBH_SetInterface()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_ctlreq.c:308
USBH_SetFeature()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_DEVICE
usbh_ctlreq.c:311
USBH_SetFeature()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_SET_FEATURE
;
usbh_ctlreq.c:312
USBH_SetFeature()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
wValue
;
usbh_ctlreq.c:313
USBH_SetFeature()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_ctlreq.c:314
USBH_SetFeature()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_ctlreq.c:333
USBH_ClrFeature()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_ENDPOINT
usbh_ctlreq.c:336
USBH_ClrFeature()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_CLEAR_FEATURE
;
usbh_ctlreq.c:337
USBH_ClrFeature()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
FEATURE_SELECTOR_ENDPOINT
;
usbh_ctlreq.c:338
USBH_ClrFeature()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
ep_num
;
usbh_ctlreq.c:339
USBH_ClrFeature()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_ctlreq.c:825
USBH_HandleControl()
(
void
)
USBH_CtlSendSetup
(
phost
,
(
uint8_t
*
)
(
void
*
)
phost
->
Control
.
setup
.
d8
,
usbh_ctlreq.c:837
USBH_HandleControl()
direction
=
(
phost
->
Control
.
setup
.
b
.
bmRequestType
&
USB_REQ_DIR_MASK
)
;
usbh_ctlreq.c:840
USBH_HandleControl()
if
(
phost
->
Control
.
setup
.
b
.
wLength
.
w
!=
0U
)
usbh_hid.c:616
USBH_HID_SetIdle()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_hid.c:620
USBH_HID_SetIdle()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_HID_SET_IDLE
;
usbh_hid.c:621
USBH_HID_SetIdle()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
(
uint16_t
)
(
(
(
uint32_t
)
duration
<
<
8U
)
|
(
uint32_t
)
reportId
)
;
usbh_hid.c:623
USBH_HID_SetIdle()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_hid.c:624
USBH_HID_SetIdle()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_hid.c:647
USBH_HID_SetReport()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_hid.c:651
USBH_HID_SetReport()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_HID_SET_REPORT
;
usbh_hid.c:652
USBH_HID_SetReport()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
(
uint16_t
)
(
(
(
uint32_t
)
reportType
<
<
8U
)
|
(
uint32_t
)
reportId
)
;
usbh_hid.c:654
USBH_HID_SetReport()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_hid.c:655
USBH_HID_SetReport()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
reportLen
;
usbh_hid.c:678
USBH_HID_GetReport()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_RECIPIENT_INTERFACE
|
\
usbh_hid.c:682
USBH_HID_GetReport()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_HID_GET_REPORT
;
usbh_hid.c:683
USBH_HID_GetReport()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
(
uint16_t
)
(
(
(
uint32_t
)
reportType
<
<
8U
)
|
(
uint32_t
)
reportId
)
;
usbh_hid.c:685
USBH_HID_GetReport()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_hid.c:686
USBH_HID_GetReport()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
reportLen
;
usbh_hid.c:701
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_RECIPIENT_INTERFACE
usbh_hid.c:704
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_HID_SET_PROTOCOL
;
usbh_hid.c:707
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
0U
;
usbh_hid.c:711
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
1U
;
usbh_hid.c:714
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_hid.c:715
USBH_HID_SetProtocol()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_msc_bot.c:110
USBH_MSC_BOT_REQ_Reset()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_H2D
|
USB_REQ_TYPE_CLASS
usbh_msc_bot.c:113
USBH_MSC_BOT_REQ_Reset()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_BOT_RESET
;
usbh_msc_bot.c:114
USBH_MSC_BOT_REQ_Reset()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
0U
;
usbh_msc_bot.c:115
USBH_MSC_BOT_REQ_Reset()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_msc_bot.c:116
USBH_MSC_BOT_REQ_Reset()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
0U
;
usbh_msc_bot.c:130
USBH_MSC_BOT_REQ_GetMaxLUN()
phost
->
Control
.
setup
.
b
.
bmRequestType
=
USB_D2H
|
USB_REQ_TYPE_CLASS
usbh_msc_bot.c:133
USBH_MSC_BOT_REQ_GetMaxLUN()
phost
->
Control
.
setup
.
b
.
bRequest
=
USB_REQ_GET_MAX_LUN
;
usbh_msc_bot.c:134
USBH_MSC_BOT_REQ_GetMaxLUN()
phost
->
Control
.
setup
.
b
.
wValue
.
w
=
0U
;
usbh_msc_bot.c:135
USBH_MSC_BOT_REQ_GetMaxLUN()
phost
->
Control
.
setup
.
b
.
wIndex
.
w
=
0U
;
usbh_msc_bot.c:136
USBH_MSC_BOT_REQ_GetMaxLUN()
phost
->
Control
.
setup
.
b
.
wLength
.
w
=
1U
;
Data Use
Functions reading
USBH_CtrlTypeDef::setup
USBH_CtrlTypeDef::setup
USBH_GetDescriptor()
USBH_SetAddress()
USBH_SetCfg()
USBH_SetInterface()
USBH_SetFeature()
USBH_ClrFeature()
USBH_HandleControl()
USBH_MSC_BOT_REQ_Reset()
USBH_MSC_BOT_REQ_GetMaxLUN()
USBH_HID_SetIdle()
USBH_HID_SetReport()
USBH_HID_GetReport()
USBH_HID_SetProtocol()
GetLineCoding()
SetLineCoding()
USBH_AC_SetCur()
USBH_AC_GetCur()
USBH_AC_GetMax()
USBH_AC_GetRes()
USBH_AC_GetMin()
USBH_AUDIO_SetEndpointControls()
all items filtered out
Type of
USBH_CtrlTypeDef::setup
USBH_CtrlTypeDef::setup
_USB_Setup
all items filtered out