#ifdef __USBOTG_HS
USB on the go high speed
#else
USB on the go full speed
#endif
GOTGCTL
GOTGCTL
OTG control and status
register
0x0
32
0x00000800
SRQSCS
Session request success
0
1
read-only
SRQ
Session request
1
1
read-write
HNGSCS
Host negotiation success
8
1
read-only
HNPRQ
HNP request
9
1
read-write
HSHNPEN
Host set HNP enable
10
1
read-write
DHNPEN
Device HNP enabled
11
1
read-write
CIDSTS
Connector ID status
16
1
read-only
DBCT
Long/short debounce time
17
1
read-only
ASVLD
A-session valid
18
1
read-only
BSVLD
B-session valid
19
1
read-only
GOTGINT
GOTGINT
OTG interrupt register
0x4
32
read-write
0x0
SEDET
Session end detected
2
1
SRSSCHG
Session request success status
change
8
1
HNSSCHG
Host negotiation success status
change
9
1
HNGDET
Host negotiation detected
17
1
ADTOCHG
A-device timeout change
18
1
DBCDNE
Debounce done
19
1
GAHBCFG
GAHBCFG
OTG AHB configuration
register
0x8
32
read-write
0x0
GINT
Global interrupt mask
0
1
#ifdef __USBOTG_HS
HBSTLEN
Burst length/type
1
4
DMAEN
DMA enable
5
1
#endif
TXFELVL
TxFIFO empty level
7
1
PTXFELVL
Periodic TxFIFO empty
level
8
1
GUSBCFG
GUSBCFG
OTG USB configuration
register
0xC
32
0x00000A00
TOCAL
FS timeout calibration
0
3
read-write
PHYSEL
USB 2.0 high-speed ULPI PHY or USB 1.1
full-speed serial transceiver select
6
1
write-only
SRPCAP
SRP-capable
8
1
read-write
HNPCAP
HNP-capable
9
1
read-write
TRDT
USB turnaround time
10
4
read-write
#ifdef __USBOTG_HS
PHYLPCS
PHY Low-power clock select
15
1
read-write
ULPIFSLS
ULPI FS/LS select
17
1
read-write
ULPIAR
ULPI Auto-resume
18
1
read-write
ULPICSM
ULPI Clock SuspendM
19
1
read-write
ULPIEVBUSD
ULPI External VBUS Drive
20
1
read-write
ULPIEVBUSI
ULPI external VBUS
indicator
21
1
read-write
TSDPS
TermSel DLine pulsing
selection
22
1
read-write
PCCI
Indicator complement
23
1
read-write
PTCI
Indicator pass through
24
1
read-write
ULPIIPD
ULPI interface protect
disable
25
1
read-write
#endif
FHMOD
Forced host mode
29
1
read-write
FDMOD
Forced peripheral mode
30
1
read-write
CTXPKT
Corrupt Tx packet
31
1
read-write
GRSTCTL
GRSTCTL
OTG reset register
0x10
32
0x20000000
CSRST
Core soft reset
0
1
read-write
HSRST
HCLK soft reset
1
1
read-write
FCRST
Host frame counter reset
2
1
read-write
RXFFLSH
RxFIFO flush
4
1
read-write
TXFFLSH
TxFIFO flush
5
1
read-write
TXFNUM
TxFIFO number
6
5
read-write
#ifdef __USBOTG_HS
DMAREQ
DMA request signal
30
1
read-only
#endif
AHBIDL
AHB master idle
31
1
read-only
GINTSTS
GINTSTS
OTG core interrupt register
0x14
32
0x04000020
CMOD
Current mode of operation
0
1
read-only
MMIS
Mode mismatch interrupt
1
1
read-write
OTGINT
OTG interrupt
2
1
read-only
SOF
Start of frame
3
1
read-write
RXFLVL
RxFIFO nonempty
4
1
read-only
NPTXFE
Nonperiodic TxFIFO empty
5
1
read-only
GINAKEFF
Global IN nonperiodic NAK
effective
6
1
read-only
GOUTNAKEFF
Global OUT NAK effective
7
1
read-only
ESUSP
Early suspend
10
1
read-write
USBSUSP
USB suspend
11
1
read-write
USBRST
USB reset
12
1
read-write
ENUMDNE
Enumeration done
13
1
read-write
ISOODRP
Isochronous OUT packet dropped
interrupt
14
1
read-write
EOPF
End of periodic frame
interrupt
15
1
read-write
IEPINT
IN endpoint interrupt
18
1
read-only
OEPINT
OUT endpoint interrupt
19
1
read-only
IISOIXFR
Incomplete isochronous IN
transfer
20
1
read-write
IPXFR_INCOMPISOOUT
Incomplete periodic
transfer
21
1
read-write
#ifdef __USBOTG_HS
DATAFSUSP
Data fetch suspended
22
1
read-write
#endif
HPRTINT
Host port interrupt
24
1
read-only
HCINT
Host channels interrupt
25
1
read-only
PTXFE
Periodic TxFIFO empty
26
1
read-only
CIDSCHG
Connector ID status change
28
1
read-write
DISCINT
Disconnect detected
interrupt
29
1
read-write
SRQINT
Session request/new session detected
interrupt
30
1
read-write
WKUINT
Resume/remote wakeup detected
interrupt
31
1
read-write
GINTMSK
GINTMSK
OTG interrupt mask register
0x18
32
0x0
MMISM
Mode mismatch interrupt
mask
1
1
read-write
OTGINT
OTG interrupt mask
2
1
read-write
SOFM
Start of frame mask
3
1
read-write
RXFLVLM
Receive FIFO nonempty mask
4
1
read-write
NPTXFEM
Nonperiodic TxFIFO empty
mask
5
1
read-write
GINAKEFFM
Global nonperiodic IN NAK effective
mask
6
1
read-write
GONAKEFFM
Global OUT NAK effective
mask
7
1
read-write
ESUSPM
Early suspend mask
10
1
read-write
USBSUSPM
USB suspend mask
11
1
read-write
USBRST
USB reset mask
12
1
read-write
ENUMDNEM
Enumeration done mask
13
1
read-write
ISOODRPM
Isochronous OUT packet dropped interrupt
mask
14
1
read-write
EOPFM
End of periodic frame interrupt
mask
15
1
read-write
EPMISM
Endpoint mismatch interrupt
mask
17
1
read-write
IEPINT
IN endpoints interrupt
mask
18
1
read-write
OEPINT
OUT endpoints interrupt
mask
19
1
read-write
IISOIXFRM
Incomplete isochronous IN transfer
mask
20
1
read-write
IPXFRM_IISOOXFRM
Incomplete periodic transfer
mask
21
1
read-write
#ifdef __USBOTG_HS
FSUSPM
Data fetch suspended mask
22
1
read-write
#endif
PRTIM
Host port interrupt mask
24
1
read-only
HCIM
Host channels interrupt
mask
25
1
read-write
PTXFEM
Periodic TxFIFO empty mask
26
1
read-write
CIDSCHGM
Connector ID status change
mask
28
1
read-write
DISCINT
Disconnect detected interrupt
mask
29
1
read-write
SRQIM
Session request/new session detected
interrupt mask
30
1
read-write
WUIM
Resume/remote wakeup detected interrupt
mask
31
1
read-write
GRXSTSR
GRXSTSR
OTG Receive status debug read register (unified)
0x1C
32
read-only
0x0
EPNUM_CHNUM
Endpoint number or Channel number
0
4
BCNT
Byte count
4
11
DPID
Data PID
15
2
PKTSTS
Packet status
17
4
FRMNUM
Frame number
21
4
GRXSTSP
GRXSTSP
OTG status read and pop register (unified)
0x20
32
read-only
0x0
EPNUM_CHNUM
Endpoint number or Channel number
0
4
BCNT
Byte count
4
11
DPID
Data PID
15
2
PKTSTS
Packet status
17
4
FRMNUM
Frame number
21
4
GRXFSIZ
GRXFSIZ
OTG Receive FIFO size
register
0x24
32
read-write
0x00000200
RXFD
RxFIFO depth
0
16
GNPTXFSIZ_TX0FSIZ
GNPTXFSIZ_TX0FSIZ
OTG nonperiodic transmit FIFO size register (host mode) OR
Endpoint 0 transmit FIFO size (peripheral mode)
0x28
32
read-write
0x00000200
NPTXFSA_TX0FSA
Nonperiodic/Endpoint 0 transmit RAM start
address
0
16
NPTXFD_TX0FD
Nonperiodic/Endpoint 0 TxFIFO depth
16
16
GNPTXSTS
GNPTXSTS
OTG nonperiodic transmit FIFO/queue
status register
0x2C
32
read-only
0x00080200
NPTXFSAV
Nonperiodic TxFIFO space
available
0
16
NPTQXSAV
Nonperiodic transmit request queue space
available
16
8
NPTXQTOP
Top of the nonperiodic transmit request
queue
24
7
GCCFG
GCCFG
OTG general core configuration
register
0x38
32
read-write
0x0
PWRDWN
Power down
16
1
#ifdef __USBOTG_HS
I2CPADEN
Enable I2C bus connection for the
external I2C PHY interface
17
1
#endif
VBUSASEN
Enable the VBUS sensing
device
18
1
VBUSBSEN
Enable the VBUS sensing device
19
1
SOFOUTEN
SOF output enable
20
1
NOVBUSSENS
VBUS sensing disable
option
21
1
CID
CID
OTG core ID register
0x3C
32
read-write
0x00001200
PRODUCT_ID
Product ID field
0
32
HPTXFSIZ
HPTXFSIZ
OTG Host periodic transmit FIFO size
register
0x100
32
read-write
0x02000600
PTXSA
Host periodic TxFIFO start
address
0
16
PTXFD
Host periodic TxFIFO depth
16
16
DIEPTXF1
DIEPTXF1
OTG device IN endpoint transmit FIFO size
register
0x104
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
DIEPTXF2
DIEPTXF2
OTG device IN endpoint transmit FIFO size
register
0x108
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
DIEPTXF3
DIEPTXF3
OTG device IN endpoint transmit FIFO size
register
0x10C
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
#ifdef __USBOTG_HS
DIEPTXF4
DIEPTXF4
OTG device IN endpoint transmit FIFO size
register
0x110
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
DIEPTXF5
DIEPTXF5
OTG device IN endpoint transmit FIFO size
register
0x114
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
DIEPTXF6
DIEPTXF6
OTG device IN endpoint transmit FIFO size
register
0x118
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
DIEPTXF7
DIEPTXF7
OTG device IN endpoint transmit FIFO size
register
0x11C
32
read-write
0x02000400
INEPTXSA
IN endpoint FIFOx transmit RAM start
address
0
16
INEPTXFD
IN endpoint TxFIFO depth
16
16
#endif
#undef __USBOTG_HS