GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
usbd_core.h File Reference
USB device core function protoype. More...
Go to the source code of this file.
Enumerations | |
enum | USBD_Status { USBD_OK = 0, USBD_BUSY, USBD_FAIL } |
USB device operation status. | |
Functions | |
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. More... | |
void | USBD_Connect (USB_DEVICE_HANDLE *pudev) |
Configure usb device to be connected. More... | |
void | USBD_Disconnect (USB_DEVICE_HANDLE *pudev) |
Configure usb device to be unconnected. More... | |
uint8_t | USBD_SetupStage (USB_DEVICE_HANDLE *pudev) |
Usb setup stage processing. More... | |
uint8_t | USBD_DataOutStage (USB_DEVICE_HANDLE *pudev, uint8_t EpID) |
Data out stage processing. More... | |
uint8_t | USBD_DataInStage (USB_DEVICE_HANDLE *pudev, uint8_t EpID) |
Data in stage processing. More... | |
USBD_Status | USBD_DeInit (USB_DEVICE_HANDLE *pudev) |
De-Initialize USB device stack. More... | |
USBD_Status | USBD_ClrCfg (USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex) |
Clear current configuration. More... | |
USBD_Status | USBD_SetCfg (USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex) |
Device configuration and interface setting. More... | |
Detailed Description
USB device core function protoype.
- Author
- MCU SD
- Version
- V1.0.0
- Date
- 26-Dec-2014
Definition in file usbd_core.h.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8