documentation
.HELP!
GD32F103 Firmware Documentation
GD32F10x USB-Device: E:/USB Libraries/GD32_USB_Device_Driver/inc/usb_regs.h Source File
GD32F103 Firmware
previous page
next page
GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
Main Page
Modules
Data Structures
Files
File List
Globals
USB Libraries
GD32_USB_Device_Driver
inc
usb_regs.h
Go to the documentation of this file.
1
11
/* Define to prevent recursive inclusion -------------------------------------*/
12
#ifndef __GD32F10X_USB_REGS_H
13
#define __GD32F10X_USB_REGS_H
14
15
/* Includes ------------------------------------------------------------------*/
16
#include "usb_conf.h"
17
37
enum
USB_SPEED
38
{
39
USB_SPEED_LOW,
40
USB_SPEED_FULL
41
};
42
46
typedef
enum
_DBUF_EP_DIR
47
{
48
DBUF_EP_IN,
49
DBUF_EP_OUT,
50
DBUF_EP_ERR,
51
}
52
DBUF_EP_DIR
;
53
61
#define REG_BASE (0x40005C00L)
62
#define PBA_ADDR (0x40006000L)
71
#define CTLR ((__IO unsigned *)(REG_BASE + 0x40))
72
#define IFR ((__IO unsigned *)(REG_BASE + 0x44))
73
#define SR ((__IO unsigned *)(REG_BASE + 0x48))
74
#define AR ((__IO unsigned *)(REG_BASE + 0x4C))
75
#define BAR ((__IO unsigned *)(REG_BASE + 0x50))
84
#define EP0CSR ((__IO unsigned *)(REG_BASE))
97
#define EP0_OUT ((uint8_t)0x00)
98
#define EP0_IN ((uint8_t)0x80)
99
#define EP1_OUT ((uint8_t)0x01)
100
#define EP1_IN ((uint8_t)0x81)
101
#define EP2_OUT ((uint8_t)0x02)
102
#define EP2_IN ((uint8_t)0x82)
103
#define EP3_OUT ((uint8_t)0x03)
104
#define EP3_IN ((uint8_t)0x83)
105
#define EP4_OUT ((uint8_t)0x04)
106
#define EP4_IN ((uint8_t)0x84)
107
#define EP5_OUT ((uint8_t)0x05)
108
#define EP5_IN ((uint8_t)0x85)
109
#define EP6_OUT ((uint8_t)0x06)
110
#define EP6_IN ((uint8_t)0x86)
111
#define EP7_OUT ((uint8_t)0x07)
112
#define EP7_IN ((uint8_t)0x87)
113
121
#define EP0 ((uint8_t)0)
122
#define EP1 ((uint8_t)1)
123
#define EP2 ((uint8_t)2)
124
#define EP3 ((uint8_t)3)
125
#define EP4 ((uint8_t)4)
126
#define EP5 ((uint8_t)5)
127
#define EP6 ((uint8_t)6)
128
#define EP7 ((uint8_t)7)
129
141
#define CTLR_STIE (0x8000)
142
#define CTLR_PMOUIE (0x4000)
143
#define CTLR_ERRIE (0x2000)
144
#define CTLR_WKUPIE (0x1000)
145
#define CTLR_SPSIE (0x0800)
146
#define CTLR_RSTIE (0x0400)
147
#define CTLR_SOFIE (0x0200)
148
#define CTLR_ESOFIE (0x0100)
149
#define CTLR_RSREQ (0x0010)
150
#define CTLR_SETSPS (0x0008)
151
#define CTLR_LOWM (0x0004)
152
#define CTLR_CLOSE (0x0002)
153
#define CTLR_SETRST (0x0001)
158
#define IFR_STIF (0x8000)
159
#define IFR_PMOUIF (0x4000)
160
#define IFR_ERRIF (0x2000)
161
#define IFR_WKUPIF (0x1000)
162
#define IFR_SPSIF (0x0800)
163
#define IFR_RSTIF (0x0400)
164
#define IFR_SOFIF (0x0200)
165
#define IFR_ESOFIF (0x0100)
166
#define IFR_DIR (0x0010)
167
#define IFR_EPNUM (0x000F)
169
#define CLR_STIF (~IFR_STIF)
170
#define CLR_PMOUIF (~IFR_PMOUIF)
171
#define CLR_ERRIF (~IFR_ERRIF)
172
#define CLR_WKUPIF (~IFR_WKUPIF)
173
#define CLR_SPSIF (~IFR_SPSIF)
174
#define CLR_RSTIF (~IFR_RSTIF)
175
#define CLR_SOFIF (~IFR_SOFIF)
176
#define CLR_ESOFIF (~IFR_ESOFIF)
181
#define SR_RXDP (0x8000)
182
#define SR_RXDM (0x4000)
183
#define SR_LOCK (0x2000)
184
#define SR_SOFLN (0x1800)
185
#define SR_FCNT (0x07FF)
190
#define AR_USBEN (0x80)
191
#define AR_USBADDR (0x7F)
196
#define EPRX_ST (0x8000)
197
#define EPRX_DTG (0x4000)
198
#define EPRX_STA (0x3000)
199
#define EP_SETUP (0x0800)
200
#define EP_CTL (0x0600)
201
#define EP_KCTL (0x0100)
202
#define EPTX_ST (0x0080)
203
#define EPTX_DTG (0x0040)
204
#define EPTX_STA (0x0030)
205
#define EP_AR (0x000F)
210
#define EPCSR_MASK (EPRX_ST|EP_SETUP|EP_CTL|EP_KCTL|EPTX_ST|EP_AR)
211
215
#define EP_BULK (0x0000)
216
#define EP_CONTROL (0x0200)
217
#define EP_ISO (0x0400)
218
#define EP_INTERRUPT (0x0600)
219
#define EP_CTL_MASK (~EP_CTL & EPCSR_MASK)
220
224
#define EPKCTL_MASK (~EP_KCTL & EPCSR_MASK)
225
229
#define EPTX_DISABLED (0x0000)
230
#define EPTX_STALL (0x0010)
231
#define EPTX_NAK (0x0020)
232
#define EPTX_VALID (0x0030)
233
#define EPTX_DTGMASK (EPTX_STA | EPCSR_MASK)
234
238
#define EPRX_DISABLED (0x0000)
239
#define EPRX_STALL (0x1000)
240
#define EPRX_NAK (0x2000)
241
#define EPRX_VALID (0x3000)
242
#define EPRX_DTGMASK (EPRX_STA | EPCSR_MASK)
243
247
#define EPRXCNTR_BLKSIZ (0x8000)
248
#define EPRXCNTR_BLKNUM (0x7C00)
249
#define EPRXCNTR_CNT (0x03FF)
250
251
#define EPTXCNTR_CNT (0x03FF)
252
256
#define BLKSIZE_OFFSET (0x01)
257
#define BLKNUM_OFFSET (0x05)
258
#define RXCNT_OFFSET (0x0A)
259
260
#define TXCNT_OFFSET (0x0A)
261
262
#define BLKSIZE32_MASK (0x1f)
263
#define BLKSIZE2_MASK (0x01)
264
265
#define BLKSIZE32_OFFSETMASK (0x05)
266
#define BLKSIZE2_OFFSETMASK (0x01)
267
280
/* Set CTLR */
281
#define _SetCTLR(RegValue) (*CTLR = (uint16_t)RegValue)
282
283
/* Get CTLR */
284
#define _GetCTLR() ((uint16_t) *CTLR)
285
286
/* Set IFR */
287
#define _SetIFR(RegValue) (*IFR = (uint16_t)RegValue)
288
289
/* Get IFR */
290
#define _GetIFR() ((uint16_t) *IFR)
291
292
/* Set AR */
293
#define _SetAR(RegValue) (*AR = (uint16_t)RegValue)
294
295
/* Get AR */
296
#define _GetAR() ((uint16_t) *AR)
297
298
/* Set BAR */
299
#define _SetBAR(RegValue) (*BAR = (uint16_t)(RegValue & 0xFFF8))
300
301
/* Get BAR */
302
#define _GetBAR() ((uint16_t) *BAR)
303
304
/* Get SR */
305
#define _GetSR() ((uint16_t) *SR)
306
307
/* Set EPxCSR */
308
#define _SetEPxCSR(EpID,RegValue) (*(EP0CSR + EpID) = (uint16_t)RegValue)
309
310
/* Get EPxCSR*/
311
#define _GetEPxCSR(EpID) ((uint16_t)(*(EP0CSR + EpID)))
312
327
#define _SetEPType(EpID, Type) (_SetEPxCSR(EpID, ((_GetEPxCSR(EpID) & EP_CTL_MASK) | Type)))
328
329
#define _GetEPType(EpID) (_GetEPxCSR(EpID) & EP_CTL)
330
331
338
#define _SetEPTxStatus(EpID, State) {\
339
register uint16_t _RegVal; \
340
_RegVal = _GetEPxCSR(EpID) & EPTX_DTGMASK;\
341
_SetEPxCSR(EpID, (_RegVal ^ State)); \
342
}
343
344
#define _GetEPTxStatus(EpID) ((uint16_t)_GetEPxCSR(EpID) & EPTX_STA)
345
352
#define _SetEPRxStatus(EpID, State) {\
353
register uint16_t _RegVal; \
354
_RegVal = _GetEPxCSR(EpID) & EPRX_DTGMASK;\
355
_SetEPxCSR(EpID, (_RegVal ^ State)); \
356
}
357
358
#define _GetEPRxStatus(EpID) ((uint16_t)_GetEPxCSR(EpID) & EPRX_STA)
359
367
#define _SetEPRxTxStatus(EpID, StateRx, StateTx) {\
368
register uint16_t _RegVal; \
369
_RegVal = _GetEPxCSR(EpID) & (EPRX_DTGMASK | EPTX_STA) ;\
370
_SetEPxCSR(EpID, ((_RegVal ^ StateRx) ^ StateTx)); \
371
}
372
378
#define _SetEP_KIND(EpID) (_SetEPxCSR(EpID, ((_GetEPxCSR(EpID) | EP_KCTL) & EPCSR_MASK)))
379
380
#define _ClearEP_KIND(EpID) (_SetEPxCSR(EpID, (_GetEPxCSR(EpID) & EPKCTL_MASK)))
381
387
#define _Set_Status_Out(EpID) _SetEP_KIND(EpID)
388
389
#define _Clear_Status_Out(EpID) _ClearEP_KIND(EpID)
390
396
#define _SetEPDoubleBuff(EpID) _SetEP_KIND(EpID)
397
398
#define _ClearEPDoubleBuff(EpID) _ClearEP_KIND(EpID)
399
405
#define _ClearEPRX_ST(EpID) (_SetEPxCSR(EpID, _GetEPxCSR(EpID) & 0x7FFF & EPCSR_MASK))
406
407
#define _ClearEPTX_ST(EpID) (_SetEPxCSR(EpID, _GetEPxCSR(EpID) & 0xFF7F & EPCSR_MASK))
408
414
#define _ToggleDTG_RX(EpID) (_SetEPxCSR(EpID, EPRX_DTG | (_GetEPxCSR(EpID) & EPCSR_MASK)))
415
416
#define _ClearDTG_RX(EpID) if((_GetEPxCSR(EpID) & EPRX_DTG) != 0) _ToggleDTG_RX(EpID)
417
423
#define _ToggleDTG_TX(EpID) (_SetEPxCSR(EpID, EPTX_DTG | (_GetEPxCSR(EpID) & EPCSR_MASK)))
424
425
#define _ClearDTG_TX(EpID) if((_GetEPxCSR(EpID) & EPTX_DTG) != 0) _ToggleDTG_TX(EpID)
426
432
#define _ToggleSWBUF_TX(EpID) _ToggleDTG_RX(EpID)
433
434
#define _ToggleSWBUF_RX(EpID) _ToggleDTG_TX(EpID)
435
442
#define _SetEPAddress(EpID,Addr) _SetEPxCSR(EpID, (_GetEPxCSR(EpID) & EPCSR_MASK) | Addr)
443
444
#define _GetEPAddress(EpID) ((uint8_t)(_GetEPxCSR(EpID) & EP_AR))
445
451
#define _GetEPTXARn(EpID) ((uint32_t *)((_GetBAR() + EpID * 8) * 2 + PBA_ADDR))
452
458
#define _GetEPTXCNTx(EpID) ((uint32_t *)((_GetBAR() + EpID * 8 + 2) * 2 + PBA_ADDR))
459
465
#define _GetEPRXARn(EpID) ((uint32_t *)((_GetBAR() + EpID * 8 + 4) * 2 + PBA_ADDR))
466
472
#define _GetEPRXCNTx(EpID) ((uint32_t *)((_GetBAR() + EpID * 8 + 6) * 2 + PBA_ADDR))
473
480
#define _SetEPTxAddr(EpID, Addr) (*_GetEPTXARn(EpID) = (Addr & ~((uint16_t)1)))
481
#define _SetEPRxAddr(EpID, Addr) (*_GetEPRXARn(EpID) = (Addr & ~((uint16_t)1)))
482
488
#define _GetEPTxAddr(EpID) ((uint16_t)*_GetEPTXARn(EpID))
489
#define _GetEPRxAddr(EpID) ((uint16_t)*_GetEPRXARn(EpID))
490
497
#define _BlocksOf32(pdwReg, Count) {\
498
register uint16_t BlockNum = Count >> BLKSIZE32_OFFSETMASK;\
499
if((Count & BLKSIZE32_MASK) == 0)\
500
BlockNum--;\
501
*pdwReg = (uint32_t)((BlockNum << RXCNT_OFFSET) | EPRXCNTR_BLKSIZ);\
502
}
503
510
#define _BlocksOf2(pdwReg, Count) {\
511
register uint16_t BlockNum = Count >> BLKSIZE2_OFFSETMASK;\
512
if((Count & BLKSIZE2_MASK) != 0)\
513
BlockNum++;\
514
*pdwReg = (uint32_t)(BlockNum << RXCNT_OFFSET);\
515
}
516
523
#define _SetEPRxDblBuf0Count(EpID, Count) {\
524
uint32_t *pdwReg = _GetEPTXCNTx(EpID); \
525
if(Count > 62) { _BlocksOf32(pdwReg, Count); } \
526
else { _BlocksOf32(pdwReg, Count); } \
527
}
528
535
#define _SetEPTxCount(EpID, Count) (*_GetEPTXCNTx(EpID) = Count)
536
#define _SetEPRxCount(EpID, Count) {\
537
uint32_t *pdwReg = _GetEPRXCNTx(EpID); \
538
if(Count > 62) { _BlocksOf32(pdwReg, Count); } \
539
else { _BlocksOf2(pdwReg, Count); } \
540
}
541
547
#define _GetEPTxCount(EpID)((uint16_t) (*_GetEPTXCNTx(EpID)) & EPTXCNTR_CNT)
548
#define _GetEPRxCount(EpID)((uint16_t) (*_GetEPRXCNTx(EpID)) & EPRXCNTR_CNT)
549
557
#define _SetEPDblBuf0Addr(EpID, Buf0Addr) {_SetEPTxAddr(EpID, Buf0Addr);}
558
#define _SetEPDblBuf1Addr(EpID, Buf1Addr) {_SetEPRxAddr(EpID, Buf1Addr);}
559
567
#define _SetEPDblBufAddr(EpID, Buf0Addr, Buf1Addr) { \
568
_SetEPDblBuf0Addr(EpID, Buf0Addr);\
569
_SetEPDblBuf1Addr(EpID, Buf1Addr);\
570
}
571
577
#define _GetEPDblBuf0Addr(EpID) (_GetEPTxAddr(EpID))
578
#define _GetEPDblBuf1Addr(EpID) (_GetEPRxAddr(EpID))
579
589
#define _SetEPDblBuf0Count(EpID, Dir, Count) { \
590
if(Dir == DBUF_EP_OUT)\
591
{_SetEPRxDblBuf0Count(EpID, Count);} \
592
else if(Dir == DBUF_EP_IN)\
593
{*_GetEPTXCNTx(EpID) = (uint32_t)Count;} \
594
}
595
596
#define _SetEPDblBuf1Count(EpID, Dir, Count) { \
597
if(Dir == DBUF_EP_OUT)\
598
{_SetEPRxCount(EpID, Count);}\
599
else if(Dir == DBUF_EP_IN)\
600
{*_GetEPRXCNTx(EpID) = (uint32_t)Count;} \
601
}
602
603
#define _SetEPDblBuffCount(EpID, Dir, Count) {\
604
_SetEPDblBuf0Count(EpID, Dir, Count); \
605
_SetEPDblBuf1Count(EpID, Dir, Count); \
606
}
607
613
#define _GetEPDblBuf0Count(EpID) (_GetEPTxCount(EpID))
614
#define _GetEPDblBuf1Count(EpID) (_GetEPRxCount(EpID))
615
622
#define _SetDouBleBuffEPStall(EpID, Dir) {\
623
if (Dir == DBUF_EP_OUT) \
624
{ \
625
_SetEPxCSR(EpID, _GetEPxCSR(EpID) & ~EPRX_STALL); \
626
} \
627
else if (Dir == DBUF_EP_IN) \
628
{ \
629
_SetEPxCSR(EpID, _GetEPxCSR(EpID) & ~EPTX_STALL); \
630
} \
631
}
632
641
#endif
/* __GD32F10X_USB_REGS_H */
642
655
/************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
_DBUF_EP_DIR
_DBUF_EP_DIR
USB double buffer endpoint direction.
Definition:
usb_regs.h:46
USB_SPEED
USB_SPEED
USB device speed.
Definition:
usb_regs.h:37
DBUF_EP_DIR
enum _DBUF_EP_DIR DBUF_EP_DIR
USB double buffer endpoint direction.
Generated on Fri Feb 6 2015 14:56:35 for GD32F10x USB-Device by
1.8.8
previous page
start
next page
Menu
Homepage
Table of contents
Modules
GD32F10x_Firmware
USB
USB_Device_Driver
USB_Buffer_Exported_Functions
BufferCopyToUser
FreeUserBuffer
UserCopyToBuffer
USB_Configure_Exported_Defines
USB_Core_Exported_defines
IER_MASK
USB_CTRL_IDLE
USB_EP0_MAX_SIZE
USB_EPTYPE_CONTROL
USB_SNG_BUFTYPE
USB_STATUS_UNCONNECTED
USB_Core_Exported_types
USB_ep
buf0addr
buf1addr
bufaddress
is_dblbuf
is_stall
maxpacket
xfer_buf
xfer_count
xfer_len
usb_device_req
bmRequestType
bRequest
wIndex
wLength
wValue
_Device_Desc_cb
GetConfigurationStrDescriptor
GetDeviceDescriptor
GetInterfaceStrDescriptor
GetLangIDStrDescriptor
GetManufacturerStrDescriptor
GetProductStrDescriptor
GetSerialStrDescriptor
_Device_Class_cb
ClassReqHandle
ClearFeature
DataIn
DataOut
DeInit
EP0_RxReady
EP0_TxSent
GetClassDescriptor
GetConfigDescriptor
GetInterface
Init
SetInterface
SOF
_USBD_USER_cb
DeviceConfigured
DeviceInit
DeviceReset
DeviceResumed
DeviceSuspended
_UCD
class_cb
desc_cb
device_cur_config
device_cur_state
device_cur_status
device_old_status
DevRemoteWakeup
in_ep
out_ep
setup_packet
speed
user_cb
USB_Device_handle
dev
UCD_DEV
USB_DEVICE_REQ
USB_EP
USBD_Class_cb_TypeDef
USBD_Desc_cb_TypeDef
USBD_User_cb_TypeDef
USB_Status
USB_Core_Exported_Functions
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_Exported_Functions
USB_HWP_ClockConfig
USB_HWP_Init
USB_HWP_USBINTConfig
USB_Interrupt_Exported_Functions
USB_Ifr
USB_Exported_Types
DBUF_EP_DIR
_DBUF_EP_DIR
USB_SPEED
USB_Register_Base_Address
PBA_ADDR
REG_BASE
USB_Common_Register
AR
BAR
CTLR
IFR
SR
USB_Endpoint_Control_and_Status_Register
EP0CSR
Endpoints_Address
EP0_OUT
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
BufferCopyToUser
FreeUserBuffer
UserCopyToBuffer
USB_Core_Private_Variables
USB_Core_Private_functions
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_Private_Functions
USB_HWP_ClockConfig
USB_HWP_Init
USB_HWP_USBINTConfig
USB_Interrupt_Private_Variables
USB_Interrupt_Private_functions
USB_Ifr
USB_Device_Class_Library
USB_CDC_Class
USB_CDC_Class_Exported_Defines
USB_CDC_Class_Exported_Types
_CDC_IF_FOP
pIf_Ctrl
pIf_DataRx
pIf_DataTx
pIf_DeInit
pIf_Init
USB_CDC_Exported_Variables
USB_CDC_Class_Private_Variables
USB_CDC_Class_Private_Functions
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
_DFU_MAL_PROPERTY
EraseTimeout
pMAL_CheckAdd
pMAL_DeInit
pMAL_Erase
pMAL_Init
pMAL_Read
pMAL_Write
pStrDesc
WriteTimeout
USB_DFU_MAL_Defines
USB_DFU_MAL_Exported_Macros
_1st_BYTE
_2nd_BYTE
_3rd_BYTE
USB_DFU_MAL_Exported_Functions
DFU_MAL_DeInit
DFU_MAL_Erase
DFU_MAL_GetStatus
DFU_MAL_Init
DFU_MAL_Read
DFU_MAL_Write
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
DFU_MAL_DeInit
DFU_MAL_Erase
DFU_MAL_GetStatus
DFU_MAL_Init
DFU_MAL_Read
DFU_MAL_Write
USB_DFU_FlashIf_Private_Functions
USB_DFU_FlashIf_Private_Variables
USB_DFU_FlashIf_Private_Functions
USB_HID_Class
USB_CustomHID_Class_Exported_Defines
USB_CustomHID_Exported_Variables
USB_CustomHID_Exported_Functions
USBD_CUSTOMHID_SendReport
USB_HID_Class_Exported_Types
USB_HID_Class_Exported_Variables
USB_HID_Class_Exported_Functions
USBD_HID_SendReport
USB_CustomHID_Private_Variables
USB_CustomHID_Handle_Function
USBD_CUSTOMHID_SendReport
USB_HID_Class_Private_Varibales
USB_HID_Class_Private_Functions
USBD_HID_SendReport
USB_MSC_Class
USB_MSC_Bot_Exported_Defines
USB_MSC_Bot_Exported_Types
_MSC_BBB_CBW
bCBWCBLength
bCBWLUN
bmCBWFlags
CBWCB
dCBWDataTransferLength
dCBWSignature
dCBWTag
_MSC_BBB_CSW
bCSWStatus
dCSWDataResidue
dCSWSignature
dCSWTag
USB_MSC_Bot_Exported_Variables
USB_MSC_Bot_Exported_Functions
MSC_BBB_CplClrFeature
MSC_BBB_DataIn
MSC_BBB_DataOut
MSC_BBB_DeInit
MSC_BBB_Init
MSC_BBB_Reset
MSC_BBB_SendCSW
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
_SENSE_ITEM
ASC
ASCQ
Information
SenseKey
USB_MSC_Scsi_Exported_Variables
USB_MSC_Scsi_Exported_Functions
SCSI_ProcessCmd
SCSI_ProcessRead
SCSI_ProcessWrite
SCSI_SenseCode
MSC_BBB_Private_Variables
USB_MSC_Bot_Private_Function_Prototypes
USB_MSC_Bot_Private_Functions
MSC_BBB_CplClrFeature
MSC_BBB_DataIn
MSC_BBB_DataOut
MSC_BBB_DeInit
MSC_BBB_Init
MSC_BBB_Reset
MSC_BBB_SendCSW
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
SCSI_ProcessCmd
SCSI_ProcessRead
SCSI_ProcessWrite
SCSI_SenseCode
USB_Device_Core_Library
USBD_Configure_Exported_Defines
APP_RX_DATA_SIZE
APP_RX_DATA_SIZE
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
MAX_USED_MEDIA
XFERSIZE
USBD_Core_Exported_Types
USBD_Status
USBD_Core_Exported_Functions
USBD_ClrCfg
USBD_Connect
USBD_DataInStage
USBD_DataOutStage
USBD_DeInit
USBD_Disconnect
USBD_Init
USBD_SetCfg
USBD_SetupStage
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_DevClsReq
USBD_EnumError
USBD_GetUnicodeString
USBD_ParseSetupRequest
USBD_StdReq
USBD_VdrDefReq
USBD_Interrupt_Exported_Types
_USB_INTHandler
Error
ESOF
HP_ST
LP_ST
PMOU
Reset
SOF
Suspend
WakeUp
USBD_Power_Exported_Types
USBD_Power_Exported_Variables
USBD_Power_Exported_Functions
USBD_Resume
USBD_Suspend
USBD_User_Exported_Functions
USBD_Core_Private_Functions
USBD_ClrCfg
USBD_Connect
USBD_DataInStage
USBD_DataOutStage
USBD_DeInit
USBD_Disconnect
USBD_Init
USBD_SetCfg
USBD_SetupStage
USBD_Enumeration_Private_Variables
USBD_Enumeration_Private_Functions
USBD_DevClsReq
USBD_EnumError
USBD_GetUnicodeString
USBD_ParseSetupRequest
USBD_StdReq
USBD_VdrDefReq
USBD_Interrupt_Handle_Functions
USBD_Interrupt_Private_Variables
USBD_Power_Private_Variables
USBD_Power_Private_Functions
USBD_Resume
USBD_Suspend
USBD_Exported_Macros
Data Structures
Data Structures
_CDC_IF_FOP
pIf_Ctrl
pIf_DataRx
pIf_DataTx
pIf_DeInit
pIf_Init
_Device_Class_cb
ClassReqHandle
ClearFeature
DataIn
DataOut
DeInit
EP0_RxReady
EP0_TxSent
GetClassDescriptor
GetConfigDescriptor
GetInterface
Init
SetInterface
SOF
_Device_Desc_cb
GetConfigurationStrDescriptor
GetDeviceDescriptor
GetInterfaceStrDescriptor
GetLangIDStrDescriptor
GetManufacturerStrDescriptor
GetProductStrDescriptor
GetSerialStrDescriptor
_DFU_MAL_PROPERTY
EraseTimeout
pMAL_CheckAdd
pMAL_DeInit
pMAL_Erase
pMAL_Init
pMAL_Read
pMAL_Write
pStrDesc
WriteTimeout
_MSC_BBB_CBW
bCBWCBLength
bCBWLUN
bmCBWFlags
CBWCB
dCBWDataTransferLength
dCBWSignature
dCBWTag
_MSC_BBB_CSW
bCSWStatus
dCSWDataResidue
dCSWSignature
dCSWTag
_SENSE_ITEM
ASC
ASCQ
Information
SenseKey
_UCD
class_cb
desc_cb
device_cur_config
device_cur_state
device_cur_status
device_old_status
DevRemoteWakeup
in_ep
out_ep
setup_packet
speed
user_cb
_USB_INTHandler
Error
ESOF
HP_ST
LP_ST
PMOU
Reset
SOF
Suspend
WakeUp
_USBD_STORAGE
GetCapacity
GetMaxLun
Init
IsReady
IsWriteProtected
pInquiryData
Read
Write
_USBD_USER_cb
DeviceConfigured
DeviceInit
DeviceReset
DeviceResumed
DeviceSuspended
USB_Device_handle
dev
usb_device_req
bmRequestType
bRequest
wIndex
wLength
wValue
USB_ep
buf0addr
buf1addr
bufaddress
is_dblbuf
is_stall
maxpacket
xfer_buf
xfer_count
xfer_len
Data Structure Index
Files
File List
USB Libraries
GD32_USB_Device_Driver
inc
usb_buf.h
BufferCopyToUser
FreeUserBuffer
UserCopyToBuffer
usb_conf_template.h
BTABLE_ADDRESS
ENDP0_RX_ADDRESS
ENDP0_TX_ADDRESS
EP_NUM
MSC_RX_ADDRESS
MSC_TX_ADDRESS
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
USB_OK
USB_FAIL
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_Cable_Config
USB_HWP_ClockConfig
USB_HWP_Init
USB_HWP_mDelay
USB_HWP_uDelay
USB_HWP_USBINTConfig
usb_int.h
USB_Ifr
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
DBUF_EP_IN
DBUF_EP_OUT
DBUF_EP_ERR
USB_SPEED
USB_SPEED_LOW
USB_SPEED_FULL
src
usb_buf.c
BufferCopyToUser
FreeUserBuffer
UserCopyToBuffer
usb_core.c
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
InterruptMask
usb_hwp_template.c
usb_int.c
USB_Ifr
InterruptMask
USB_Device_dev
USB_INT_fops
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
src
usbd_cdc_core.c
APP_DATA_Buffer
APP_FOPS
AppBufInPtr
AppBufOutPtr
AppRxLength
end_packet
USB_CMD_Buffer
USB_DATA_Buffer
USB_Tx_State
USBD_CDC_cb
USBD_CDC_CfgDesc
dfu
inc
usbd_dfu_core.h
CMD_ERASE
CMD_WRITE
DFU_DESC_TYPE
DFU_DETACH_MASK
ERASE
GET_COMMANDS
Manifest_complete
Manifest_In_Progress
SET_ADDRESS_POINTER
USB_DFU_CONFIG_DESC_SIZE
USB_DFU_DESC_SIZE
USBD_DFU_IF_DESC
DFU_REQUESTS
DFU_STATE
DFU_STATUS
pAppFunction
_DFU_REQUESTS
DFU_DETACH
DFU_DNLOAD
DFU_UPLOAD
DFU_GETSTATUS
DFU_CLRSTATUS
DFU_GETSTATE
DFU_ABORT
_DFU_STATE
STATE_appIDLE
STATE_appDETACH
STATE_dfuIDLE
STATE_dfuDNLOAD_SYNC
STATE_dfuDNBUSY
STATE_dfuDNLOAD_IDLE
STATE_dfuMANIFEST_SYNC
STATE_dfuMANIFEST
STATE_dfuMANIFEST_WAIT_RESET
STATE_dfuUPLOAD_IDLE
STATE_dfuERROR
_DFU_STATUS
STATUS_OK
STATUS_errTARGET
STATUS_errFILE
STATUS_errWRITE
STATUS_errERASE
STATUS_errCHECK_ERASED
STATUS_errPROG
STATUS_errVERIFY
STATUS_errADDRESS
STATUS_errNOTDONE
STATUS_errFIRMWARE
STATUS_errVENDOR
STATUS_errUSBR
STATUS_errPOR
STATUS_errUNKNOWN
STATUS_errSTALLEDPKT
USBD_DFU_cb
usbd_dfu_mal.h
_1st_BYTE
_2nd_BYTE
_3rd_BYTE
SET_POLLING_TIMEOUT
DFU_MAL_Property_TypeDef
MAL_Status
MAL_OK
MAL_FAIL
DFU_MAL_DeInit
DFU_MAL_Erase
DFU_MAL_GetStatus
DFU_MAL_Init
DFU_MAL_Read
DFU_MAL_Write
MAL_Buffer
usbd_flash_if.h
FLASH_END_ADDR
FLASH_IF_STRING
FLASH_START_ADDR
OB_RDPT
DFU_Flash_cb
src
usbd_dfu_core.c
DeviceStatus
MAL_Buffer
Manifest_State
USBD_DFU_cb
USBD_DFU_CfgDesc
USBD_DFU_StringDesc
usbd_dfu_mal.c
DFU_MAL_DeInit
DFU_MAL_Erase
DFU_MAL_GetStatus
DFU_MAL_Init
DFU_MAL_Read
DFU_MAL_Write
MAL_Buffer
tMALTab
USBD_DFU_StringDesc
usbd_flash_if.c
DFU_Flash_cb
hid
inc
usbd_custom_hid_core.h
CUSTOMHID_CONFIG_DESC_SIZE
CUSTOMHID_DESC_TYPE
CUSTOMHID_REPORT_DESC_SIZE
CUSTOMHID_REPORT_DESCTYPE
GET_IDLE
GET_PROTOCOL
GET_REPORT
SET_IDLE
SET_PROTOCOL
SET_REPORT
USB_CUSTOMHID_DESC_SIZE
USBD_CUSTOMHID_SendReport
USBD_CUSTOMHID_cb
usbd_hid_core.h
GET_IDLE
GET_PROTOCOL
GET_REPORT
HID_DESC_TYPE
HID_REPORT_DESCTYPE
SET_IDLE
SET_PROTOCOL
SET_REPORT
USB_HID_CONFIG_DESC_SIZE
USB_HID_DESC_SIZE
USB_HID_REPORT_DESC_SIZE
USBD_HID_SendReport
USBD_HID_cb
src
usbd_custom_hid_core.c
USBD_CUSTOMHID_SendReport
CustomHID_ReportDescriptor
flag
Report_buf
USBD_CUSTOMHID_cb
USBD_CUSTOMHID_Report_ID
USBD_HID_CfgDesc
usbd_hid_core.c
USBD_HID_SendReport
HID_ReportDesc
USBD_HID_cb
USBD_HID_CfgDesc
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
BBB_GET_MAX_LUN
BBB_RESET
MSC_EPIN_SIZE
MSC_EPOUT_SIZE
USB_MSC_CONFIG_DESC_SIZE
USBD_MSC_cb
usbd_msc_data.h
FORMAT_CAPACITIES_LENGTH
INQUIRY_PAGE00_LENGTH
MODE_SENSE10_LENGTH
MODE_SENSE6_LENGTH
MSC_Mode_Sense10_data
MSC_Mode_Sense6_data
MSC_Page00_Inquiry_Data
usbd_msc_mem.h
_USBD_STORAGE
GetCapacity
GetMaxLun
Init
IsReady
IsWriteProtected
pInquiryData
Read
Write
USBD_STD_INQUIRY_LENGTH
USBD_STORAGE_cb_TypeDef
USBD_STORAGE_fops
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
src
usbd_msc_bot.c
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
MSC_BBB_Status
usbd_msc_core.c
USBD_MSC_cb
USBD_MSC_CfgDesc
usbd_msc_data.c
MSC_Mode_Sense10_data
MSC_Mode_Sense6_data
MSC_Page00_Inquiry_Data
usbd_msc_scsi.c
SCSI_ProcessCmd
SCSI_ProcessRead
SCSI_ProcessWrite
SCSI_SenseCode
cdev
SCSI_blk_addr
SCSI_blk_len
SCSI_blk_nbr
SCSI_blk_size
SCSI_Sense
SCSI_Sense_Head
SCSI_Sense_Tail
usbd_storage_template.c
STORAGE_LUN_NBR
STORAGE_GetCapacity
STORAGE_GetMaxLun
STORAGE_Init
STORAGE_IsReady
STORAGE_IsWriteProtected
STORAGE_Read
STORAGE_Write
STORAGE_Inquirydata
USBD_MICRO_SDIO_fops
USBD_STORAGE_fops
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_Status
USBD_OK
USBD_BUSY
USBD_FAIL
USBD_ClrCfg
USBD_Connect
USBD_DataInStage
USBD_DataOutStage
USBD_DeInit
USBD_Disconnect
USBD_Init
USBD_SetCfg
USBD_SetupStage
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
DEVICE_ID
USB_DEVICE_DESC_SIZE
USB_LANGID_STRING_SIZE
USB_SERIAL_STRING_SIZE
Get_SerialString
USBD_USER_ConfigStrDesc
USBD_USER_DevDesc
USBD_USER_ItfStrDesc
USBD_USER_LANGIDStrDesc
USBD_USER_MFCStrDesc
USBD_USER_ProdStrDesc
USBD_USER_SerialStrDesc
USBD_StrDesc
USER_desc
usbd_enum.h
IS_NOT_EP0
USBD_DevClsReq
USBD_EnumError
USBD_GetUnicodeString
USBD_ParseSetupRequest
USBD_StdReq
USBD_VdrDefReq
usbd_it.h
USB_INTHandler_TypeDef
usbd_pwr.h
RESUME_STATE
_RESUME_STATE
RESUME_EXTERNAL
RESUME_INTERNAL
RESUME_LATER
RESUME_ON
RESUME_OFF
RESUME_ESOF
USBD_Resume
USBD_Suspend
USB_Device_dev
usbd_user.h
USBD_USER_DeviceConfigured
USBD_USER_DeviceInit
USBD_USER_DeviceReset
USBD_USER_DeviceResumed
USBD_USER_DeviceSuspended
USER_cb
src
usbd_core.c
USBD_ClrCfg
USBD_Connect
USBD_DataInStage
USBD_DataOutStage
USBD_DeInit
USBD_Disconnect
USBD_Init
USBD_SetCfg
USBD_SetupStage
gAddress
usbd_enum.c
usbd_it.c
usbd_pwr.c
USBD_Resume
USBD_Suspend
ESOFcount
RemoteWakeupOn
State
SuspendEnabled
Globals
All
_
a
b
c
d
e
f
i
m
p
r
s
u
x
Functions
Typedefs
Enumerations
Macros
Get in touch
Submit feedback about this site to:
[email protected]