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 full-speed (OTG_FS)<br />

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

Acronym<br />

OTG_FS_HCCHARx<br />

0x500<br />

0x520<br />

...<br />

0x6E0h<br />

OTG_FS_HCINTx 508h<br />

OTG_FS_HCINTMSKx 50Ch<br />

OTG_FS_HCTSIZx 510h<br />

Offset<br />

address<br />

Device-mode CSR map<br />

OTG_FS Host channel-x characteristics register (OTG_FS_HCCHARx)<br />

(x = 0..7, where x = Channel_number) on page 1075<br />

OTG_FS Host channel-x interrupt register (OTG_FS_HCINTx) (x = 0..7,<br />

where x = Channel_number) on page 1076<br />

OTG_FS Host channel-x interrupt mask register (OTG_FS_HCINTMSKx)<br />

(x = 0..7, where x = Channel_number) on page 1077<br />

OTG_FS Host channel-x transfer size register (OTG_FS_HCTSIZx)<br />

(x = 0..7, where x = Channel_number) on page 1078<br />

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

Table 171. Device-mode control and status registers<br />

Acronym<br />

Offset<br />

address<br />

Register name<br />

Register name<br />

OTG_FS_DCFG 0x800 OTG_FS device configuration register (OTG_FS_DCFG) on page 1079<br />

OTG_FS_DCTL 0x804 OTG_FS device control register (OTG_FS_DCTL) on page 1080<br />

OTG_FS_DSTS 0x808 OTG_FS device status register (OTG_FS_DSTS) on page 1081<br />

OTG_FS_DIEPMSK 0x810<br />

OTG_FS_DOEPMSK 0x814<br />

OTG_FS_DAINT 0x818<br />

OTG_FS_DAINTMSK 0x81C<br />

OTG_FS_DVBUSDIS 0x828<br />

OTG_FS_DVBUSPULSE 0x82C<br />

OTG_FS_DIEPEMPMSK 0x834<br />

OTG_FS_DIEPCTL0 0x900<br />

OTG_FS device IN endpoint common interrupt mask register<br />

(OTG_FS_DIEPMSK) on page 1082<br />

OTG_FS device OUT endpoint common interrupt mask register<br />

(OTG_FS_DOEPMSK) on page 1083<br />

OTG_FS device all endpoints interrupt register (OTG_FS_DAINT) on<br />

page 1084<br />

OTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK)<br />

on page 1085<br />

OTG_FS device VBUS discharge time register (OTG_FS_DVBUSDIS)<br />

on page 1085<br />

OTG_FS device VBUS pulsing time register (OTG_FS_DVBUSPULSE)<br />

on page 1086<br />

OTG_FS device IN endpoint FIFO empty interrupt mask register:<br />

(OTG_FS_DIEPEMPMSK) on page 1086<br />

OTG_FS device control IN endpoint 0 control register<br />

(OTG_FS_DIEPCTL0) on page 1087<br />

Doc ID 018909 Rev 3 1044/1416

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

Saved successfully!

Ooh no, something went wrong!