GD32VF103 User Manual
486
Note: Only accessible in device mode.
18
IEPIF
IN endpoint interrupt flag
Set by USBFS when one of the IN endpoints in device mode has raised an interrupt.
Software should first read USBFS_DAEPINT register to get the device number, and
then read the corresponding USBFS_DIEPxINTF register to get the flags of the
endpoint that cause the interrupt. This bit will be automatically cleared after the
respective endpoint
’s flags which cause this interrupt are cleared.
Note: Only accessible in device mode.
17:16
Reserved
Must be kept at reset value
15
EOPFIF
End of periodic frame interrupt flag
When USB bus time in a frame reaches the value defined by EOPFT [1:0] bits in
USBFS_DCFG register, USBFS sets this flag.
Note: Only accessible in device mode.
14
ISOOPDIF
Isochronous OUT packet dropped interrupt flag
USBFS set this bit if it receives an isochronous OUT packet but cannot save it into
Rx FIFO because the FIFO doesn
’t have enough space.
Note: Only accessible in device mode.
13
ENUMF
Enumeration finished
USBFS sets this bit after the speed enumeration finishes. Read USBFS_DSTAT
register to get the current device speed.
Note: Only accessible in device mode.
12
RST
USB reset
USBFS sets this bit when it detects a USB reset signal on bus.
Note: Only accessible in device mode.
11
SP
USB suspend
USBFS sets this bit when it detects that the USB bus is idle for 3 ms and enters
suspend state.
Note: Only accessible in device mode.
10
ESP
Early suspend
USBFS sets this bit when it detects that the USB bus is idle for 3 ms.
Note: Only accessible in device mode.
9:8
Reserved
Must be kept at reset value
7
GONAK
Global OUT NAK effective
Write 1 to SGONAK bit in the USBFS_DCTL register and USBFS will set GONAK
flag after the writing to SGONAK takes effect.
Note: Only accessible in device mode.
6
GNPINAK
Global Non-Periodic IN NAK effective
Write 1 to SGINAK bit in the USBFS_DCTL register and USBFS will set GNPINAK