GD32W51x User Manual
846
Note: Only accessible in device mode.
18
IEPIF
IN endpoint interrupt flag
Set by USBFS w hen one of the IN endpoints in device mode has raised an interrupt.
Softw are should first read USBFS_DA EPINT register to get the device number, and
then read the corresponding USBFS_DIEPx INTF register to get the flags of the
endpoint that cause the interrupt. This bit w ill be automatically cleared after the
resp
ective endpoint’s flags w hich 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 does
n’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_D S TA T
register to get the current device speed.
Note: Only accessible in device mode.
12
RST
USB reset
USBFS sets this bit w hen it detects a USB reset signal on bus.
Note: Only accessible in device mode.
11
SP
USB suspend
USBFS sets this bit w hen 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 w hen 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 w ill set GONA K
flag after the w riting 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 w ill set GNPINA K