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 />

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

Bits 30:24 NPTXQTOP: Top of the nonperiodic transmit request queue<br />

Entry in the nonperiodic 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 />

– 10: PING/CSPLIT token<br />

– 11: Channel halt command<br />

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

Bits 23:16 NPTQXSAV: Nonperiodic transmit request queue space available<br />

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

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

requests.<br />

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

01: dx1 location available<br />

10: dx2 locations available<br />

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

Others: Reserved<br />

Bits 15:0 NPTXFSAV: Nonperiodic TxFIFO space available<br />

Indicates the amount of free space available in the nonperiodic TxFIFO.<br />

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

00: Nonperiodic TxFIFO is full<br />

01: dx1 word available<br />

10: dx2 words available<br />

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

Others: Reserved<br />

OTG_HS I 2 C access register (OTG_HS_GI2CCTL)<br />

Address offset: 0x030<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 />

BSYDNE<br />

RW<br />

Reserved<br />

I2CDATSE0<br />

I2CDEV<br />

ADR Reserved ACK<br />

I2CEN<br />

ADDR REGADDR RWDATA<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<br />

Doc ID 018909 Rev 3 1200/1416

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

Saved successfully!

Ooh no, something went wrong!