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

Table 176. Core global control and status registers (CSRs) (continued)<br />

Acronym<br />

OTG_HS_GINTSTS 0x014 OTG_HS core interrupt register (OTG_HS_GINTSTS) on page 1190<br />

OTG_HS_GINTMSK 0x018 OTG_HS interrupt mask register (OTG_HS_GINTMSK) on page 1194<br />

OTG_HS_GRXSTSR 0x01C<br />

OTG_HS_GRXSTSP 0x020<br />

Host-mode CSR map<br />

OTG_HS Receive status debug read/OTG status read and pop registers<br />

(OTG_HS_GRXSTSR/OTG_HS_GRXSTSP) on page 1197<br />

OTG_HS_GRXFSIZ 0x024 OTG_HS Receive FIFO size register (OTG_HS_GRXFSIZ) on page 1198<br />

OTG_HS_GNPTXFSIZ/<br />

OTG_HS_TX0FSIZ<br />

0x028<br />

OTG_HS_GNPTXSTS 0x02C<br />

OTG_HS_GCCFG 0x038<br />

OTG_HS nonperiodic transmit FIFO size/Endpoint 0 transmit FIFO size<br />

register (OTG_HS_GNPTXFSIZ/OTG_HS_TX0FSIZ) on page 1199<br />

OTG_HS nonperiodic transmit FIFO/queue status register<br />

(OTG_HS_GNPTXSTS) on page 1199<br />

OTG_HS general core configuration register (OTG_HS_GCCFG) on<br />

page 1202<br />

OTG_HS_CID 0x03C OTG_HS core ID register (OTG_HS_CID) on page 1203<br />

OTG_HS_HPTXFSIZ 0x100<br />

OTG_HS_DIEPTXFx<br />

Address<br />

offset<br />

0x104<br />

0x124<br />

...<br />

0x13C<br />

OTG_HS Host periodic transmit FIFO size register (OTG_HS_HPTXFSIZ) on<br />

page 1203<br />

OTG_HS device IN endpoint transmit FIFO size register<br />

(OTG_HS_DIEPTXFx) (x = 1..7, where x is the FIFO_number) on page 1203<br />

These registers must be programmed every time the core changes to host mode.<br />

Table 177. Host-mode control and status registers (CSRs)<br />

Acronym<br />

Offset<br />

address<br />

Register name<br />

Register name<br />

OTG_HS_HCFG 0x400 OTG_HS host configuration register (OTG_HS_HCFG) on page 1204<br />

OTG_HS_HFIR 0x404 OTG_HS Host frame interval register (OTG_HS_HFIR) on page 1205<br />

OTG_HS_HFNUM 0x408<br />

OTG_HS_HPTXSTS 0x410<br />

OTG_HS_HAINT 0x414<br />

OTG_HS_HAINTMSK 0x418<br />

OTG_HS host frame number/frame time remaining register<br />

(OTG_HS_HFNUM) on page 1205<br />

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

(OTG_HS_HPTXSTS) on page 1206<br />

OTG_HS Host all channels interrupt register (OTG_HS_HAINT) on<br />

page 1207<br />

OTG_HS host all channels interrupt mask register (OTG_HS_HAINTMSK)<br />

on page 1207<br />

Doc ID 018909 Rev 3 1176/1416

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

Saved successfully!

Ooh no, something went wrong!