09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

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

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

Power and clock gating CSR map<br />

There is a single register for power and clock gating. It is available in both host and device<br />

modes.<br />

30.16.2 OTG_FS global registers<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 />

These registers are available in both host and device modes, and 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 and status register (OTG_FS_GOTGCTL)<br />

0x1000–0x1FFC<br />

0x2000–0x2FFC<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 />

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

Table 173. Power and clock gating control and status registers<br />

Address offset: 0x000<br />

Reset value: 0x0000 0800<br />

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

function of the core.<br />

Doc ID 018909 Rev 3 1046/1416<br />

w<br />

r<br />

w<br />

r<br />

0xX000h–0xXFFCh w<br />

r<br />

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

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

Reserved 0xE05–0xFFF<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 BSVLD<br />

ASVLD<br />

DBCT<br />

CIDSTS<br />

Reserved<br />

DHNPEN<br />

HSHNPEN<br />

HNPRQ<br />

HNGSCS<br />

Reserved SRQ<br />

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

SRQSCS

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

Saved successfully!

Ooh no, something went wrong!