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

OTG_HS Host all channels interrupt register (OTG_HS_HAINT)<br />

Address offset: 0x414<br />

Reset value: 0x0000 000<br />

When a significant event occurs on a channel, the host all channels interrupt register<br />

interrupts the application using the host channels interrupt bit of the Core interrupt register<br />

(HCINT bit in OTG_HS_GINTSTS). This is shown in Figure 382. There is one interrupt bit<br />

per channel, up to a maximum of 16 bits. Bits in this register are set and cleared when the<br />

application sets and clears bits in the corresponding host channel-x interrupt register.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

Bits 31:16 Reserved, must be kept at reset value.<br />

Bits 15:0 HAINT: Channel interrupts<br />

One bit per channel: Bit 0 for Channel 0, bit 15 for Channel 15<br />

OTG_HS host all channels interrupt mask register (OTG_HS_HAINTMSK)<br />

Address offset: 0x418<br />

Reset value: 0x0000 0000<br />

The host all channel interrupt mask register works with the host all channel interrupt register<br />

to interrupt the application when an event occurs on a channel. There is one interrupt mask<br />

bit per channel, up to a maximum of 16 bits.<br />

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

HAINT<br />

r r r r r r r r r r r r r r r r<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

Bits 31:16 Reserved, must be kept at reset value.<br />

Bits 15:0 HAINTM: Channel interrupt mask<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

One bit per channel: Bit 0 for channel 0, bit 15 for channel 15<br />

HAINTM<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw

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

Saved successfully!

Ooh no, something went wrong!