![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 677](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827677.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
677 of 1441
NXP Semiconductors
UM10503
Chapter 25: LPC43xx/LPC43Sxx USB0 Host/Device/OTG controller
25.6.17 USB Mode register (USBMODE)
The USBMODE register sets the USB mode for the OTG controller. The possible modes
are Device, Host, and Idle mode for OTG operations.
25.6.17.1 Device mode
29
MS1E
1 millisecond timer interrupt enable
Setting this bit enables the 1 millisecond timer interrupt. Writing a 0
disables the interrupt.
0
R/W
30
DPIE
Data pulse interrupt enable
Setting this bit enables the data pulse interrupt. Writing a 0 disables the
interrupt
0
R/W
31
-
-
Reserved
0
-
Table 492. OTG Status and Control register (OTGSC - address 0x4000 61A4) bit description
…continued
Bit
Symbol
Value
Description
Reset
value
Access
Table 493. USB Mode register in device mode (USBMODE_D - address 0x4000 61A8) bit description
Bit
Symbol Value
Description
Reset
value
Access
1:0
CM1_0
Controller mode
The controller defaults to an idle state and needs to be initialized to the
desired operating mode after reset. This register can only be written once
after reset. If it is necessary to switch modes, software must reset the
controller by writing to the RESET bit in the USBCMD register before
reprogramming this register.
00
R/ WO
0x0
Idle
0x1
Reserved
0x2
Device controller
0x3
Host controller
2
ES
Endian select
This bit can change the byte ordering of the transfer buffers to match the
host microprocessor bus architecture. The bit fields in the microprocessor
interface and the DMA data structures (including the setup buffer within the
device QH) are unaffected by the value of this bit, because they are based
upon 32-bit words.
0
R/W
0
Little endian: first byte referenced in least significant byte of 32-bit word.
1
Big endian: first byte referenced in most significant byte of 32-bit word.
3
SLOM
Setup Lockout mode
In device mode, this bit controls behavior of the setup lock mechanism. See
.
0
R/W
0
Setup Lockouts on
1
Setup Lockouts Off (DCD requires the use of Setup Buffer Tripwire in
USBCMD)