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 high-speed (OTG_HS)<br />

OTG_HS_Host periodic transmit FIFO/queue status register<br />

(OTG_HS_HPTXSTS)<br />

Address offset: 0x410<br />

Reset value: 0x0008 0100<br />

This read-only register contains the free space information for the periodic TxFIFO and the<br />

periodic transmit request queue.<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 />

PTXQTOP PTXQSAV PTXFSAVL<br />

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

Bits 31:24 PTXQTOP: Top of the periodic transmit request queue<br />

This indicates the entry in the periodic Tx request queue that is currently being processed by<br />

the MAC.<br />

This register is used for debugging.<br />

Bit [31]: Odd/Even frame<br />

– 0: send in even (micro) frame<br />

– 1: send in odd (micro) frame<br />

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

Bits [26:25]: Type<br />

– 00: IN/OUT<br />

– 01: Zero-length packet<br />

– 11: Disable channel command<br />

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

Bits 23:16 PTXQSAV: Periodic transmit request queue space available<br />

Indicates the number of free locations available to be written in the periodic transmit request<br />

queue. This queue holds both IN and OUT requests.<br />

00: Periodic transmit request queue is full<br />

01: dx1 location available<br />

10: dx2 locations available<br />

bxn: dxn locations available (0 ≤ dxn ≤ PTXFD)<br />

Others: Reserved<br />

Bits 15:0 PTXFSAVL: Periodic transmit data FIFO space available<br />

Indicates the number of free locations available to be written to in the periodic TxFIFO.<br />

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

0000: Periodic TxFIFO is full<br />

0001: dx1 word available<br />

0010: dx2 words available<br />

bxn: dxn words available (where 0 ≤ dxn ≤ dx512)<br />

Others: Reserved<br />

Doc ID 018909 Rev 3 1206/1416

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

Saved successfully!

Ooh no, something went wrong!