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.

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

OTG_FS device all endpoints interrupt register (OTG_FS_DAINT)<br />

Address offset: 0x818<br />

Reset value: 0x0000 0000<br />

When a significant event occurs on an endpoint, a OTG_FS_DAINT register interrupts the<br />

application using the Device OUT endpoints interrupt bit or Device IN endpoints interrupt bit<br />

of the OTG_FS_GINTSTS register (OEPINT or IEPINT in OTG_FS_GINTSTS,<br />

respectively). There is one interrupt bit per endpoint, up to a maximum of 16 bits for OUT<br />

endpoints and 16 bits for IN endpoints. For a bidirectional endpoint, the corresponding IN<br />

and OUT interrupt bits are used. Bits in this register are set and cleared when the<br />

application sets and clears bits in the corresponding Device Endpoint-x interrupt register<br />

(OTG_FS_DIEPINTx/OTG_FS_DOEPINTx).<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 />

OEPINT IEPINT<br />

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

Bits 31:16 OEPINT: OUT endpoint interrupt bits<br />

One bit per OUT endpoint:<br />

Bit 16 for OUT endpoint 0, bit 18 for OUT endpoint 3.<br />

Bits 15:0 IEPINT: IN endpoint interrupt bits<br />

One bit per IN endpoint:<br />

Bit 0 for IN endpoint 0, bit 3 for endpoint 3.<br />

Doc ID 018909 Rev 3 1084/1416

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

Saved successfully!

Ooh no, something went wrong!