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 high-speed (OTG_HS)<br />

wide, and the addresses are 32-bit block aligned. The OTG_HS registers must be accessed<br />

by words (32 bits). CSRs are classified as follows:<br />

● Core global registers<br />

● Host-mode registers<br />

● Host global registers<br />

● Host port CSRs<br />

● Host channel-specific registers<br />

● Device-mode registers<br />

● Device global registers<br />

● Device endpoint-specific registers<br />

● Power and clock-gating registers<br />

● Data FIFO (DFIFO) access registers<br />

Only the Core global, Power and clock-gating, Data FIFO access, and host port control and<br />

status registers can be accessed in both host and peripheral modes. When the OTG_HS<br />

controller is operating in one mode, either peripheral or host, the application must not<br />

access registers from the other mode. If an illegal access occurs, a mode mismatch<br />

interrupt is generated and reflected in the Core interrupt register (MMIS bit in the<br />

OTG_HS_GINTSTS register). When the core switches from one mode to the other, the<br />

registers in the new mode of operation must be reprogrammed as they would be after a<br />

power-on reset.<br />

Doc ID 018909 Rev 3 1174/1416

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

Saved successfully!

Ooh no, something went wrong!