GD32VF103 User Manual
485
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 when 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 register.
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 should 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 (defined 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.