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

Figure 364. Interrupt hierarchy<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17:10 9 8 7:3 2 1 0<br />

Core interrupt<br />

register (1)<br />

Interrupt<br />

sources<br />

Device all endpoints<br />

interrupt register<br />

16:9<br />

OUT endpoints<br />

Device IN/OUT endpoint<br />

interrupt registers 0 to 3<br />

Host port control and status<br />

register<br />

Host all channels interrupt<br />

register<br />

Host channels interrupt<br />

registers 0 to 7<br />

3:0<br />

IN endpoints<br />

1. The core interrupt register bits are shown in OTG_FS core interrupt register (OTG_FS_GINTSTS) on<br />

page 1055.<br />

30.16 OTG_FS control and status registers<br />

OTG<br />

interrupt<br />

register<br />

Global interrupt<br />

mask (Bit 0)<br />

AHB configuration<br />

register<br />

AND<br />

By reading from and writing to the control and status registers (CSRs) through the AHB<br />

slave interface, the application controls the OTG_FS controller. These registers are 32 bits<br />

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

by words (32 bits).<br />

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

OR<br />

Core interrupt mask<br />

register<br />

Device all endpoints<br />

interrupt mask register<br />

Device IN/OUT<br />

endpoints common<br />

interrupt mask register<br />

Host all channels<br />

interrupt mask register<br />

Host channels interrupt<br />

mask registers 0 to 7<br />

Interrupt<br />

ai15616b

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

Saved successfully!

Ooh no, something went wrong!