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

Figure 382. 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 />

21:16 5:0<br />

OUT endpoints IN endpoints<br />

Device IN/OUT endpoint<br />

interrupt registers 0 to 5<br />

Host port control and status<br />

register<br />

Host all channels interrupt<br />

register<br />

Host channels interrupt<br />

registers 0 to 11<br />

OTG<br />

interrupt<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 11<br />

1. The core interrupt register bits are shown in OTG_HS core interrupt register (OTG_HS_GINTSTS) on page 1190.<br />

31.12 OTG_HS control and status registers<br />

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

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

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

OR<br />

AND<br />

Interrupt<br />

Global interrupt<br />

mask (Bit 0)<br />

AHB configuration<br />

register<br />

AND<br />

Core interrupt mask<br />

register<br />

Device each endpoint<br />

interrupt register<br />

31:16<br />

EP1OUT<br />

15:0<br />

EP1IN<br />

Device each IN/OUT endpoint<br />

interrupt mask register<br />

OR<br />

endp_multi_proc_intrpt<br />

endp_interrupt[31:0]<br />

Device each endpoint<br />

interrupt mask register<br />

ai16093b

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

Saved successfully!

Ooh no, something went wrong!