GD32F20x User Manual
899
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 has detected the 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 not completed at the end
of current 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 the transactions not
completed (Device Mode).
20
ISOINCIF
Isochronous IN 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 the transactions not
completed (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 endpoint
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.
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 endpoint
number, and then read the corresponding USBFS_DIEPxINTF register to get the
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...