GD32F10x USB-Device: E:/USB Libraries/GD32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h File Reference

GD32F103 Firmware

usbd_cdc_core.h File Reference

Header file for the usbd_cdc_core.c file. More...

#include "usbd_desc.h" #include "usbd_cdc_vcp.h"

Go to the source code of this file.

Data Structures

struct  _CDC_IF_FOP
 

Macros

#define USB_CDC_CONFIG_DESC_SIZE   (67)
 
#define USB_CDC_DESC_SIZE   (58)
 
#define CDC_DESC_TYPE   0x21
 
#define CDC_DATA_IN_PACKET_SIZE   USB_CDC_DATA_PACKET_SIZE
 
#define CDC_DATA_OUT_PACKET_SIZE   USB_CDC_DATA_PACKET_SIZE
 
#define SEND_ENCAPSULATED_COMMAND   0x00
 
#define GET_ENCAPSULATED_RESPONSE   0x01
 
#define SET_COMM_FEATURE   0x02
 
#define GET_COMM_FEATURE   0x03
 
#define CLEAR_COMM_FEATURE   0x04
 
#define SET_LINE_CODING   0x20
 
#define GET_LINE_CODING   0x21
 
#define SET_CONTROL_LINE_STATE   0x22
 
#define SEND_BREAK   0x23
 
#define NO_CMD   0xFF
 

Typedefs

typedef struct _CDC_IF_FOP CDC_IF_Fop_TypeDef
 

Variables

USBD_Class_cb_TypeDef USBD_CDC_cb
 

Detailed Description

Header file for the usbd_cdc_core.c file.

Author
MCU SD
Version
V1.0.0
Date
26-Dec-2014

Definition in file usbd_cdc_core.h.

Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by   doxygen 1.8.8