
GD32F10x User Manual
767
This bit set by hardware when a successful transaction completes
14
PMOUIF
Packet memory overrun/underrun interrupt flag
This bit set by hardware to indicate that the packet memory is inadequate to hold
transfer data. The software writes 0 to clear this bit.
13
ERRIF
Error interrupt flag
This bit set by hardware when an error happens during transaction. The software
writes 0 to clear this bit.
12
WKUPIF
Wakeup interrupt flag
This bit set by hardware in the SUSPEND state to indicate that activity is detected.
The software writes 0 to clear this bit.
11
SPSIF
Suspend state interrupt flag
When no traffic happens in 3ms, hardware set this bit to indicate a SUSPEND
request. The software writes 0 to clear this bit.
10
RSTIF
USB reset interrupt flag
Set by hardware when the USB RESET signal is detected. The software writes 0 to
clear this bit.
9
SOFIF
Start of frame interrupt flag
Set by hardware when a new SOF packet arrives, The software writes 0 to clear this
bit.
8
ESOFIF
Expected start of frame interrupt flag
Set by the hardware to indicate that a SOF packet is expected but not received. The
software writes 0 to clear this bit.
7:5
Reserved
Must be kept at reset value
4
DIR
Direction of transaction
Set by the hardware to indicate the direction of the transaction
0: IN type
1: OUT type
3:0
EPNUM[3:0]
Endpoint Number
Set by the hardware to identify the endpoint which the transaction is directed to
23.7.3.
USBD status register (USBD_STAT)
Address offset: 0x48
Reset value: 0x0XXX where X is undefined
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RX_DP
RX_DM
LOCK
SOFLN[1:0]
FCNT[10:0]
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...