GD32F403xx User Manual
686
USBFS_GINTF register triggered after a while. Software should clear the GONAK
flag before writing this bit again.
8
CGINAK
Clear global IN NAK
Software sets this bit to clear GINS bit in this register.
7
SGINAK
Set global IN NAK
Software sets this bit to set GINS bit in this register.
When GINS bit is zero, setting this bit will also cause GINAK flag in
USBFS_GINTF register triggered after a while. Software should clear the GINAK
flag before writing this bit again.
6:4
Reserved
Must be kept at reset value
3
GONS
Global OUT NAK status
0: The handshake that USBFS response to OUT transaction packet and whether
to save the OUT data packet are decided by Rx FIFO status, endpoint’s NAK and
STALL bits.
1:
USHBS always responses to OUT transaction with NAK handshake and doesn’t
save the incoming OUT data packet.
2
GINS
Global IN NAK status
0:
The response to IN transaction is decided by Tx FIFO status, endpoint’s NAK
and STALL bits.
1: USBFS always responses to IN transaction with a NAK handshake.
1
SD
Soft disconnect
Software can use this bit to generate a soft di sconnect condition on USB bus.
After this bit is set, USBFS switches off the pull up resistor on DP line. This will
cause the host to detect a device disconnect.
0: No soft disconnect generated.
1: Generate a soft disconnection.
0
RWKUP
Remote wakeup
In suspend state, software can use this bit to generate a Remote wake up signal
to inform host that it should resume the USB bus.
0: No remote wakeup signal generated.
1: Generate remote wakeup signal.
Device status register (USBFS_DSTAT)
Address offset: 0x0808
Reset value: 0x0000 0000
This register contains status and information of the USBFS in device mode.
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Содержание 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 ...