EasyManuals Logo

ST STM32F101xx User Manual

ST STM32F101xx
1096 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #828 background imageLoading...
Page #828 background image
USB on-the-go full-speed (OTG_FS) RM0008
828/1096 Doc ID 13902 Rev 12
Host-mode CSR map
These registers must be programmed every time the core changes to host mode.
OTG_FS_GINTSTS 0x014 OTG_FS core interrupt register (OTG_FS_GINTSTS) on page 840
OTG_FS_GINTMSK 0x018 OTG_FS interrupt mask register (OTG_FS_GINTMSK) on page 844
OTG_FS_GRXSTSR 0x01C
OTG_FS Receive status debug read/OTG status read and pop registers
(OTG_FS_GRXSTSR/OTG_FS_GRXSTSP) on page 847
OTG_FS_GRXSTSP 0x020
OTG_FS_GRXFSIZ 0x024 OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ) on page 848
OTG_FS_HNPTXFSIZ/
OTG_FS_DIEPTXF0
(1)
0x028
OTG_FS Host non-periodic transmit FIFO size register
(OTG_FS_HNPTXFSIZ)/Endpoint 0 Transmit FIFO size
(OTG_FS_DIEPTXF0)
OTG_FS_HNPTXSTS 0x02C
OTG_FS non-periodic transmit FIFO/queue status register
(OTG_FS_HNPTXSTS) on page 849
OTG_FS_GCCFG 0x038
OTG_FS general core configuration register (OTG_FS_GCCFG) on
page 850
OTG_FS_CID 0x03C OTG_FS core ID register (OTG_FS_CID) on page 851
OTG_FS_HPTXFSIZ 0x100
OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ) on
page 851
OTG_FS_DIEPTXFx
0x104
0x124
...
0x138
OTG_FS device IN endpoint transmit FIFO size register
(OTG_FS_DIEPTXFx) (x = 1..3, where x is the FIFO_number) on page 852
1. The general rule is to use OTG_FS_HNPTXFSIZ for host mode and OTG_FS_DIEPTXF0 for device mode.
Table 198. Core global control and status registers (CSRs) (continued)
Acronym
Address
offset
Register name
Table 199. Host-mode control and status registers (CSRs)
Acronym
Offset
address
Register name
OTG_FS_HCFG 0x400 OTG_FS Host configuration register (OTG_FS_HCFG) on page 852
OTG_FS_HFIR 0x404 OTG_FS Host frame interval register (OTG_FS_HFIR) on page 853
OTG_FS_HFNUM 0x408
OTG_FS Host frame number/frame time remaining register
(OTG_FS_HFNUM) on page 854
OTG_FS_HPTXSTS 0x410
OTG_FS_Host periodic transmit FIFO/queue status register
(OTG_FS_HPTXSTS) on page 854
OTG_FS_HAINT 0x414
OTG_FS Host all channels interrupt register (OTG_FS_HAINT) on
page 855
OTG_FS_HAINTMSK 0x418
OTG_FS Host all channels interrupt mask register (OTG_FS_HAINTMSK)
on page 856

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F101xx and is the answer not in the manual?

ST STM32F101xx Specifications

General IconGeneral
BrandST
ModelSTM32F101xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals