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

Bit 31 Reserved, must be kept at reset value.<br />

Bits 30:24 NPTXQTOP: Top of the non-periodic transmit request queue<br />

Entry in the non-periodic Tx request queue that is currently being processed by the MAC.<br />

Bits 30:27: Channel/endpoint number<br />

Bits 26:25:<br />

– 00: IN/OUT token<br />

– 01: Zero-length transmit packet (device IN/host OUT)<br />

– 11: Channel halt command<br />

Bit 24: Terminate (last entry for selected channel/endpoint)<br />

Bits 23:16 NPTQXSAV: Non-periodic transmit request queue space available<br />

Indicates the amount of free space available in the non-periodic transmit request queue.<br />

This queue holds both IN and OUT requests in host mode. Device mode has only IN<br />

requests.<br />

00: Non-periodic transmit request queue is full<br />

01: 1 location available<br />

10: 2 locations available<br />

bxn: n locations available (0 ≤ n ≤ 8)<br />

Others: Reserved<br />

Bits 15:0 NPTXFSAV: Non-periodic TxFIFO space available<br />

Indicates the amount of free space available in the non-periodic TxFIFO.<br />

Values are in terms of 32-bit words.<br />

00: Non-periodic TxFIFO is full<br />

01: 1 word available<br />

10: 2 words available<br />

0xn: n words available (where 0 ≤ n ≤ 256)<br />

Others: Reserved<br />

OTG_FS general core configuration register (OTG_FS_GCCFG)<br />

Address offset: 0x038<br />

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

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

NOVBUSSENS<br />

SOFOUTEN<br />

VBUSBSEN<br />

VBUSASEN<br />

Reserved<br />

.PWRDWN<br />

rw rw rw rw rw<br />

Reserved

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

Saved successfully!

Ooh no, something went wrong!