![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 496](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630496.webp)
www.geehy.com Page 495
Field
Name
R/W
Description
17
HNFLG
RC_W1
Host Negotiation Flag
When USB host negotiation request is detected, this bit will be
set to 1.
18
ADTOFLG
RC_W1
A-Device Timeout Flag
If this bit is set to 1, it indicates timeout when A-device is
waiting for B-device to connect.
Note: It can be accessed in both device and master mode
19
DEBDFLG
RC_W1
Debpouncce Done Flag
When the equipment is connected and debounce is completed,
this bit shall be set to 1; when an interrupt is generated, the
USB will be reset.
This bit is valid only when HNPEN and SRPEN bits of
OTG_HS1_GUSBCFG register are set to 1.
Note: It can be accessed only in master mode
31:20
Reserved
High-speed OTG AHB configuration register
(OTG_HS1_GAHBCFG)
Offset address: 0x08
Reset value: 0x0000 0000
Field
Name
R/W
Description
0
GINTMASK R/W
Global Interrupt Mask
0: Mask global interrupt
1: Unmask global interrupt
4:1
BLT
R/W
Burst Length/Type
0000: Single time
0001
:
INCR
0011
:
INCR4
0101
:
INCR8
0111
:
INCR16
Others: Reserved
5
DMAEN
R/W
DMA Enable
0: Run in slave mode
1: Run in DMA mode
6
Reserved
7
TXFEL
R/W
TXFIFO Empty Level
0: TXFE interrupt means that IN endpoint TXFIFIO is half-empty
1: TXFE interrupt means that IN endpoint TXFIFIO is all-empty
Note: It can be accessed only in device mode
8
PTXFEL
R/W
Periodic TXFIFO Empty Level
0: PTXFE interrupt means that periodic TXFIFIO is half-empty
1: PTXFE interrupt means that periodic TXFIFIO is all-empty
Note: It can be accessed only in master mode
31:9
Reserved