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.

RM0008<br />

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

OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXFx)<br />

(x = 1..4, where x is the FIFO_number)<br />

Address offset: 0x104 + (FIFO_number – 1) × 0x04<br />

Reset value: 0x02000400<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 />

INEPTXFD<br />

INEPTXSA<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

Bits 31:16 INEPTXFD: IN endpoint TxFIFO depth<br />

This value is in terms of 32-bit words.<br />

Minimum value is 16<br />

Maximum value is 512<br />

The power-on reset value of this register is specified as the largest IN endpoint FIFO number<br />

depth.<br />

Bits 15:0 INEPTXSA: IN endpoint FIFOx transmit RAM start address<br />

This field contains the memory start address for IN endpoint transmit FIFOx.<br />

26.14.3 Host-mode registers<br />

Bit values in the register descriptions are expressed in binary unless otherwise specified.<br />

Host-mode registers affect the operation of the core in the Host mode. Host mode registers<br />

must not be accessed in Device mode, as the results are undefined. Host Mode registers<br />

can be categorized as follows:<br />

OTG_FS host configuration register (OTG_FS_HCFG)<br />

Address offset: 0x400<br />

Reset value: 0x0000 0000<br />

This register configures the core after power-on. Do not make changes to this register after<br />

initializing the host.<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 />

FSLSS<br />

FSLSPCS<br />

r rw rw<br />

Bits 31:3 Reserved<br />

Bit 2 FSLSS: FS- <strong>and</strong> LS-only support<br />

The application uses this bit to control the core’s enumeration speed. Using this bit, the<br />

application can make the core enumerate as an FS host, even if the connected device<br />

supports HS traffic. Do not make changes to this field after initial programming.<br />

1: FS/LS-only, even if the connected device can support HS (read-only)<br />

Doc ID 13902 Rev 9 743/995

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

Saved successfully!

Ooh no, something went wrong!