![NXP Semiconductors LCP43 Series User Manual Download Page 512](http://html1.mh-extra.com/html/nxp-semiconductors/lcp43-series/lcp43-series_user-manual_1721817512.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
512 of 1269
NXP Semiconductors
UM10503
Chapter 23: LPC43xx USB0 Host/Device/OTG controller
23.6.3 USB Command register (USBCMD)
The host/device controller executes the command indicated in this register.
23.6.3.1 Device mode
Table 398. DCCPARAMS (address 0x4000 6124)
Bit
Symbol
Description
Reset value Access
4:0
DEN
Device Endpoint Number.
0x4
RO
6:5
-
These bits are reserved and should be set to zero.
-
-
7
DC
Device Capable.
0x1
RO
8
HC
Host Capable.
0x1
RO
31:9
-
These bits are reserved and should be set to zero.
-
-
Table 399. USB Command register in device mode (USBCMD_D - address 0x4000 6140) bit description
Bit
Symbol
Value
Description
Access
Reset
value
0
RS
Run/Stop
R/W
0
0
Writing a 0 to this bit will cause a detach event.
1
Writing a one to this bit will cause the device controller to enable a pull-up
on USB_DP and initiate an attach event. This control bit is not directly
connected to the pull-up enable, as the pull-up will become disabled upon
transitioning into high-speed mode. Software should use this bit to prevent
an attach event before the device controller has been properly initialized.
1
RST
Controller reset.
Software uses this bit to reset the controller. This bit is set to zero by the
host/device Controller when the reset process is complete. Software
cannot terminate the reset process early by writing a zero to this register.
R/W
0
0
Set to 0 by hardware when the reset process is complete.
1
When software writes a one to this bit, the device controller resets its
internal pipelines, timers, counters, state machines etc. to their initial
values. Writing a one to this bit when the device is in the attached state is
not recommended, since the effect on an attached host is undefined. In
order to ensure that the device is not in an attached state before initiating a
device controller reset, all primed endpoints should be flushed and the
USBCMD Run/Stop bit should be set to 0.
3:2
-
-
Not used in device mode.
-
0
4
-
-
Not used in device mode.
-
0
5
-
-
Not used in device mode.
-
0
6
-
-
Not used in device mode. Writing a one to this bit when the device mode is
selected, will have undefined results.
-
-
7
-
-
Reserved. These bits should be set to 0.
-
-
9:8
-
-
Not used in Device mode.
-
-
10
-
Reserved.These bits should be set to 0.
-
0
11
-
-
Not used in Device mode.
-
12
-
Reserved.These bits should be set to 0.
-
0