29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

USB on-the-go full-speed (OTG_FS)<br />

Table 181.<br />

Acronym<br />

Core global control <strong>and</strong> status registers (CSRs) (continued)<br />

Address<br />

offset<br />

Register name<br />

OTG_FS_GRXSTSR<br />

OTG_FS_GRXSTSP<br />

0x01C<br />

0x020<br />

OTG_FS Receive status debug read/OTG status read <strong>and</strong> pop registers<br />

(OTG_FS_GRXSTSR/OTG_FS_GRXSTSP) on page 739<br />

OTG_FS_GRXFSIZ 0x024 OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ) on page 740<br />

OTG_FS_GNPTXFSIZ<br />

OTG_FS_GNPTXSTS<br />

OTG_FS_GCCFG<br />

0x028<br />

0x02C<br />

0x038<br />

OTG_FS non-periodic transmit FIFO size register (OTG_FS_GNPTXFSIZ)<br />

on page 741<br />

OTG_FS non-periodic transmit FIFO/queue status register<br />

(OTG_FS_GNPTXSTS) on page 741<br />

OTG_FS general core configuration register (OTG_FS_GCCFG) on<br />

page 742<br />

OTG_FS_CID 0x03C OTG_FS core ID register (OTG_FS_CID) on page 743<br />

OTG_FS_HPTXFSIZ<br />

OTG_FS_DIEPTXFx<br />

0x100<br />

0x104<br />

0x124<br />

...<br />

0x13C<br />

OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ) on<br />

page 743<br />

OTG_FS device IN endpoint transmit FIFO size register<br />

(OTG_FS_DIEPTXFx) (x = 1..4, where x is the FIFO_number) on page 744<br />

Table 182.<br />

Acronym<br />

Host-mode CSR map<br />

These registers must be programmed every time the core changes to Host mode.<br />

Host-mode control <strong>and</strong> status registers (CSRs)<br />

Offset<br />

address<br />

Register name<br />

OTG_FS_HCFG 0x400 OTG_FS host configuration register (OTG_FS_HCFG) on page 744<br />

OTG_FS_HFIR 0x404 OTG_FS Host frame interval register (OTG_FS_HFIR) on page 745<br />

OTG_FS_HFNUM<br />

OTG_FS_HPTXSTS<br />

OTG_FS_HAINT<br />

OTG_FS_HAINTMSK<br />

OTG_FS_HPRT<br />

0x408<br />

0x410<br />

0x414<br />

0x418<br />

0x440<br />

OTG_FS host frame number/frame time remaining register<br />

(OTG_FS_HFNUM) on page 746<br />

OTG_FS_Host periodic transmit FIFO/queue status register<br />

(OTG_FS_HPTXSTS) on page 746<br />

OTG_FS Host all channels interrupt register (OTG_FS_HAINT) on<br />

page 747<br />

OTG_FS host all channels interrupt mask register (OTG_FS_HAINTMSK)<br />

on page 748<br />

OTG_FS host port control <strong>and</strong> status register (OTG_FS_HPRT) on<br />

page 748<br />

Doc ID 13902 Rev 9 719/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!