
GD32F403xx User Manual
659
27
Reserved
Must be kept at reset value.
26
PTXFEIF
Periodic Tx FIFO empty interrupt flag
This interrupt is triggered when the periodic transmit FIFO is either half or
completely empty. The threshold is determined by the periodic Tx FIFO emp ty
level bit (PTXFTH) in the USBFS_GAHBCS regis ter.
Note:
Only accessible in host mode.
25
HCIF
Host channels interrupt flag
Set by USBFS when 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_HCHxINTF
register to get the flags of the channel that
cause the interrupt. This bit will be automatically cleared after the respective
channel’s flags which cause channel interrupt are cleared.
Note:
Only accessible in host mode.
24
HPIF
Host port interrupt flag
Set by the core when USBFS detects that port status changes in host mode.
Software sho uld read USBFS_HPCS register to get the source of this interrupt.
This bit will 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 when 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 (defin ed by EOPFT bit in USBFS_DCFG), USBFS
will 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_DCFG),
USBFS will 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 when one of the OUT 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_DOEPxINTF 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.