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.

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

RM0008<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 <strong>and</strong> 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 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: dx1 word available<br />

0010: dx2 words available<br />

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

bx200: dx512 words available<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 268. There is one interrupt bit<br />

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

application sets <strong>and</strong> 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 />

HAINT<br />

Reserved<br />

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

Bits 31:16 Reserved<br />

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

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

746/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!