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.

USB on-the-go full-speed (OTG_FS) <strong>RM0090</strong><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: 1 location available<br />

10: 2 locations available<br />

bxn: n locations available (0 ≤ n ≤ 8)<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: 1 word available<br />

0010: 2 words available<br />

bxn: n words available (where 0 ≤ n ≤ PTXFD)<br />

Others: Reserved<br />

OTG_FS Host all channels interrupt register (OTG_FS_HAINT)<br />

Address offset: 0x414<br />

Reset value: 0x0000 000<br />

When a significant event occurs on a channel, the host all channels interrupt register<br />

interrupts the application using the host channels interrupt bit of the Core interrupt register<br />

(HCINT bit in OTG_FS_GINTSTS). This is shown in Figure 364. There is one interrupt bit<br />

per channel, up to a maximum of 16 bits. Bits in this register are set and cleared when the<br />

application sets and clears bits in the corresponding host channel-x interrupt register.<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 />

Bits 31:16 Reserved, must be kept at reset value.<br />

Bits 15:0 HAINT: Channel interrupts<br />

One bit per channel: Bit 0 for Channel 0, bit 15 for Channel 15<br />

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

HAINT<br />

r r r r r r r r r r r r r r r r

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

Saved successfully!

Ooh no, something went wrong!