Table of contents
-
Modules
-
GD32F10x_Firmware
-
USB
-
USB_Device_Driver
- USB_Buffer_Exported_Functions
- USB_Configure_Exported_Defines
- USB_Core_Exported_defines
- USB_Core_Exported_types
- USB_Core_Exported_Functions
- USB_Hwp_Exported_Functions
- USB_Interrupt_Exported_Functions
- USB_Exported_Types
- USB_Register_Base_Address
- USB_Common_Register
- USB_Endpoint_Control_and_Status_Register
- Endpoints_Address
- Endpoints_Identifier
-
USB_Registers_Bits_Definition
- AR_USBADDR
- AR_USBEN
- BLKSIZE_OFFSET
- CLR_ERRIF
- CLR_ESOFIF
- CLR_PMOUIF
- CLR_RSTIF
- CLR_SOFIF
- CLR_SPSIF
- CLR_STIF
- CLR_WKUPIF
- CTLR_CLOSE
- CTLR_ERRIE
- CTLR_ESOFIE
- CTLR_LOWM
- CTLR_PMOUIE
- CTLR_RSREQ
- CTLR_RSTIE
- CTLR_SETRST
- CTLR_SETSPS
- CTLR_SOFIE
- CTLR_SPSIE
- CTLR_STIE
- CTLR_WKUPIE
- EP_AR
- EP_BULK
- EP_CONTROL
- EP_CTL
- EP_INTERRUPT
- EP_ISO
- EP_KCTL
- EP_SETUP
- EPCSR_MASK
- EPKCTL_MASK
- EPRX_DISABLED
- EPRX_DTG
- EPRX_NAK
- EPRX_ST
- EPRX_STA
- EPRX_STALL
- EPRX_VALID
- EPRXCNTR_BLKSIZ
- EPTX_DISABLED
- EPTX_DTG
- EPTX_NAK
- EPTX_ST
- EPTX_STA
- EPTX_STALL
- EPTX_VALID
- IFR_DIR
- IFR_EPNUM
- IFR_ERRIF
- IFR_ESOFIF
- IFR_PMOUIF
- IFR_RSTIF
- IFR_SOFIF
- IFR_SPSIF
- IFR_STIF
- IFR_WKUPIF
- SR_FCNT
- SR_LOCK
- SR_RXDM
- SR_RXDP
- SR_SOFLN
-
USB_Exported_Macros
- USB_Register_Macros
-
USB_Operation_Macros
- _BlocksOf2
- _BlocksOf32
- _ClearEPRX_ST
- _GetEPDblBuf0Addr
- _GetEPDblBuf0Count
- _GetEPRXARn
- _GetEPRXCNTx
- _GetEPTxAddr
- _GetEPTXARn
- _GetEPTXCNTx
- _GetEPTxCount
- _Set_Status_Out
- _SetDouBleBuffEPStall
- _SetEP_KIND
- _SetEPAddress
- _SetEPDblBuf0Addr
- _SetEPDblBuf0Count
- _SetEPDblBufAddr
- _SetEPDoubleBuff
- _SetEPRxDblBuf0Count
- _SetEPRxStatus
- _SetEPRxTxStatus
- _SetEPTxAddr
- _SetEPTxCount
- _SetEPTxStatus
- _SetEPType
- _ToggleDTG_RX
- _ToggleDTG_TX
- _ToggleSWBUF_TX
- USB_Buffer_Private_functions
- USB_Core_Private_Variables
- USB_Core_Private_functions
- USB_Hwp_Private_Functions
- USB_Interrupt_Private_Variables
- USB_Interrupt_Private_functions
-
USB_Device_Class_Library
- USB_CDC_Class
-
USB_DFU_Class
- USB_DFU_Core_Exported_Defines
- USB_DFU_Core_Exported_Types
- USB_DFU_Core_Exported_Macros
- USB_DFU_Core_Exported_Variables
- USB_DFU_MAL_Exported_Types
- USB_DFU_MAL_Defines
- USB_DFU_MAL_Exported_Macros
- USB_DFU_MAL_Exported_Functions
- USB_DFU_MAL_Exported_Variables
- USB_DFU_FlashIf_Exported_Defines
- USB_DFU_FlashIf_Exported_Variables
- USB_DFU_Core_Private_Variables
- USB_DFU_Core_Private_Function
- USB_DFU_MAL_Private_Variables
- USB_DFU_MAL_Private_Functions
- USB_DFU_FlashIf_Private_Functions
- USB_DFU_FlashIf_Private_Variables
-
USB_HID_Class
- USB_CustomHID_Class_Exported_Defines
- USB_CustomHID_Exported_Variables
- USB_CustomHID_Exported_Functions
- USB_HID_Class_Exported_Types
- USB_HID_Class_Exported_Variables
- USB_HID_Class_Exported_Functions
- USB_CustomHID_Private_Variables
- USB_CustomHID_Handle_Function
- USB_HID_Class_Private_Varibales
- USB_HID_Class_Private_Functions
-
USB_MSC_Class
- USB_MSC_Bot_Exported_Defines
- USB_MSC_Bot_Exported_Types
- USB_MSC_Bot_Exported_Variables
- USB_MSC_Bot_Exported_Functions
- USB_MSC_Core_Exported_Defines
- USB_MSC_Core_Exported_Variables
- USB_MSC_Data_Exported_Defines
- USB_MSC_Data_Exported_Variables
- USB_MSC_Scsi_Exported_Defines
- USB_MSC_Scsi_Exported_Types
- USB_MSC_Scsi_Exported_Variables
- USB_MSC_Scsi_Exported_Functions
- MSC_BBB_Private_Variables
- USB_MSC_Bot_Private_Function_Prototypes
- USB_MSC_Core_Function_Prototypes
- USB_MSC_Core_Private_Function
- USB_MSC_Data_Private_Variables
- USB_MSC_Scsi_Private_Variables
- USB_MSC_Scsi_Private_Function_Prototypes
- USB_MSC_Scsi_Private_Function
-
USB_Device_Core_Library
- USBD_Configure_Exported_Defines
- USBD_Core_Exported_Types
- USBD_Core_Exported_Functions
- USBD_Protocol_Exported_Defines
- USBD_Descriptor_Exported_Constants
- USBD_Descriptor_Exported_Variables
- USBD_Descriptor_Exported_Functions
- USBD_Enumeration_Exported_Defines
- USBD_Enumeration_Exported_Functions
- USBD_Interrupt_Exported_Types
- USBD_Power_Exported_Types
- USBD_Power_Exported_Variables
- USBD_Power_Exported_Functions
- USBD_User_Exported_Functions
- USBD_Core_Private_Functions
- USBD_Enumeration_Private_Variables
- USBD_Enumeration_Private_Functions
- USBD_Interrupt_Handle_Functions
- USBD_Interrupt_Private_Variables
- USBD_Power_Private_Variables
- USBD_Power_Private_Functions
- USBD_Exported_Macros
-
USB_Device_Driver
-
USB
-
GD32F10x_Firmware
- Data Structures
-
Files
-
File List
-
USB Libraries
-
GD32_USB_Device_Driver
-
inc
- usb_buf.h
- usb_conf_template.h
-
usb_core.h
- IER_MASK
- USB_CTRL_DATA_IN
- USB_CTRL_DATA_OUT
- USB_CTRL_IDLE
- USB_CTRL_SETUP
- USB_CTRL_STATUS_IN
- USB_CTRL_STATUS_OUT
- USB_DBL_BUFTYPE
- USB_EP0_MAX_SIZE
- USB_EPTYPE_BULK
- USB_EPTYPE_CONTROL
- USB_EPTYPE_INT
- USB_EPTYPE_ISOC
- USB_SNG_BUFTYPE
- USB_STATUS_ADDRESSED
- USB_STATUS_CONFIGURED
- USB_STATUS_CONNECTED
- USB_STATUS_DEFAULT
- USB_STATUS_SUSPENDED
- USB_STATUS_UNCONNECTED
- UCD_DEV
- UCD_PDEV
- USB_CORE_HANDLE
- USB_DEVICE_HANDLE
- USB_DEVICE_REQ
- USB_EP
- USBD_Class_cb_TypeDef
- USBD_Desc_cb_TypeDef
- USBD_User_cb_TypeDef
- USB_Status
- DR_Init
- DR_StopDevice
- USB_CtlContinueRx
- USB_CtlContinueTx
- USB_CtlReceiveStatus
- USB_CtlRx
- USB_CtlTransmitStatus
- USB_CtlTx
- USB_EP_BufConfig
- USB_EP_ClrStall
- USB_EP_DeInit
- USB_EP_GetStatus
- USB_EP_Init
- USB_EP_Rx
- USB_EP_SetAddress
- USB_EP_Stall
- USB_EP_Tx
- USB_GetRxCount
- usb_hwp.h
- usb_int.h
-
usb_regs.h
- _BlocksOf2
- _BlocksOf32
- _Clear_Status_Out
- _ClearDTG_RX
- _ClearDTG_TX
- _ClearEP_KIND
- _ClearEPDoubleBuff
- _ClearEPRX_ST
- _ClearEPTX_ST
- _GetAR
- _GetBAR
- _GetCTLR
- _GetEPAddress
- _GetEPDblBuf0Addr
- _GetEPDblBuf0Count
- _GetEPDblBuf1Addr
- _GetEPDblBuf1Count
- _GetEPRxAddr
- _GetEPRXARn
- _GetEPRXCNTx
- _GetEPRxCount
- _GetEPRxStatus
- _GetEPTxAddr
- _GetEPTXARn
- _GetEPTXCNTx
- _GetEPTxCount
- _GetEPTxStatus
- _GetEPType
- _GetEPxCSR
- _GetIFR
- _GetSR
- _Set_Status_Out
- _SetAR
- _SetBAR
- _SetCTLR
- _SetDouBleBuffEPStall
- _SetEP_KIND
- _SetEPAddress
- _SetEPDblBuf0Addr
- _SetEPDblBuf0Count
- _SetEPDblBuf1Addr
- _SetEPDblBuf1Count
- _SetEPDblBufAddr
- _SetEPDblBuffCount
- _SetEPDoubleBuff
- _SetEPRxAddr
- _SetEPRxCount
- _SetEPRxDblBuf0Count
- _SetEPRxStatus
- _SetEPRxTxStatus
- _SetEPTxAddr
- _SetEPTxCount
- _SetEPTxStatus
- _SetEPType
- _SetEPxCSR
- _SetIFR
- _ToggleDTG_RX
- _ToggleDTG_TX
- _ToggleSWBUF_RX
- _ToggleSWBUF_TX
- AR
- AR_USBADDR
- AR_USBEN
- BAR
- BLKNUM_OFFSET
- BLKSIZE2_MASK
- BLKSIZE2_OFFSETMASK
- BLKSIZE32_MASK
- BLKSIZE32_OFFSETMASK
- BLKSIZE_OFFSET
- CLR_ERRIF
- CLR_ESOFIF
- CLR_PMOUIF
- CLR_RSTIF
- CLR_SOFIF
- CLR_SPSIF
- CLR_STIF
- CLR_WKUPIF
- CTLR
- CTLR_CLOSE
- CTLR_ERRIE
- CTLR_ESOFIE
- CTLR_LOWM
- CTLR_PMOUIE
- CTLR_RSREQ
- CTLR_RSTIE
- CTLR_SETRST
- CTLR_SETSPS
- CTLR_SOFIE
- CTLR_SPSIE
- CTLR_STIE
- CTLR_WKUPIE
- EP0
- EP0_IN
- EP0_OUT
- EP0CSR
- EP1
- EP1_IN
- EP1_OUT
- EP2
- EP2_IN
- EP2_OUT
- EP3
- EP3_IN
- EP3_OUT
- EP4
- EP4_IN
- EP4_OUT
- EP5
- EP5_IN
- EP5_OUT
- EP6
- EP6_IN
- EP6_OUT
- EP7
- EP7_IN
- EP7_OUT
- EP_AR
- EP_BULK
- EP_CONTROL
- EP_CTL
- EP_CTL_MASK
- EP_INTERRUPT
- EP_ISO
- EP_KCTL
- EP_SETUP
- EPCSR_MASK
- EPKCTL_MASK
- EPRX_DISABLED
- EPRX_DTG
- EPRX_DTGMASK
- EPRX_NAK
- EPRX_ST
- EPRX_STA
- EPRX_STALL
- EPRX_VALID
- EPRXCNTR_BLKNUM
- EPRXCNTR_BLKSIZ
- EPRXCNTR_CNT
- EPTX_DISABLED
- EPTX_DTG
- EPTX_DTGMASK
- EPTX_NAK
- EPTX_ST
- EPTX_STA
- EPTX_STALL
- EPTX_VALID
- EPTXCNTR_CNT
- IFR
- IFR_DIR
- IFR_EPNUM
- IFR_ERRIF
- IFR_ESOFIF
- IFR_PMOUIF
- IFR_RSTIF
- IFR_SOFIF
- IFR_SPSIF
- IFR_STIF
- IFR_WKUPIF
- PBA_ADDR
- REG_BASE
- RXCNT_OFFSET
- SR
- SR_FCNT
- SR_LOCK
- SR_RXDM
- SR_RXDP
- SR_SOFLN
- TXCNT_OFFSET
- DBUF_EP_DIR
- _DBUF_EP_DIR
- USB_SPEED
- src
-
inc
-
GD32_USB_Device_Library
-
Class
-
cdc
-
inc
-
usbd_cdc_core.h
- CDC_DATA_IN_PACKET_SIZE
- CDC_DATA_OUT_PACKET_SIZE
- CDC_DESC_TYPE
- CLEAR_COMM_FEATURE
- GET_COMM_FEATURE
- GET_ENCAPSULATED_RESPONSE
- GET_LINE_CODING
- NO_CMD
- SEND_BREAK
- SEND_ENCAPSULATED_COMMAND
- SET_COMM_FEATURE
- SET_CONTROL_LINE_STATE
- SET_LINE_CODING
- USB_CDC_CONFIG_DESC_SIZE
- USB_CDC_DESC_SIZE
- CDC_IF_Fop_TypeDef
- USBD_CDC_cb
-
usbd_cdc_core.h
- src
-
inc
-
dfu
-
inc
- usbd_dfu_core.h
- usbd_dfu_mal.h
- usbd_flash_if.h
- src
-
inc
- hid
-
msc
-
inc
-
usbd_msc_bot.h
- BBB_CBW_LENGTH
- BBB_CBW_SIGNATURE
- BBB_CSW_LENGTH
- BBB_CSW_SIGNATURE
- BBB_DATA_IN
- BBB_DATA_OUT
- BBB_IDLE
- BBB_LAST_DATA_IN
- BBB_SEND_DATA
- BBB_STATUS_ERROR
- BBB_STATUS_NORMAL
- BBB_STATUS_RECOVERY
- CSW_CMD_FAILED
- CSW_CMD_PASSED
- CSW_PHASE_ERROR
- MSC_BBB_CBW_TypeDef
- MSC_BBB_CSW_TypeDef
- MSC_BBB_CplClrFeature
- MSC_BBB_DataIn
- MSC_BBB_DataOut
- MSC_BBB_DeInit
- MSC_BBB_Init
- MSC_BBB_Reset
- MSC_BBB_SendCSW
- MSC_BBB_cbw
- MSC_BBB_csw
- MSC_BBB_Data
- MSC_BBB_DataLen
- MSC_BBB_State
- usbd_msc_core.h
- usbd_msc_data.h
- usbd_msc_mem.h
-
usbd_msc_scsi.h
- ABORTED_COMMAND
- ADDRESS_OUT_OF_RANGE
- BLANK_CHECK
- BLKVFY
- COPY_ABORTED
- DATA_PROTECT
- HARDWARE_ERROR
- ILLEGAL_REQUEST
- INVALID_CDB
- INVALID_FIELD_IN_PARAMETER_LIST
- INVALID_FIELED_IN_COMMAND
- MEDIUM_ERROR
- MEDIUM_HAVE_CHANGED
- MEDIUM_NOT_PRESENT
- MISCOMPARE
- MODE_SENSE10_DATA_LEN
- MODE_SENSE6_DATA_LEN
- NO_SENSE
- NOT_READY
- PARAMETER_LIST_LENGTH_ERROR
- READ_CAPACITY10_DATA_LEN
- READ_FORMAT_CAPACITY_DATA_LEN
- RECOVERED_ERROR
- REQUEST_SENSE_DATA_LEN
- SCSI_ALLOW_MEDIUM_REMOVAL
- SCSI_FORMAT_UNIT
- SCSI_INQUIRY
- SCSI_MODE_SELECT10
- SCSI_MODE_SELECT6
- SCSI_MODE_SENSE10
- SCSI_MODE_SENSE6
- SCSI_READ10
- SCSI_READ12
- SCSI_READ16
- SCSI_READ6
- SCSI_READ_CAPACITY10
- SCSI_READ_CAPACITY16
- SCSI_READ_FORMAT_CAPACITIES
- SCSI_REQUEST_SENSE
- SCSI_SEND_DIAGNOSTIC
- SCSI_START_STOP_UNIT
- SCSI_TEST_UNIT_READY
- SCSI_VERIFY10
- SCSI_VERIFY12
- SCSI_VERIFY16
- SCSI_WRITE10
- SCSI_WRITE12
- SCSI_WRITE16
- SCSI_WRITE6
- SENSE_LIST_DEEPTH
- STANDARD_INQUIRY_DATA_LEN
- UNIT_ATTENTION
- UNRECOVERED_READ_ERROR
- VENDOR_SPECIFIC
- VOLUME_OVERFLOW
- WRITE_FAULT
- WRITE_PROTECTED
- SCSI_Sense_TypeDef
- SCSI_ProcessCmd
- SCSI_ProcessRead
- SCSI_ProcessWrite
- SCSI_SenseCode
- Mode_Sense10_data
- Mode_Sense6_data
- Page00_Inquiry_Data
- ReadCapacity10_Data
- ReadFormatCapacity_Data
- SCSI_Sense
- Scsi_Sense_Data
- SCSI_Sense_Head
- SCSI_Sense_Tail
- Standard_Inquiry_Data
- Standard_Inquiry_Data2
-
usbd_msc_bot.h
- src
-
inc
-
cdc
-
Core
-
inc
-
usbd_conf_template.h
- APP_DEFAULT_ADD
- APP_FOPS
- APP_FOPS
- APP_RX_DATA_SIZE
- APP_RX_DATA_SIZE
- AUDIO_OUT_EP
- AUDIO_TOTAL_IF_NUM
- CCID_BULK_EP_MAX_PACKET
- CCID_BULK_IN_EP
- CCID_BULK_OUT_EP
- CCID_INTR_EP_MAX_PACKET
- CCID_INTR_IN_EP
- CDC_CMD_EP
- CDC_CMD_EP
- CDC_CMD_PACKET_SIZE
- CDC_CMD_PACKET_SZE
- CDC_DATA_MAX_PACKET_SIZE
- CDC_DATA_MAX_PACKET_SIZE
- CDC_IN_EP
- CDC_IN_EP
- CDC_IN_FRAME_INTERVAL
- CDC_IN_FRAME_INTERVAL
- CDC_OUT_EP
- CDC_OUT_EP
- CUSTOMHID_CONFIG_DESC_SIZE
- CUSTOMHID_CONFIG_DESC_SIZE
- CUSTOMHID_CONFIG_DESC_SIZE
- CUSTOMHID_REPORT_DESC_SIZE
- CUSTOMHID_REPORT_DESC_SIZE
- CUSTOMHID_REPORT_DESC_SIZE
- DFU_IN_EP
- DFU_MAL_IS_PROTECTED_AREA
- DFU_OUT_EP
- HID_IN_EP
- HID_IN_EP
- HID_IN_EP
- HID_IN_PACKET
- HID_IN_PACKET
- HID_IN_PACKET
- HID_OUT_EP
- HID_OUT_EP
- HID_OUT_EP
- HID_OUT_PACKET
- HID_OUT_PACKET
- HID_OUT_PACKET
- MAX_USED_MEDIA
- MSC_IN_EP
- MSC_IN_EP
- MSC_MAX_PACKET
- MSC_MAX_PACKET
- MSC_MEDIA_PACKET
- MSC_MEDIA_PACKET
- MSC_OUT_EP
- MSC_OUT_EP
- TRANSFER_SIZE_BYTES
- USB_MAX_STR_DESC_SIZ
- USB_MAX_STR_DESC_SIZ
- USB_MAX_STR_DESC_SIZE
- USB_MAX_STR_DESC_SIZE
- USB_STR_DESC_MAX_SIZE
- USB_STR_DESC_MAX_SIZE
- USB_STR_DESC_MAX_SIZE
- USB_STR_DESC_MAX_SIZE
- USB_SUPPORT_USER_STRING_DESC
- USB_SUPPORT_USER_STRING_DESC
- USBD_CFG_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_ITF_MAX_NUM
- USBD_SELF_POWERED
- XFERSIZE
- usbd_core.h
-
usbd_def.h
- HIGHBYTE
- LOWBYTE
- MIN
- NULL
- SWAPBYTE
- USB_CFG_DESC_LEN
- USB_CLASS_REQ
- USB_DESCTYPE_BOS
- USB_DESCTYPE_CONFIGURATION
- USB_DESCTYPE_DEVICE
- USB_DESCTYPE_DEVICE_QUALIFIER
- USB_DESCTYPE_ENDPOINT
- USB_DESCTYPE_INTERFACE
- USB_DESCTYPE_OTHER_SPEED_CONFIGURATION
- USB_DESCTYPE_STRING
- USB_DEV_QUALIFIER_DESC_LEN
- USB_FEATURE_ENDP_HALT
- USB_FEATURE_REMOTE_WAKEUP
- USB_FEATURE_TEST_MODE
- USB_REQ_MASK
- USB_REQ_RECIPIENT_MASK
- USB_REQTYPE_DEVICE
- USB_REQTYPE_ENDPOINT
- USB_REQTYPE_INTERFACE
- USB_STANDARD_REQ
- USB_STATUS_REMOTE_WAKEUP
- USB_STATUS_SELF_POWERED
- USB_VENDOR_REQ
- USBD_CONFIG_STR_IDX
- USBD_INTERFACE_STR_IDX
- USBD_LANGID_STR_IDX
- USBD_MFC_STR_IDX
- USBD_PRODUCT_STR_IDX
- USBD_SERIAL_STR_IDX
- USBREQ_CLEAR_FEATURE
- USBREQ_GET_CONFIGURATION
- USBREQ_GET_DESCRIPTOR
- USBREQ_GET_INTERFACE
- USBREQ_GET_STATUS
- USBREQ_SET_ADDRESS
- USBREQ_SET_CONFIGURATION
- USBREQ_SET_FEATURE
- USBREQ_SET_INTERFACE
- usbd_desc.h
- usbd_enum.h
- usbd_it.h
- usbd_pwr.h
- usbd_user.h
-
usbd_conf_template.h
- src
-
inc
-
Class
-
GD32_USB_Device_Driver
-
USB Libraries
- Globals
-
File List