![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 495](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630495.webp)
www.geehy.com Page 494
Field
Name
R/W
Description
11
DHNPEN
R/W
Device HNP Enable
0: Disable
1: Enable
Note: It can be used only in device mode
15:12
Reserved
16
CIDSTS
R
Connector ID Status
0: OTG_HS1 controller is in Device A mode
1: OTG_HS1 controller is in Device B mode
Note: It can be used in both device and master modes
17
LSDEBT
R
Long/Short Debounce Time
0: Long debounce time
1: Short debounce time
Note: It can be used only in master mode
18
ASVD
R
A-Session Valid
0: Invalid
1: Valid
Note: It can be accessed only in master mode
19
BSVD
R
B-Session Valid
In OTG mode, this bit is used to confirm whether the device is in
connected status.
0: Invalid
1: Valid
Note: It can be accessed only in device mode
31:20
Reserved
High-speed OTG interrupt register (OTG_HS1_GINT)
Offset address: 0x04
Reset value: 0x0000 0000
Field
Name
R/W
Description
1:0
Reserved
2
SEFLG
RC_W1
Session End Flag
When V
BUS
<0.8V, it means that V
BUS
is not used for B-session,
and this bit will be set to 1.
7:3
Reserved
8
SREQSUCCHG RC_W1
Session Request Success Flag
If the value of SREQSUC bit changes, this bit will be set to 1.
Note: It can be accessed in both device and master mode
9
HNSUCCHG
RC_W1
Host Negotiation Success Flag
If the value of HNSUC bit changes, this bit will be set to 1.
Note: It can be accessed in both device and master mode
16:10
Reserved