GD32F10x User Manual
766
1: Interrupt generated when ESOFIF bit in USBD_INTF register is set.
7:5
Reserved
Must be kept at reset value
4
RSREQ
Resume request
The software set a resume request to the USB host, and the USB host should drive
the resume sequence according the USB specifications
0: No resume request
1: Send resume request.
3
SETSPS
Set suspend
The software should set suspend state when SPSIF bit in USBD_INTF register is
set.
0: Not set suspend state.
1: Set suspend state.
2
LOWM
Low-power mode
When set this bit, the USB goes to low-power mode at suspend state. If resume
from suspend state, the hardware reset this bit.
0: No effect
1: Go to low-power mode at suspend state.
1
CLOSE
Close state
When this bit is set, the USBD goes to close state, and completely close the USBD
and disconnected from the host.
0: Not in close state
1: In close state.
0
SETRST
Set reset
When this bit is set, the USBD peripheral should be reset.
0: No reset
1: A reset generated.
23.7.2.
USBD interrupt flag register (USBD_INTF)
Address offset: 0x44
Reset value: 0x0000
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
STIF
PMOUIF
ERRIF
WKUPIF
SPSIF
RSTIF
SOFIF
ESOFIF
Reserved
DIR
EPNUM[3:0]
r
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
rc_w0
r
r
Bits
Fields
Descriptions
15
STIF
Successful transfer interrupt flag
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 ...