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

Bits 21:20 MC: Multi Count (MC) / Error Count (EC)<br />

– When the split enable bit (SPLITEN) in the host channel-x split control register<br />

(OTG_HS_HCSPLTx) is reset (0), this field indicates to the host the number of transactions<br />

that must be executed per micro-frame for this periodic endpoint. For nonperiodic transfers,<br />

this field specifies the number of packets to be fetched for this channel before the internal<br />

DMA engine changes arbitration.<br />

00: Reserved This field yields undefined results<br />

01: 1 transaction<br />

b10: 2 transactions to be issued for this endpoint per micro-frame<br />

11: 3 transactions to be issued for this endpoint per micro-frame.<br />

– When the SPLITEN bit is set (1) in OTG_HS_HCSPLTx, this field indicates the number of<br />

immediate retries to be performed for a periodic split transaction on transaction errors. This<br />

field must be set to at least 01.<br />

Bits 19:18 EPTYP: Endpoint type<br />

Indicates the transfer type selected.<br />

00: Control<br />

01: Isochronous<br />

10: Bulk<br />

11: Interrupt<br />

Bit 17 LSDEV: Low-speed device<br />

This field is set by the application to indicate that this channel is communicating to a lowspeed<br />

device.<br />

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

Bit 15 EPDIR: Endpoint direction<br />

Indicates whether the transaction is IN or OUT.<br />

0: OUT<br />

1: IN<br />

Bits 14:11 EPNUM: Endpoint number<br />

Indicates the endpoint number on the device serving as the data source or sink.<br />

Bits 10:0 MPSIZ: Maximum packet size<br />

Indicates the maximum packet size of the associated endpoint.<br />

1211/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!