USBH_CtlReq() is only used within STM32_USB_Host_Library.
 
Symbols
loading...
Files
loading...

USBH_CtlReq() function

USBH_CtlReq USBH_CtlReq sends a control request and provide the status after completion of the request

Syntax

USBH_StatusTypeDef USBH_CtlReq(USBH_HandleTypeDef *phost,     uint8_t *buff,     uint16_t length);
Implemented in usbh_ctlreq.c:749

Arguments

phost

Host Handle

buff

data buffer address to store the response

length

length of the response

Return value

USBH Status

References

LocationReferrerText
usbh_ctlreq.c:749
usbh_ctlreq.h:88
usbh_audio.c:1271USBH_AC_SetCur()
return (USBH_CtlReq(phost, (uint8_t *)(void *)(AUDIO_Handle->mem), wLength));
usbh_audio.c:1343USBH_AC_GetCur()
return (USBH_CtlReq(phost, (uint8_t *)(void *)(AUDIO_Handle->mem), wLength));
usbh_audio.c:1416USBH_AC_GetMax()
return (USBH_CtlReq(phost, (uint8_t *)(void *)(AUDIO_Handle->mem), wLength));
usbh_audio.c:1489USBH_AC_GetRes()
return (USBH_CtlReq(phost, (uint8_t *)(void *)(AUDIO_Handle->mem), wLength));
usbh_audio.c:1562USBH_AC_GetMin()
return (USBH_CtlReq(phost, (uint8_t *)(void *)(AUDIO_Handle->mem), wLength));
usbh_audio.c:1591USBH_AUDIO_SetEndpointControls()
return (USBH_CtlReq(phost, (uint8_t *)buff, wLength));
usbh_cdc.c:468GetLineCoding()
usbh_cdc.c:493SetLineCoding()
usbh_ctlreq.c:219USBH_GetDescriptor()
return USBH_CtlReq(phost, buff, length);
usbh_ctlreq.c:245USBH_SetAddress()
return USBH_CtlReq(phost, NULL, 0U);
usbh_ctlreq.c:269USBH_SetCfg()
return USBH_CtlReq(phost, NULL, 0U);
usbh_ctlreq.c:293USBH_SetInterface()
return USBH_CtlReq(phost, NULL, 0U);
usbh_ctlreq.c:317USBH_SetFeature()
return USBH_CtlReq(phost, NULL, 0U);
usbh_ctlreq.c:342USBH_ClrFeature()
return USBH_CtlReq(phost, NULL, 0U);
usbh_hid.c:626USBH_HID_SetIdle()
return USBH_CtlReq(phost, NULL, 0U);
usbh_hid.c:657USBH_HID_SetReport()
return USBH_CtlReq(phost, reportBuff, (uint16_t)reportLen);
usbh_hid.c:688USBH_HID_GetReport()
return USBH_CtlReq(phost, reportBuff, (uint16_t)reportLen);
usbh_hid.c:717USBH_HID_SetProtocol()
return USBH_CtlReq(phost, NULL, 0U);
usbh_msc_bot.c:118USBH_MSC_BOT_REQ_Reset()
return USBH_CtlReq(phost, NULL, 0U);
usbh_msc_bot.c:138USBH_MSC_BOT_REQ_GetMaxLUN()
return USBH_CtlReq(phost, Maxlun, 1U);