RM0033 Rev 9 985/1381
RM0033 USB on-the-go full-speed (OTG_FS)
1097
Device-mode CSR map
These registers must be programmed every time the core changes to device mode.
OTG_FS_HPRT 0x440
OTG_FS Host port control and status register (OTG_FS_HPRT) on
page 1012
OTG_FS_HCCHARx
0x500
0x520
...
0x5E0
OTG_FS Host channel-x characteristics register (OTG_FS_HCCHARx)
(x = 0..7, where x = Channel_number) on page 1015
OTG_FS_HCINTx 0x508
OTG_FS Host channel-x interrupt register (OTG_FS_HCINTx) (x = 0..7,
where x = Channel_number) on page 1016
OTG_FS_HCINTMSKx 0x50C
OTG_FS Host channel-x interrupt mask register (OTG_FS_HCINTMSKx)
(x = 0..7, where x = Channel_number) on page 1017
OTG_FS_HCTSIZx 0x510
OTG_FS Host channel-x transfer size register (OTG_FS_HCTSIZx)
(x = 0..7, where x = Channel_number) on page 1018
Table 152. Host-mode control and status registers (CSRs) (continued)
Acronym
Offset
address
Register name
Table 153. Device-mode control and status registers
Acronym
Offset
address
Register name
OTG_FS_DCFG 0x800 OTG_FS device configuration register (OTG_FS_DCFG) on page 1019
OTG_FS_DCTL 0x804 OTG_FS device control register (OTG_FS_DCTL) on page 1020
OTG_FS_DSTS 0x808 OTG_FS device status register (OTG_FS_DSTS) on page 1021
OTG_FS_DIEPMSK 0x810
OTG_FS device IN endpoint common interrupt mask register
(OTG_FS_DIEPMSK) on page 1022
OTG_FS_DOEPMSK 0x814
OTG_FS device OUT endpoint common interrupt mask register
(OTG_FS_DOEPMSK) on page 1023
OTG_FS_DAINT 0x818
OTG_FS device all endpoints interrupt register (OTG_FS_DAINT) on
page 1024
OTG_FS_DAINTMSK 0x81C
OTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK) on
page 1025
OTG_FS_DVBUSDIS 0x828
OTG_FS device V
BUS
discharge time register (OTG_FS_DVBUSDIS) on
page 1025
OTG_FS_DVBUSPULSE 0x82C
OTG_FS device V
BUS
pulsing time register (OTG_FS_DVBUSPULSE)
on page 1025
OTG_FS_DIEPEMPMSK 0x834
OTG_FS device IN endpoint FIFO empty interrupt mask register:
(OTG_FS_DIEPEMPMSK) on page 1026
OTG_FS_DIEPCTL0 0x900
OTG_FS device control IN endpoint 0 control register
(OTG_FS_DIEPCTL0) on page 1026