![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 522](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630522.webp)
www.geehy.com Page 521
Field
Name
R/W
Description
1
SDCNNT
R/W
Soft Disconnect
Soft disconnect means that the host cannot learn that the device is
connected, and the device cannot receive the signal on USB.
0: Work normally
1: The application program transmits soft disconnection signal
Note: The USB will be always disconnected until this bit is cleared
to 0.
2
GINAKSTS
R
Global IN NAK Status
This bit controls whether the reply handshake signal is related to
the data availability in the transmit FIFO.
0: Related
1: Unrelated; all non-periodic IN endpoints reply NAK handshake
signal
3
GONAKSTS
R
Global OUT NAK Status
0: Reply handshake signal according to the FIFO state and related
configuration bit
1: No data is received, discard all OUT data packets and all data
packets reply the NAK handshake signal
6:4
TESTSEL
R/W
Test Mode Select
000: Disable the test
001
:
Test_J
010
:
Test_K
011
:
Test_SE0_NAK
100
:
Test_Packet
101
:
Test_Force_Enable
Others: Reserved
7
GINAKSET
W
Global IN NAK Setup
This bit can be set to 1 only when GINNPNAKEI bit of
OTG_HS1_GCINT register is 0, so as to make all non-periodic IN
ports transmit the NAK handshake signal.
8
GINAKCLR
W
Global IN NAK Clear
When this bit is set to 1, GINAKSET bit will be cleared.
9
GONAKSET
W
Global OUT NAK Setup
This bit can be set to 1 only when GONAKEI bit of
OTG_HS1_GCINT register is 0, so as to make all OUT ports
transmit the NAK handshake signal.
10
GONAKCLR
W
Global OUT NAK Clear
When this bit is set to 1, GONAKSET bit will be cleared.
11
POPROGCMP R/W
Power-on Programming Complete
This bit indicates that the register has completed the programming
operation after wake-up from power-down mode.
31:12
Reserved
High-speed OTG device state register (OTG_HS1_DSTS)
Offset address: 0x808
Reset value: 0x0000 0010