GD32F1x0: USB_Core_Exported_defines

GD32F1x0

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:
(CTLR_STIE | USB_INTR_PMOU | USB_INTR_ERR | USB_INTR_WKUP | USB_INTR_SPS | \
USB_INTR_SOF | USB_INTR_ESOF | CTLR_RSTIE)
#define CTLR_RSTIE
Definition: usb_regs.h:157
#define CTLR_STIE
CTLR control register bits definitions.
Definition: usb_regs.h:152

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

Definition at line 38 of file usb_core.h.

Generated by   doxygen 1.8.10