GD32F1x0: USB/GD32_USB_Device_Library/Core/src/usbd_core.c File Reference

GD32F1x0

usbd_core.c File Reference

USB device core interface functions. More...

#include "usbd_core.h"

Go to the source code of this file.

Functions

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...
 
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...
 
USBD_Status USBD_DeInit (USB_DEVICE_HANDLE *pudev)
 De-Initialize USB device stack. 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_SetCfg (USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex)
 Device configuration and interface setting. More...
 
USBD_Status USBD_ClrCfg (USB_DEVICE_HANDLE *pudev, uint8_t ConfigIndex)
 Clear current configuration. More...
 

Variables

uint8_t gAddress
 

Detailed Description

USB device core interface functions.

Author
MCU SD
Version
V1.0.1
Date
6-Sep-2014

Definition in file usbd_core.c.

Generated by   doxygen 1.8.10