29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

RM0008<br />

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

Bit 6 B2BSTUP: Back-to-back SETUP packets received mask<br />

Applies to control OUT endpoints only.<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

Bit 5 Reserved<br />

Bit 4 OTEPDM: OUT token received when endpoint disabled mask<br />

Applies to control OUT endpoints only.<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

Bit 3 STUPM: SETUP phase done mask<br />

Applies to control endpoints only.<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

Bit 2 Reserved<br />

Bit 1 EPDM: Endpoint disabled interrupt mask<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

Bit 0 XFRCM: Transfer completed interrupt mask<br />

0: Masked interrupt<br />

1: Unmasked interrupt<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 Device all endpoints interrupt register<br />

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

endpoints interrupt bit of the Core interrupt register (OEPINT or IEPINT in<br />

OTG_FS_GINTSTS, respectively). There is one interrupt bit per endpoint, up to a maximum<br />

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

corresponding IN <strong>and</strong> OUT interrupt bits are used. Bits in this register are set <strong>and</strong> cleared<br />

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

register (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<br />

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 31 for OUT endpoint 15<br />

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

One bit per IN endpoint:<br />

Bit 0 for IN endpoint 0, bit 15 for endpoint 15<br />

Doc ID 13902 Rev 9 759/995

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

Saved successfully!

Ooh no, something went wrong!