GD32F403xx User Manual
657
R
e
se
rve
d
T
X
F
N
U
M
[4
:0
]
T
X
F
F
R
X
F
F
R
e
se
rve
d
H
F
C
R
S
T
H
C
S
R
S
T
C
S
R
S
T
rw
rs
rs
rs
rs
rs
Bits
Fields
Descriptions
31: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: Non 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
Application set this bit to flush data Tx FIFOs and TXFNUM[4:0] bits decide 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
Application set this 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
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...