EasyManuals Logo

ST STM32F40 Series User Manual

ST STM32F40 Series
1422 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 #1047 background imageLoading...
Page #1047 background image
USB on-the-go full-speed (OTG_FS) RM0090
1047/1422 Doc ID 018909 Rev 4
Host-mode CSR map
These registers must be programmed every time the core changes to host mode.
OTG_FS_GRXSTSR 0x01C
OTG_FS Receive status debug read/OTG status read and pop registers
(OTG_FS_GRXSTSR/OTG_FS_GRXSTSP) on page 1066
OTG_FS_GRXSTSP 0x020
OTG_FS_GRXFSIZ 0x024 OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ) on page 1067
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 1068
OTG_FS_GCCFG 0x038
OTG_FS general core configuration register (OTG_FS_GCCFG) on
page 1069
OTG_FS_CID 0x03C OTG_FS core ID register (OTG_FS_CID) on page 1070
OTG_FS_HPTXFSIZ 0x100
OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ) on
page 1071
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 1072
1. The general rule is to use OTG_FS_HNPTXFSIZ for host mode and OTG_FS_DIEPTXF0 for device mode.
Table 171. Core global control and status registers (CSRs) (continued)
Acronym
Address
offset
Register name
Table 172. 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 1072
OTG_FS_HFIR 0x404 OTG_FS Host frame interval register (OTG_FS_HFIR) on page 1073
OTG_FS_HFNUM 0x408
OTG_FS Host frame number/frame time remaining register
(OTG_FS_HFNUM) on page 1074
OTG_FS_HPTXSTS 0x410
OTG_FS_Host periodic transmit FIFO/queue status register
(OTG_FS_HPTXSTS) on page 1074
OTG_FS_HAINT 0x414
OTG_FS Host all channels interrupt register (OTG_FS_HAINT) on
page 1075
OTG_FS_HAINTMSK 0x418
OTG_FS Host all channels interrupt mask register (OTG_FS_HAINTMSK)
on page 1076
OTG_FS_HPRT 0x440
OTG_FS Host port control and status register (OTG_FS_HPRT) on
page 1076

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F40 Series Specifications

General IconGeneral
BrandST
ModelSTM32F40 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals