AN050
GD32 USBFS&USBHS Firmware Library User Guide
17
Function name
Functional description
_usb_std_reserved
no operation, just for reserved
_usb_dev_desc_get
get the device descriptor
_usb_config_desc_get
get the configuration descriptor
_usb_bos_desc_get
get the BOS descriptor
_usb_str_desc_get
get string descriptor
_usb_std_getstatus
handle Get_Status request
_usb_std_clearfeature
handle USB Clear_Feature request
_usb_std_setfeature
handle USB Set_Feature request
_usb_std_setaddress
handle USB Set_Address request
_usb_std_getdescriptor
handle USB Get_Descriptor request
_usb_std_setdescriptor
handle USB Set_Descriptor request
_usb_std_getconfiguration
handle USB Get_Configuration request
_usb_std_setconfiguration
handle USB Set_Configuration request
_usb_std_getinterface
handle USB Get_Interface request
_usb_std_setinterface
handle USB Set_Interface request
_usb_std_synchframe
handle USB SynchFrame request
Table 4-12
. usbd_transc.h/.c file function
Function name
Functional description
usbd_ctl_send
USB send data in the control transaction
usbd_ctl_recev
USB receive data in control transaction
usbd_ctl_status_send
USB send control transaction status
usbd_ctl_status_recev
USB control receive status
usbd_setup_transc
USB setup stage processing
usbd_out_transc
data out stage processing
usbd_in_transc
data in stage processing