29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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 full-speed (OTG_FS)<br />

RM0008<br />

OTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK)<br />

Address offset: 0x81C<br />

Reset value: 0x0000 0000<br />

The Device endpoint interrupt mask register works with the Device endpoint interrupt<br />

register to interrupt the application when an event occurs on a device endpoint. However,<br />

the Device all endpoints interrupt (OTG_FS_DAINT) register bit corresponding to that<br />

interrupt is still set.<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 />

OEPM<br />

IEPM<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:16 OEPM: OUT EP interrupt mask bits<br />

One per OUT endpoint:<br />

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

0: Masked interrupt<br />

1: Unmasked interrupt<br />

Bits 15:0 IEPM: IN EP interrupt mask bits<br />

One bit per IN endpoint:<br />

Bit 0 for IN EP 0, bit 3 for IN EP 3<br />

0: Masked interrupt<br />

1: Unmasked interrupt<br />

OTG_FS device V BUS discharge time register (OTG_FS_DVBUSDIS)<br />

Address offset: 0x0828<br />

Reset value: 0x0000 17D7<br />

This register specifies the V BUS discharge time after V BUS pulsing during SRP.<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 />

VBUSDT<br />

Reserved<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:16 Reserved<br />

Bits 15:0 VBUSDT: Device V BUS discharge time<br />

Specifies the V BUS discharge time after V BUS pulsing during SRP. This value equals:<br />

V BUS discharge time in PHY clocks / 1 024<br />

Depending on your V BUS load, this value may need adjusting.<br />

760/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!