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 />

Table 184.<br />

Data FIFO (DFIFO) access register map<br />

FIFO access register section Address range Access<br />

Device IN Endpoint 0/Host OUT Channel 0: DFIFO Write Access<br />

Device OUT Endpoint 0/Host IN Channel 0: DFIFO Read Access<br />

Device IN Endpoint 1/Host OUT Channel 1: DFIFO Write Access<br />

Device OUT Endpoint 1/Host IN Channel 1: DFIFO Read Access<br />

0x1000–0x1FFC<br />

0x2000–0x2FFC<br />

w<br />

r<br />

w<br />

r<br />

... ... ...<br />

Device IN Endpoint x (1) /Host OUT Channel x (1) : DFIFO Write Access<br />

Device OUT Endpoint x (1) /Host IN Channel x (1) : DFIFO Read Access<br />

0xX000h–0xXFFCh w r<br />

1. Where x is 3 in device mode <strong>and</strong> 7 in host mode.<br />

Power <strong>and</strong> clock gating CSR map<br />

There is a single register for power <strong>and</strong> clock gating. It is available in both Host <strong>and</strong> Device<br />

modes.<br />

Table 185.<br />

Power <strong>and</strong> clock gating control <strong>and</strong> status registers<br />

Register name Acronym Offset address: 0xE00–0xFFF<br />

Power <strong>and</strong> clock gating control register PCGCR 0xE00-0xE04<br />

Reserved<br />

0xE05–0xFFF<br />

26.14.2 OTG_FS global registers<br />

These registers are available in both Host <strong>and</strong> Device modes, <strong>and</strong> do not need to be<br />

reprogrammed when switching between these modes.<br />

Bit values in the register descriptions are expressed in binary unless otherwise specified.<br />

OTG_FS control <strong>and</strong> status register (OTG_FS_GOTGCTL)<br />

Address offset: 0x000<br />

Reset value: 0x0000 0800<br />

The OTG control <strong>and</strong> status register controls the behavior <strong>and</strong> reflects the status of the OTG<br />

function of the core.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

BSVLD<br />

ASVLD<br />

DBCT<br />

CIDSTS<br />

Reserved<br />

DHNPEN<br />

HSHNPEN<br />

HNPRQ<br />

HNGSCS<br />

Reserved<br />

SRQ<br />

SRQSCS<br />

r r r r rw rw rw r rw r<br />

Bits 31:20 Reserved<br />

722/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!