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.

USB on-the-go high-speed (OTG_HS) <strong>RM0090</strong><br />

Table 178. Device-mode control and status registers (continued)<br />

Acronym<br />

OTG_HS_DOEPINTx 0xB08<br />

OTG_HS_DOEPTSIZx 0xB10<br />

Offset<br />

address<br />

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

These registers, available in both host and peripheral modes, are used to read or write the<br />

FIFO space for a specific endpoint or a channel, in a given direction. If a host channel is of<br />

type IN, the FIFO can only be read on the channel. Similarly, if a host channel is of type<br />

OUT, the FIFO can only be written on the channel.<br />

Table 179. 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<br />

peripheral modes.<br />

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

Register name<br />

OTG_HS device endpoint-x interrupt register<br />

(OTG_HS_DIEPINTx) (x = 0..7, where x = Endpoint_number) on<br />

page 1236<br />

OTG_HS device endpoint-x transfer size register<br />

(OTG_HS_DOEPTSIZx) (x = 1..5, where x = Endpoint_number)<br />

on page 1242<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 />

... ... ...<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 5 in peripheral mode and 11 in host mode.<br />

Table 180. Power and clock gating control and status registers<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

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

Saved successfully!

Ooh no, something went wrong!