GD32F10x USB-Device: USB_Core_Exported_defines

GD32F103 Firmware

GD32F10x USB-Device  V1.0.0
GD32F10x USB-Device
USB_Core_Exported_defines

Macros

#define IER_MASK
 Interrupt flag mask which decide what event should be handled by application. More...
 
#define USB_EPTYPE_CONTROL   0
 USB endpoint type.
 
#define USB_EPTYPE_ISOC   1
 
#define USB_EPTYPE_BULK   2
 
#define USB_EPTYPE_INT   3
 
#define USB_SNG_BUFTYPE   0
 USB endpoint kind.
 
#define USB_DBL_BUFTYPE   1
 
#define USB_CTRL_IDLE   0
 USB control transfer status.
 
#define USB_CTRL_SETUP   1
 
#define USB_CTRL_DATA_IN   2
 
#define USB_CTRL_DATA_OUT   3
 
#define USB_CTRL_STATUS_IN   4
 
#define USB_CTRL_STATUS_OUT   5
 
#define USB_EP0_MAX_SIZE   64
 USB endpoint0 max packet size.
 
#define USB_STATUS_UNCONNECTED   0
 USB device status.
 
#define USB_STATUS_DEFAULT   1
 
#define USB_STATUS_ADDRESSED   2
 
#define USB_STATUS_CONFIGURED   3
 
#define USB_STATUS_SUSPENDED   4
 
#define USB_STATUS_CONNECTED   5
 

Detailed Description

Macro Definition Documentation

#define IER_MASK
Value:
#define CTLR_WKUPIE
Definition: usb_regs.h:144
#define CTLR_ESOFIE
Definition: usb_regs.h:148
#define CTLR_SOFIE
Definition: usb_regs.h:147
#define CTLR_ERRIE
Definition: usb_regs.h:143
#define CTLR_PMOUIE
Definition: usb_regs.h:142
#define CTLR_RSTIE
Definition: usb_regs.h:146
#define CTLR_STIE
CTLR control register bits definitions.
Definition: usb_regs.h:141
#define CTLR_SPSIE
Definition: usb_regs.h:145

Interrupt flag mask which decide what event should be handled by application.

Definition at line 38 of file usb_core.h.

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