![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 897](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801897.webp)
GD32F20x User Manual
897
rw
rs
rs
rs
rs
rs
Bits
Fields
Descriptions
31
AHBMIDL
AHB master idle, this bit is always 1 for both device and host mode
30:11
Reserved
Must be kept at reset value.
10:6
TXFNUM[4:0]
Tx FIFO number
Indicates which Tx FIFO will be flushed when TXFF bit in the same register is set.
Host Mode:
00000: Only non-periodic Tx FIFO is flushed
00001: Only periodic Tx FIFO is flushed
1XXXX: Both periodic and non-periodic Tx FIFOs are flushed
Other: No data FIFO is flushed
Device Mode:
00000: Only Tx FIFO0 is flushed
00001: Only Tx FIFO1 is flushed
…
00011: Only Tx FIFO3 is flushed
1XXXX: All Tx FIFOs are flushed
Other: Non data FIFO is flushed
5
TXFF
Tx FIFO flush
Set the bit to flush data Tx FIFOs and TXFNUM[4:0] bits determine the FIFO
number to be flushed. Hardware automatically clears this bit after the flush
process completes. After setting this bit, application should wait until this bit is
cleared before any other operation on USBFS.
Note:
Accessible in both device and host modes.
4
RXFF
Rx FIFO flush
Set the bit to flush data Rx FIFO. Hardware automatically clears this bit after the
flush process completes. After setting this bit, application should wait until this bit
is cleared before any other operation on USBFS.
Note:
Accessible in both device and host modes.
3
Reserved
Must be kept at reset value.
2
HFCRST
Host frame counter reset
Set by the application to reset the frame number counter in USBFS. After this bit is
set, the frame number of the following SOF returns to 0. Hardware automatically
clears this bit after the reset process completes. After setting this bit, application
should wait until this bit is cleared before any other operation on USBFS.
Note:
Only accessible in host mode.
1
HCSRST
HCLK soft reset
Set by the application to reset AHB clock domain circuit.
Hardware automatically clears this bit after the reset process completes. After
setting this bit, application should wait until this bit is cleared before any other
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 ...