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

usb_setup_req::wValue field

Syntax

uint16_t wValue;

References

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

Data Use

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