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.

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

RM0008<br />

Figure 269. CSR memory map<br />

0000h<br />

0400h<br />

0800h<br />

0E00h<br />

1000h<br />

2000h<br />

3000h<br />

0F000h<br />

10000h<br />

1 1000h<br />

Core global CSRs (1 Kbyte)<br />

Host mode CSRs (1 Kbyte)<br />

Device mode CSRs (1.5 Kbyte)<br />

Power <strong>and</strong> clock gating CSRs (0.5 Kbyte)<br />

Device EP 0/Host channel 0 FIFO (4 Kbyte)<br />

Device EP1/Host channel 1 FIFO (4 Kbyte)<br />

Device EP (x – 1) (1) /Host channel (x – 1) (1) FIFO (4 Kbyte)<br />

Device EP x (1) /Host channel x (1) FIFO (4 Kbyte)<br />

DFIFO<br />

push/pop<br />

to this region<br />

Reserved<br />

2 0000h<br />

3 FFFFh<br />

1. x = 3 in Device mode <strong>and</strong> x = 7 in Host mode.<br />

Direct access to data FIFO RAM<br />

for debugging (128 Kbyte)<br />

DFIFO<br />

debug read/<br />

write to this<br />

region<br />

ai15615<br />

Table 181.<br />

Acronym<br />

Global CSR map<br />

These registers are available in both Host <strong>and</strong> Device modes.<br />

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

Address<br />

offset<br />

Register name<br />

OTG_FS_OTGCTL 0x000 OTG_FS control <strong>and</strong> status register (OTG_FS_GOTGCTL) on page 722<br />

OTG_FS_GOTGINT 0x004 OTG_FS interrupt register (OTG_FS_GOTGINT) on page 725<br />

OTG_FS_GAHBCFG 0x008 OTG_FS AHB configuration register (OTG_FS_GAHBCFG) on page 727<br />

OTG_FS_GUSBCFG 0x00C OTG_FS USB configuration register (OTG_FS_GUSBCFG) on page 728<br />

OTG_FS_GRSTCTL 0x010 OTG_FS reset register (OTG_FS_GRSTCTL) on page 730<br />

OTG_FS_GINTSTS 0x014 OTG_FS core interrupt register (OTG_FS_GINTSTS) on page 732<br />

OTG_FS_GINTMSK 0x018 OTG_FS interrupt mask register (OTG_FS_GINTMSK) on page 736<br />

718/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!