GD32F20x User Manual
889
the status flags report the transaction result.
4.
After all the data packets in a transfer are successfully received on USB bus, USBFS
pushes a TF status entry into the Rx FIFO on top of the last packet data. Thus, after
reading and popping all the received data packet, the TF status entry is read. USBFS
generates TF flag to indicate that the transfer is successfully finished and the IN endpoint
is disabled.
28.6.
Interrupts
USBFS has two interrupts: global interrupt and wakeup interrupt.
The source flags of the global interrupt are readable in USBFS_GINTF register and are listed
in
Table 28-2. USBFS global interrupt
Table 28-2. USBFS global interrupt
Interrupt Flag
Description
Operation Mode
SEIF
Session interrupt
Host or device mode
DISCIF
Disconnect interrupt flag
Host Mode
IDPSC
ID pin status change
Host or device mode
PTXFEIF
Periodic Tx FIFO empty interrupt flag
Host Mode
HCIF
Host channels interrupt flag
Host Mode
HPIF
Host port interrupt flag
Host Mode
ISOONCIF/PXN
CIF
Isochronous OUT transfer not
complete interrupt flag / Periodic
transfer not complete interrupt flag
Host or device mode
ISOINCIF
Isochronous IN transfer not complete
interrupt flag
Device mode
OEPIF
OUT endpoint interrupt flag
Device mode
IEPIF
IN endpoint interrupt flag
Device mode
EOPFIF
End of periodic frame interrupt flag
Device mode
ISOOPDIF
Isochronous OUT packet dropped
interrupt flag
Device mode
ENUMF
Enumeration finished
Device mode
RST
USB reset
Device mode
SP
USB suspend
Device mode
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...