29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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

RM0008<br />

Table 182.<br />

Acronym<br />

Host-mode control <strong>and</strong> status registers (CSRs) (continued)<br />

Offset<br />

address<br />

Register name<br />

OTG_FS_HCCHARx<br />

OTG_FS_HCINTx<br />

OTG_FS_HCINTMSKx<br />

OTG_FS_HCTSIZx<br />

0x500<br />

0x520<br />

...<br />

0x6E0h<br />

508h<br />

50Ch<br />

510h<br />

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

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

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

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

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

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

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

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

Device-mode CSR map<br />

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

Table 183.<br />

Acronym<br />

Device-mode control <strong>and</strong> status registers<br />

Offset<br />

address<br />

Register name<br />

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

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

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

OTG_FS_DIEPMSK<br />

OTG_FS_DOEPMSK<br />

OTG_FS_DAINT<br />

OTG_FS_DAINTMSK<br />

OTG_FS_DVBUSDIS<br />

OTG_FS_DVBUSPULSE<br />

OTG_FS_DIEPEMPMSK<br />

OTG_FS_DIEPCTL0<br />

0x810<br />

0x814<br />

0x818<br />

0x81C<br />

0x828<br />

0x82C<br />

0x834<br />

0x900<br />

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

(OTG_FS_DIEPMSK) on page 758<br />

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

(OTG_FS_DOEPMSK) on page 759<br />

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

page 760<br />

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

on page 761<br />

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

on page 761<br />

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

on page 762<br />

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

(OTG_FS_DIEPEMPMSK) on page 762<br />

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

(OTG_FS_DIEPCTL0) on page 763<br />

720/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!