GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
usbd_core.c
Go to the documentation of this file.
USBD_Status USBD_ClrCfg(USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex)
Clear current configuration.
Definition: usbd_core.c:279
void USB_EP_Tx(USB_CORE_HANDLE *pudev, uint8_t EpAddr, uint8_t *pbuf, uint16_t BufLen)
Endpoint prepare to transmit data.
Definition: usb_core.c:346
uint8_t USB_CtlReceiveStatus(USB_CORE_HANDLE *pudev)
Receive status stage on the control pipe.
Definition: usb_core.c:584
Definition: usb_core.h:207
void USB_EP_SetAddress(USB_CORE_HANDLE *pudev, uint8_t Addr)
Set USB device and endpoints address.
Definition: usb_core.c:465
uint8_t USBD_SetupStage(USB_DEVICE_HANDLE *pudev)
Usb setup stage processing.
Definition: usbd_core.c:107
void USBD_Connect(USB_DEVICE_HANDLE *pudev)
Configure usb device to be connected.
Definition: usbd_core.c:38
void USBD_ParseSetupRequest(USB_DEVICE_HANDLE *pudev, USB_DEVICE_REQ *req)
Decode setup data packet.
Definition: usbd_enum.c:731
void USBD_Init(USB_DEVICE_HANDLE *pudev, USBD_Desc_cb_TypeDef *device_desc, USBD_Class_cb_TypeDef *class_cb, USBD_User_cb_TypeDef *user_cb)
Initialize usb device stack.
Definition: usbd_core.c:64
uint8_t USBD_VdrDefReq(USB_DEVICE_HANDLE *pudev, USB_DEVICE_REQ *req)
Handle usb vendor request.
Definition: usbd_enum.c:130
uint8_t USB_CtlTransmitStatus(USB_CORE_HANDLE *pudev)
Transmit status stage on the control pipe.
Definition: usb_core.c:570
uint8_t USBD_StdReq(USB_DEVICE_HANDLE *pudev, USB_DEVICE_REQ *req)
Handle usb standard device request.
Definition: usbd_enum.c:78
uint8_t USBD_DataInStage(USB_DEVICE_HANDLE *pudev, uint8_t EpID)
Data in stage processing.
Definition: usbd_core.c:195
uint8_t USBD_DataOutStage(USB_DEVICE_HANDLE *pudev, uint8_t EpID)
Data out stage processing.
Definition: usbd_core.c:143
uint8_t USBD_DevClsReq(USB_DEVICE_HANDLE *pudev, USB_DEVICE_REQ *req)
Handle device class request.
Definition: usbd_enum.c:92
USBD_Status USBD_SetCfg(USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex)
Device configuration and interface setting.
Definition: usbd_core.c:263
void USB_EP_Stall(USB_CORE_HANDLE *pudev, uint8_t EpID)
Set an endpoint to STALL status.
Definition: usb_core.c:405
uint8_t USB_CtlContinueTx(USB_CORE_HANDLE *pudev, uint8_t *pbuf, uint16_t Len)
Continue transmitting data on the control pipe.
Definition: usb_core.c:522
void USBD_Disconnect(USB_DEVICE_HANDLE *pudev)
Configure usb device to be unconnected.
Definition: usbd_core.c:49
USBD_Status USBD_DeInit(USB_DEVICE_HANDLE *pudev)
De-Initialize USB device stack.
Definition: usbd_core.c:97
uint8_t USB_CtlContinueRx(USB_CORE_HANDLE *pudev, uint8_t *pbuf, uint16_t Len)
Continue receive data on the contrl pipe.
Definition: usb_core.c:556
USB device core function protoype.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8