GD32W51x User Manual
845
Note: Accessible in both device and host modes.
27
Reserved
Must be kept at reset value
26
PTXFEIF
Periodic Tx FIFO empty interrupt flag
This interrupt is triggered w hen the periodic transmit FIFO is either half or
completely empty. The threshold is determined by the periodic Tx FIFO empty level
bit (PTXFTH) in the USBFS_GAHBCS regis ter.
Note: Only accessible in host mode.
25
HCIF
Host channels interrupt flag
Set by USBFS w hen one of the channels in host mode has raised an interrupt.
First read USBFS_ HACHINT register to get the channel number, and then read the
corresponding USBFS_HCHx INTF
register to get the flags of the channel that cause
the interrupt.
This bit w ill be automatically cleared after the respective channel’s
flags w hich cause channel interrupt are cleared.
Note: Only accessible in host mode.
24
HPIF
Host port interrupt flag
Set by the core w hen USBFS detects that port status changes in host mode.
Softw are should read USBFS_HPCS register to get the source of this interrupt. This
bit w ill be automatically cleared after the flags that causing a port interrupt are
cleared.
Note: Only accessible in host mode.
23:22
Reserved
Must be kept at reset value
21
PXNCIF
ISOONCIF
Periodic transfer Not Complete Interrupt flag
USBFS sets this bit w hen there are periodic transactions for current frame not
completed at the end of frame. (Host mode)
Isochronous OUT transfer Not Complete Interrupt Flag
At the end of a periodic frame (defined by EOPFT bit in USBFS_DCFG), USBFS
w ill set this bit if there are still isochronous OUT endpoints for that not completed
transactions. (Device Mode)
20
ISOINCIF
Isochronous IN transfer Not Complete Interrupt Flag
At the end of a periodic frame (defined by EOPFT [1:0] bits in USBFS_DC FG) ,
USBFS w ill set this bit if there are still isochronous IN endpoints for that not
completed transactions. (Device Mode)
Note: Only accessible in device mode.
19
OEPIF
OUT endpoint interrupt flag
Set by USBFS w hen one of the OUT 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_DOEPx INTF register to get the
flags of the endpoint that cause the interrupt. This bit w ill be automatically cleared
after the respective endpoint’s flags w hich cause this interrupt are cleared.