09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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 device modes. When the OTG_FS<br />

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

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

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

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

of operation must be reprogrammed as they would be after a power-on reset.<br />

30.16.1 CSR memory map<br />

The host and device mode registers occupy different addresses. All registers are<br />

implemented in the AHB clock domain.<br />

1041/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!