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

USBH_Get_DevDesc() function

USBH_Get_DevDesc Issue Get Device Descriptor command to the device. Once the response received, it parses the device descriptor and updates the status.

Syntax

USBH_StatusTypeDef USBH_Get_DevDesc(USBH_HandleTypeDef *phost,     uint16_t length);
Implemented in usbh_ctlreq.c:96

Arguments

phost

Host Handle

length

Length of the descriptor

Return value

USBH Status

References

LocationReferrerText
usbh_ctlreq.c:96
USBH_StatusTypeDef USBH_Get_DevDesc(USBH_HandleTypeDef *phost, uint16_t length)
usbh_ctlreq.h:95
USBH_StatusTypeDef USBH_Get_DevDesc(USBH_HandleTypeDef *phost, uint16_t length);
usbh_core.c:857USBH_HandleEnum()
ReqStatus = USBH_Get_DevDesc(phost, 8U);
usbh_core.c:902USBH_HandleEnum()
ReqStatus = USBH_Get_DevDesc(phost, USB_DEVICE_DESC_SIZE);

Call Tree

Functions calling USBH_Get_DevDesc()
Functions called by USBH_Get_DevDesc()
all items filtered out
USBH_Get_DevDesc()
printf()
all items filtered out
Data read by USBH_Get_DevDesc()
Data written by USBH_Get_DevDesc()
USBH_Get_DevDesc()
USBH_Get_DevDesc()::status
all items filtered out
Type of USBH_Get_DevDesc()
USBH_Get_DevDesc()